1 adduser fairyin
2 apt-get install sudo
3 usermod -g50 -G27,100 fairyin
4 groupdel fairyin
5 apt-get install bash-completion coreutils gawk vim git-core openssh-server nginx-full php5-fpm php5-cli php5-mysql mysql-server mysql-client
6 apt-get purge exim4 exim4-base exim4-config exim4-daemon-light
7 vi /etc/sudoers
Defaults env_keep += HOME
fairyin ALL=(AL:ALL) ALL
%sudo ALL=(ALL:ALL) NOPASSWD:ALL
8 (root) cd /usr/local/src && git clone git://github.com/snakevil/bashrc.x.git bashrc.x.git
9 (切换用户fairyin) cd /usr/local/src
cd && mkdir .local && ln -s /usr/local/src/bashrc.x.git/src .local/bashrc.x
rm -fr .bashrc .bash_profile && ln -s .local/bashrc.x/etc/bashrc .bashrc && ln -s .local/bashrc.x/etc/bash_profile .bash_profile