swap | |
/ | relatime,defaults |
/boot | relatime,nodev,nosuid,noexec,nouser,ro |
/home | relatime,nodev,nosuid,noexec,nouser,async |
/tmp | relatime,nodev,nosuid,noexec,nouser,async,noatime,nolog |
/var | relatime,nodev,nosuid,noexec,nouser,async |
/var/log | relatime,nodev,nosuid,noexec,nouser,async,noatime |
On typical web server the /var partition is the bigest, and the /home
partition is also big enought for backups. For partition types I suggest
the reiserfs.
apt-get updateapt-get upgrademcbuild-essential (this is only needed when you want to compile some program eg. DNS cache)apt-filevimlinksngrepbash-staticgeoip-binsyslog-ngpostfixchkrootkitrkhuntershorewallshorewall-docapparmor-profilespppdhcp3-client