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% /
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
--single-transactionAdd a comment
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
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