Ceci est une ancienne révision du document !
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/
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.
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: 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.
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/
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: 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