This note is how I increased the root partition of Xen Guest virtual machine. I don't guarantee that this will work for you.
1. Login to your VM guest and verify disk usage:
# df -h
Filesystem Size Used Avail Use% Mounted onAdd a comment
/dev/xvda1 2.0G 600M 1.3G 32% /
tmpfs
Read more: How To Increase Xen Disk Image Of Virtual Machine Guest (DomU)
I have a busy website with large MySQL database (21GB). This notes will show how to dump the database without affecting the load of the sever.
# mysqldump -u root -p --single-transaction --quick DATABASENAME > DATABASENAME.sql
Options:
--single-transactionAdd a comment
Read more: How To Backup Large Live MySQL Database Without Affecting The CPU Load
In Ubuntu Server (10.04 to 12.04 I think), if a power failure happens (for any reasons) and suddenly shutdown the server, GRUB stays on the menu waiting for somebody to press Enter on the console.
This is a pain if the server is headless and no keyboard. This article will show you how to fix
Read more: How To Fix GRUB Stuck/Hanging On Menu After Power Failure
This tutorial will sync the content (as a sample) of /usr/share/nginx/html between two CentOS servers.
Note: Unison version should be the same on both servers or else it won't work.
1. Install rpmforge repo (install the correct architecture):
# rpm -UvhAdd a comment
Read more: Two-way Synchronization Between Two Servers Using Unison
If you appreciate what I'm doing, please consider buying me a beer. Thanks! :D