Author: lc-root

Swap Management

Get swap mcedit /proc/swaps swapon -s Gem all memory (swap, RAM) /proc/meminfo Show logical volums mcedit /etc/fstab Create Swap File Create swap file 1 GB dd if=/dev/zero of=/swapfile
Read More

[How To] Compile Kernel (CentOS 2.6.19)

Download Kernel from http://kernel.org Extract package tar xjf linux-2.6.19.tar.bz2 cd linux-2.6.19 Modify /etc/modprobe.conf to avoid error message mcedit /etc/modprobe.conf Comment mptscsi (if exists) alias eth0 pcnet32 alias scsi_hostadapter
Read More

Cron Manual

Files “username” user’s cron file location /var/spool/cron/{username} Root’s crontab file /var/spool/cron/root Configuration file for cron, /etc/crontab Cron service service crontd status service crontd start service crontd stop service
Read More