ipfw nat on FreeBSD 7

In the kernel configuration add: options IPFIREWALL # firewall options IPFIREWALL_VERBOSE # enable logging to syslogd (8) options IPFIREWALL_DEFAULT_TO_ACCEPT # allow everything by default options IPDIVERT options IPFIREWALL_FORWARD
Read More

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 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