When a hard drive starts to fail, you have a limited amount of time to take action, and many online tutorials recommend making a clone of the affected disk before it becomes completely unresponsive. At Datarecovery.com, we recommend contacting a
How to enable KVM virsh console access
Requirements The virtual machine must have the pty configured. From the KVM server edit the domain and make sure there is this section: From KVM Server sudo virsh edit virtual-machine <serial type=’pty’> <source path=’/dev/pts/0’/> <target type=’isa-serial’ port=’0′> <model name=’isa-serial’/> </target>
Netplan configuration examples
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