MySQL partition is full

Saturday, September 5th, 2009

MySQL databases are located on /var/lib/mysql, if you create a partition for /var and and big enough to hold your databases MySQL will stop working because not enough space to put the data. Below is the easy way to fix it:
(more…)

SocialTwist Tell-a-Friend

Add Swap on Linux

Tuesday, June 23rd, 2009

From: FelipeCruz

To add swap partition use command

# mkswap /dev/hdb2
# swapon /dev/hdb2
# vi /etc/fstab
# /dev/hdb2   swap   swap   defaults   0 0

With assuming you already create /dev/hdb2 partition before using fdisk and chose swap filesystem.

(more…)

SocialTwist Tell-a-Friend