This is our basic things to do after installing new Debian system

aptitude install apt-file vim less mc bzip2 ssh collectd apache2 postfix  monit parted pciutils \
  smartmontools locate ntpdate ntp librrds-perl tcpdump logwatch hdparm libhtml-parser-perl host \
  telnet strace dnsutils unzip pwgen cron-apt iptraf fail2ban zile

updatedb

ed -s /etc/vim/vimrc <<< $',s/"syntax on/syntax on/g\nw'
ed -s /etc/vim/vimrc <<< $',s/syntax off/syntax on/g\nw'

cat >> /root/.bashrc <<EOF
 export LS_OPTIONS='--color=auto'
 eval "\`dircolors\`"
 alias ls='ls \$LS_OPTIONS'
 alias ll='ls \$LS_OPTIONS -l'
 alias l='ls \$LS_OPTIONS -lA'
EOF

cp /usr/share/doc/collectd/examples/collection.cgi /usr/lib/cgi-bin/

echo 'root: servery@panelnet.cz' >> /etc/aliases
newaliases
 
linux/debian/our_basic_install.txt · Last modified: 2009/08/17 16:17 by admin