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

hdd partition for cpanel server

Monday, February 9th, 2009

Simple Harddisk partition, assume only for vps and have or more 50GB of space

/boot    200MB
/tmp    2GB
/    20GB
/home    rest of partition

(more…)

SocialTwist Tell-a-Friend