Outils pour utilisateurs

Outils du site


issue135:q._et_r

Hello FCM readers. When Ronnie asked me if I would take over the Q&A, I thought: “sure, we’ve got TONS of questions and answers [in my work database]”. Then I looked in the database. Technicians are strange creatures to say the least. Writing what you did a day after the fact can make you forget what you did. This is when their creative juices start flowing. I will start off with some humorous ones, before we get to the serious stuff. Q: Whenever I put in my password into Ubuntu, it usually fails and I am sure I am typing it correctly. It takes me several tries every time. A: Customer is in hospital after accident and has his laptop on his chest. When his right arm reaches over to type on the left side of the keyboard, to type 123, his forearm brushes the Enter key on the numeric keypad. Q: The new Ubuntu 18.04 dock does not minimize or maximize my window. A: The “dock” is actually a favourites bar. You can remove it by: 1. Installing gnome tweaks. 2. Installing the dash to dock extension from https://extensions.gnome.org/extension/307/dash-to-dock/

Bonjour aux lecteurs du FCM. Quand Ronnie m'a demandé si je reprendrais la rubrique Q. ET R., j'ai pensé : « Aucun problème ; il y a une TONNE de questions et de réponses [dans la base de données de mon travail]. » Puis j'ai regardé la base de données. Les techniciens sont, pour le moins, des êtres bizarres. Écrire ce que vous avez fait le lendemain peut vous faire oublier ce que vous avez fait. Et c'est alors que le robinet de la créativité commence à s'ouvrir. Je vais commencer avec des trucs marrants avant de passer aux choses sérieuses.

Q. : Chaque fois que j'entre mon mot de passe dans Ubuntu, c'est généralement un échec et je suis certain que je le saisis correctement. Je dois faire plusieurs essais chaque fois.

R. : Le client est à l'hôpital après un accident et son ordinateur portable repose sur sa poitrine. Quand son bras droit va vers le côté gauche du clavier pour taper 123, son avant-bras frôle la touche Entrée sur le pavé numérique.

Q. : Le dock de la nouvelle Ubuntu 18.04 refuse de minimiser ou de maximiser ma fenêtre.

R. : Le « dock » est en fait une barre de favoris. Vous pouvez l'enlever en :

1. Installant Gnome Tweaks.

2. Installant l'extension dash to dock disponible à https://extensions.gnome.org/extension/307/dash-to-dock/

3. Under extensions, turn off Ubuntu dock. 4. use ctrl+alt+t to open a terminal and type: sudo apt install docky or: sudo apt install plank Q: I don't like the Ubuntu 18.04 look, how can I enable fallback like on previous versions. A: Open a terminal and type: sudo apt update sudo apt install gnome-session-flashback When you log in, click the gear icon next to “sign in” and select “GnomeFlashback” before clicking sign in.

3. Sous extensions, désactiver Ubuntu dock.

4. Utilisez ctrl+alt+t pour ouvrir un terminal et tapez : sudo apt install docky ou : sudo apt install plank

Q. Je n'aime pas l'apparence d'Ubuntu 18.04. Comment activer le retour en arrière comme avec les versions précédentes ?

R.Ouvrez un terminal et tapez :

sudo apt update

sudo apt install gnome-session-flashback

Quand vous vous connectez, cliquez sur l'icône de l'engrenage à côté de « se connecter » et sélectionnez « GnomeFlashback » avant de vous connecter.

Q: After installing DNScrypt in Ubuntu 18.04 and rebooting, I cannot access the internet. A: Manually, set your DNS by opening the settings application, WiFi, and click the gear icon next to your network name. Click on IP4 and turn OFF automatic DNS. Insert a DNS server in the provided space. Now click apply. it should work immediately. Q: Gnome is not working for me. How can I get Unity back. A: Open your terminal and type: sudo apt install ubuntu-unity-desktop At the prompt, select lightdm Reboot Click the gear icon next to sign in, and select “Unity” before logging in.

Q. Après avoir installé DNScrypt sous Ubuntu 18.04 et redémarré, je n'arrive pas à accéder à l'Internet.

R. Réglez votre DNS manuellement en ouvrant l'application paramètres, WiFi, et en cliquant sur l'icône de l'engrenage à côté du nom de votre réseau. Cliquez sur IP4 et désactiver DNS automatique. Insérer un serveur de DNS dans la zone fournie. Maintenant, cliquez sur appliquer. Cela devrait fonctionner tout de suite.

Q. Gnome ne me plaît pas du tout. Comme récupérer Unity ?

R. Ouvrez un terminal et tapez :

sudo apt install ubuntu-unity-desktop

À l'invite, sélectionnez lightdm.

Redémarrez.

Cliquez sur l'icône d'un engrenage à côté de la zone de connexion et sélectionnez « Unity » avant de vous connecter.

Q: Any idea why, if I have XRDP installed on my Raspberry Pi, I just get a blank screen when I remote in from Win 10? A: This seems to be a common problem, with the forums suggesting one uses Tiger VNC. Using Real VNC, https://www.realvnc.com/en/connect/download/viewer/linux/ the VNC part works. Q: I have set up a new server, using an SSH key that I generated via PuTTyGen, and I created my server using the public key. When I try to connect using PuTTy, and including my private key, I get the error: Server refused key A: Copy and paste the key from PuTTyGen, do not use the contents of the public key file.

Q. Avez vous une idée pourquoi, si XRDP est installé sur mon Raspberry Pi, je n'ai qu'un écran vide quand je m'y connecte à partir de Win 10 ?

R. Cela semble être un problème fréquent, et les forums suggèrent que l'on utilise Tiger VNC. Avec Real VNC, https://www.realvnc.com/en/connect/download/viewer/linux/, la partie VNC fonctionne.

Q. J'ai configuré un nouveau serveur avec une clé SSH que j'ai générée via PuTTyGen et j'ai créé le serveur en utilisant la clé publique. Lorsque j'essaie de me connecter avec PuTTy et en utilisant ma clé privée, j'ai le message d'erreur :

Le serveur a refusé la clé

R. Faites un copier-coller de la clé venant de PuTTyGen, n'utilisez pas le contenu du fichier de la clé publique.

Featured questions at askubuntu. Q: Installing Ubuntu 18.04 dual booting with windows 10, connecting to the wireless is pretty slow. The wifi card is a Broadcom BCM4313 802.11bgn wireless network adapter. A: Under software and updates, select Additional drivers and install the proprietary Broadcom driver. https://askubuntu.com/questions/1001351/uuid-xxx-does-not-exist-dropping-to-a-shell Q: I have an Elementary OS installation on a Dell Optiplex 790. When I move it to my new Dell Optiplex 990, I get ALERT! UUID=dd53f4a2-d5af-87c8-9b3e-eb074a7849fbf does not exist. Dropping to a shell. A: BIOS setup is very important. UEFI and Legacy boot is not compatible. Dell Bios is in “Raid on” by default. Q: I can't find any documentation on installing and configuring codeigniter on ubuntu 16.04. Any help would be appreciated. A: Please see: https://www.linuxhelp.com/how-to-install-codeigniter-in-ubuntu/

Questions les plus populaires sur askubuntu

Q. Ayant installé Ubuntu 18.04 en double amorçage avec Windows 10, se connecter au WiFi est très lent. La carte WiFi est un adaptateur réseau Broadcom BCM4313 802.11bgn.

R. Sous logiciels et mises à jour, sélectionnez Pilotes additionnels et installez le pilote propriétaire de Broadcom.

Q. Elementary OS est installé sur mon Dell Optiplex 790. Quand je le mets sur mon nouveau Dell Optiplex 990, j'ai ALERT ! UUID=dd53f4a2-d5af-87c8-9b3e-eb074a7849fbf does not exist (n'existe pas). Dropping to a shell. (Une interface en ligne de commande va ouvrir.)

R. Le paramétrage du BIOS est très important. L'UEFI et l'ancien forme de démarrage ne sont pas compatibles. Par défaut, le BIOS de Dell est en « Raid on ». https://askubuntu.com/questions/1001351/uuid-xxx-does-not-exist-dropping-to-a-shell

Q. Je ne trouve aucune documentation sur l'installation et la configuration de codeigniter sous Ubuntu 16.04. Merci beaucoup pour votre aide.

R. Veuillez regarder : https://www.linuxhelp.com/how-to-install-codeigniter-in-ubuntu/

Q: How to make sftp user not have access to hidden files? A: Use chown and chmod just like with any other file. Q: I’ve been having problems all day, with sites going down. I am using PUTTY on Windows to access the server. To update I use: sudo apt-get update && sudo apt-get dist-upgrade Seems to work. Could someone tell me what's next? I think I need to reboot the server or apache but it keeps not working. Putty keeps dumping me out and/or the sites are still down. A: After doing an upgrade that installs a new kernel version, a reboot is required for the new kernel to be loaded. You can do this from PuTTY with: sudo reboot Once rebooted, if your sites are not up, you can try manually starting Apache with: sudo service apache2 start If the service fails to start, check the Apache error log file in /var/log/apache2/error.log where details of any errors encountered when will be recorded.

Q. Comment faire en sorte qu'un utilisateur sftp ne puisse pas accéder aux fichiers cachés ?

R. Utilisez chown et chmod comme avec n'importe quel autre fichier.

Q. Toute la journée, j'ai eu des problèmes, car des sites tombent en panne. J'utilise PUTTY sur Windows pour accéder au serveur.

Pour faire une mise à jour, j'utilise : sudo apt-get update && sudo apt-get dist-upgrade

Cela semble fonctionner. [Ndt : la dernière partie de la commande ferait en fait une montée en version et pas une simple mise à jour.]

Quelqu'un pourrait-il m'indiquer ce qu'il faut faire ensuite ?

Je pense qu'il faut redémarrer le serveur ou Apache, mais cela ne marche toujours pas. Putty ne cesse de me laisser tomber et/ou les sites sont toujours en panne.

R. Après avoir fait une mise à niveau qui installe une nouvelle version du noyau, vous devez redémarrer pour que le nouveau noyau soit chargé. Vous pouvez le faire à partir de PuTTY avec :

sudo reboot

Une fois le redémarrage fait, si vos sites sont toujours en panne, vous pouvez essayer de démarrer Apache manuellement avec :

sudo service apache2 start

Si le service ne démarre pas, vérifiez le fichier du journal d'erreurs d'Apache dans /var/log/apache2/error.log où les détails de toutes les erreurs rencontrées seront enregistrées.

Q: Trying to set up Nginx in Ubuntu 16.04 from tutorial, everything is fine but running the command: sudo ufw status gives inactive. What is wrong? A: Try typing: sudo ufw enable Q: I would like to know the steps to install Mariadb, Please don't say ‘use mySQL’. A: Type: sudo apt install mariadb-server Q: Can anybody explain how do I check web request logs on Ubuntu server with wordpress running on Apache? A: error log files can be found at: /var/log/apache2/access.log and /var/log/apache2/error.log with Apache

Q. J'essaie de configurer Nginx dans Ubuntu 16.04 à partir d'un tutoriel et tout va bien, mais quand je lance la commande : sudo ufw status le résultat est « inactive ».

Qu'est-ce qui ne va pas ?

R. Essayez avec : sudo ufw enable (activer)

Q. Pouvez-vous me dire comment installer Mariadb ? Pour l'amour du ciel ne me dites pas d'utiliser mySQL.

R. Tapez : sudo apt install mariadb-server

Q. Quelqu'un peut-il m'expliquer comment vérifier les journaux de demandes Web sur Ubuntu Server avec wordpress sur Apache ?

R. Avec Apache, les fichiers du journal d'erreurs se trouvent à /var/log/apache2/access.log et /var/log/apache2/error.log.

issue135/q._et_r.txt · Dernière modification : 2018/08/06 10:32 de d52fr