This section is obsolete.
When the machine boots for the first time, run:
dpkg-reconfigure debconf # (choose interface: Dialog, priority: Low). apt-get install less sudo vim emacs23-nox etckeeper changetrack lm-sensors openssh-server debsums logcheck bzip2 denyhosts rkhunter
Verify that disks performance is as expected using sync; sync; hdparm -tT /dev/sdX.
Activate etckeeper as documented on EtcKeeper.
Edit /etc/default/changetrack and set AUTO_TRACK_ALL_CONFFILES=yes.
Edit /etc/tripwire/twcfg.txt and set MAILNOVIOLATIONS =false. Initialize the database with tripwire --init. (If tripwire is installed)
Edit /etc/aliases and set "root" alias to "logs@hcoop.net", and possibly other addresses, separated by commas. (logs@ is an aliasMulti, defined in ~hcoop/.domtool/hcoop.net and lists people who want to receive verbose system logs).
Run sensors-detect to see if the kernel has appropriate thermal modules for the server, and add any drivers detected to /etc/modules.
For all ext partitions, run tune2fs -j -c0 -i0 /dev/sdXX (and /dev/mdX for RAID arrays).
Tune the /etc/apt/sources.list
This section is obsolete.
cat > /etc/apt/sources.list <<\EOF deb http://mirror.peer1.net/debian/ squeeze main deb-src http://mirror.peer1.net/debian/ squeeze main deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main # backports are fairly useful and not installed by default deb http://backports.debian.org/debian-backports squeeze-backports main deb-src http://backports.debian.org/debian-backports squeeze-backports main EOF apt-get update apt-get dist-upgrade