Home

How To Increase Xen Disk Image Of Virtual Machine Guest (DomU)

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 on
/dev/xvda1 2.0G 600M 1.3G 32% /
tmpfs
Add a comment

Read more: How To Increase Xen Disk Image Of Virtual Machine Guest (DomU)

How To Backup Large Live MySQL Database Without Affecting The CPU Load

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-transaction
Add a comment

Read more: How To Backup Large Live MySQL Database Without Affecting The CPU Load

How To Fix GRUB Stuck/Hanging On Menu After Power Failure

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

Add a comment

Read more: How To Fix GRUB Stuck/Hanging On Menu After Power Failure

Two-way Synchronization Between Two Servers Using Unison

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.

 

Server 1 & Server 2

1. Install rpmforge repo (install the correct architecture):

# rpm -Uvh
Add a comment

Read more: Two-way Synchronization Between Two Servers Using Unison

Language Translations

English Filipino French German Italian Portuguese Russian Spanish

If you appreciate what I'm doing, please consider buying me a beer. Thanks! :D

Amount: 

Statistics

Visitors
1
Articles
132
Web Links
6
Articles View Hits
187900