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”
Guide to Ballpoint Pen Refills
How to install Arial font (and other Windows fonts) in ubuntu?
Simply run in a terminal: After that, check with:
How can I reduce the file size of a scanned PDF file?
Use the following ghostscript command: Summary of -dPDFSETTINGS: -dPDFSETTINGS=/screen lower quality, smaller size. (72 dpi) -dPDFSETTINGS=/ebook for better quality, but slightly larger pdfs. (150 dpi) -dPDFSETTINGS=/prepress output similar to Acrobat Distiller “Prepress Optimized” setting (300 dpi) -dPDFSETTINGS=/printer selects output similar
Wildcard ‘*’ versus Exact Match ‘@’ DNS records
Ever wondered what the difference was between the ‘@’ symbol and the ‘*’ symbol when setting up a DNS Zone file for a domain name. In the past I have seen them used interchangeably with sometimes unexpected results. The difference