Overwhelmingly Geek™

Bits, bytes and signal noise from Shaon Diwakar

Trimming the fat on Debian 4.0

leave a comment »

I like debian. Here’s how to remove the excess on a “standard system” install.

Set a static IP in /etc/network/interfaces, then:
# /etc/init.d/networking restart
# apt-get install sysv-rc-conf
# sysv-rc-conf
> remove exim4, portmap and nfs-common if they are not required
# apt-get remove dhcp3-client
# nano /etc/inetd.conf (comment out the line with ident on it)
# reboot

You should now do a netstat -l to see what else is listening and then shut those services off as well.

Oh and one last thing – revision control!!!! Set up a RCS repository for all your configuration files (remember these need to be secured to be visible only by root). This might be discussion for another day ;-)


Written by Shaon Diwakar

July 12, 2008 at 11:35 pm

Leave a Reply