Below are a collection of example netplan configurations for common scenarios. If you see a scenario missing or have one to contribute, please file a bug against this documentation with the example using the links at the bottom of this
KVM: Start a Virtual Machine / Guest At Boot Time
There are various ways to start virtual machines at at boot time. This means you don’t have to type virsh start vmName command. This can be done by marking a vm as autostart. To configure a domain to be automatically
How To Set or Change Timezone in Ubuntu Linux
Using the correct timezone is essential for many systems related tasks and processes. For example, the CRON daemon uses the system’s timezone for executing CRON jobs, and the timestamps in the log files are based on the same system’s timezone.
Ubuntu Linux: How do I configure swappiness?
The Linux kernel provides a tweakable setting that controls how often the swap file is used, called swappiness. A swappiness setting of zero means that the disk will be avoided unless absolutely necessary (you run out of memory), while a
Increase swap space in Ubuntu Linux
In sleep mode, the content of ram is kept as it is, and the computer works on a very low power mode, so as to keep the ram content intact (as ram will lose the data if power supply is
Configure an Apache2 webserver
Enable mod_rewrite You can enable any Apache module using the a2enmod command. So run the command below on your Ubuntu server: In case the module is already enabled on your server, you will get an alert message. You must restart
Linux: How to send mail from the command line?
Most of the time you shouldn’t need to configure an SMTP server you can simply use mail from the commandline (if it’s not already present, install with sudo apt-get install mailutils). (Or if you’re on a server where sendmail is
How to extend root filesystem using LVM on Linux
Welcome to our guide on how to extend root filesystem using LVM on Linux. This will cover both ext4 and XFS filesystem root partition extending. To demonstrate a complete LVM lifecycle, we will perform the following actions: Create an LVM
How To extend/increase KVM Virtual Machine (VM) disk size
Sometimes I need to extend or add disk space to my running VM (guest) to satisfy growing software requirements. KVM uses QEMU which supports several image types, among them raw, cow, qcow, qcow2, vmdk, vdi among others available. The “native”
How to install Arial font (and other Windows fonts) in ubuntu?
Simply run in a terminal: After that, check with: