debian系统,先按上dotdeb源
aptitude update
aptitude -y upgrade
aptitude install vim git htop iftop nload p7zip p7zip-rar axel zsh ntpdate deborphan
deborphan | xargs aptitude -y purge
echo net.ipv6.conf.all.disable_ipv6=1 > /etc/sysctl.d/disableipv6.conf
echo "syntax on" >> ~/.vimrc
echo "{实际hostname名}" > /etc/hostname
hostname -F /etc/hostname
ntpdate
cn.pool.ntp.orggroupdel video
userdel irc
userdel uucp
userdel news
userdel games
userdel list
rmdir /usr/local/games
userdel gnats
userdel Debian-exim