In the spirit of Thomas Limoncelli's Time Management for System Administrators, this is my checklist for setting up a new Debian system. I have added a few notes to the original list to justify their existence and to provide some background information.

Whilst you should avoid performing repetitive interactive configuration and defer to the multitude of tools designed for this task, constructing and sharing a checklist can still be an instructive step. It can also be useful in situations where a machine has already been partly configured for you.

Software

Users

Mail relay

Email remains the primary method to asynchronously inform the system adminstrator that their attention is required.

It is assumed that the machine will not handle your day-to-day email (or indeed accept any external mail) but will instead simply forward it elsewhere. We also assume a preference for Exim, but the configuration for Postfix is almost identical.

The d-i manual has some further advice on this, including the use of "smarthosts".

Miscellaneous

§

Tags: GNU/Linux
Planets: ALUG UWCS WUGLUG Debian

§

Seven comments

  1. Great inspiration! Added to my own sysadmin notes.

    Kai

  2. why not using the group "sudo", which is already there in the default /etc/sudoers ?

    %sudo ALL=NOPASSWD: ALL

    David Paleino

    No reason, except my own blindness. I wonder; is that a lenny-ism? I don't see its introduction in the changelog.

    lamby

  3. checklists are nice, but having a Fully Automated Installation is better. Check fai: http://www.i....

    You can also use cfengine or puppet to ensure that all computers are set the way they must be.

    Natxo Asenjo

    Please re-read the second paragraph. Further comments that simply refer to such tools will not be shown.

    lamby

  4. Instead of configuring locales, I suggest using locales-all. Install once, purge locales, and no longer any problems of having some user wanting another locale generated.

    Bernhard R. Link

    Thanks. pusling pointed this out to me last night - another package I was not aware of.

    lamby

  5. New Debian/Linux user... the "Confirm security mirror is enabled"
    - security mirror is enabled by default in lenny, but
    - does squeeze have a security mirror?

    Cae

    Yes, see http://secure-testing-master.debian.net/. I would confirm whether it's being actively maintained so far away from a release before relying on it.

    lamby

  6. Why dont you use aptitude? iirc debian oficially only support dist-upgrades with aptitude, so there should be some reason to use it.

    Pete

    Habit combined with some problems I have with aptitude. Your assertion regarding support for dist-upgrade is false.

    lamby

  7. This is awesome, I also issue these commands on new servers I setup:

    echo "alias screen='TERM=screen screen'" >> /etc/bash.bashrc
    echo "username ALL=NOPASSWD:ALL" >> /etc/sudoers

    echo "set softtabstop=4" >> /etc/vim/vimrc
    echo "set shiftwidth=4" >> /etc/vim/vimrc
    echo "set tabstop=4" >> /etc/vim/vimrc
    echo "set expandtab" >> /etc/vim/vimrc
    echo "set noai" >> /etc/vim/vimrc
    echo "ForwardAgent yes" >> /etc/ssh/ssh_config

    The vim stuff is for sane tabbing, and screen alias is to get rid of that weird barking thing when I press delete.

    Albert Lash

    Hm. I fear modifying the system-wide vim and bash configurations is a bit anti-social.

    lamby

Reply

§