Site Overlay

Ubuntu 20.04+ Server Admin Cheat Sheet

The following is a collection of handy commands for the Ubuntu 20.04 server administration:

Changing network configuration

Most of the network configuration is stored in /etc/netplan/00-installer-config.yaml. In my configuration, the server is configured to a static IP address:

After editing the file, validate it with sudo netplan apply.

Solution comes from the official Ubuntu server documentation.

Changing tty keyboard layout

Changing your keyboard layout is a piece of cake: Just issue the command sudo dpkg-reconfigure keyboard-configuration.

Solution comes from askubuntu.com.