I want to talk about the first steps i do when i install a new clean debian lenny, well first thing i want to feel comfort that i can build anything i want therefore lets install some build essential package, but before lets edit our /etc/apt/sources.apt file, oups we need a vim with colors, but hell whats that creepy sound when i reach the start with delete. Ok ok, lets start from scratch.
List of packages that every lenny server should include for my opinion:
apt-get install vim build-essential fakeroot psmisc
now edit /etc/apt/sources.apt
change:
deb http://debian.co.il/debian/ lenny main
deb-src http://debian.co.il/debian/ lenny main
to:
deb http://debian.co.il/debian/ lenny main non-free
deb-src http://debian.co.il/debian/ lenny main non-free
now run:
apt-get update && apt-get upgrade
now:
apt-get install unrar
lets add some colors to vim now:
cat > ~/.vimrc
syntax on
^D
vim /etc/inputrc +21
uncomment “set bell-style none”
now lets add some colors to root:
vim /root/.bashrc
uncomment those:
export LS_OPTIONS=’–color=auto’
eval “`dircolors`”
alias ls=’ls $LS_OPTIONS’
and add: alias grep=’grep –color’
cool, now just exit and relogin back again.
updatedb
thats all for now.