ssh root@akyun
passwd
addgroup admin
aptitude update
aptitude install -y zsh
useradd -m -G users,admin,audio -s /bin/zsh akagi201
passwd akagi201
visudo
或者 vim /etc/sudoers
root ALL=(ALL:ALL) ALL
akagi201 ALL=(ALL) NOPASSWD: ALL
vim /etc/pam.d/su
# Uncomment this if you want wheel members to be able to
# su without a password.
auth sufficient pam_wheel.so trust
addgroup wheel
usermod -a -G wheel akagi201
usermod -s /bin/zsh root
vim /etc/hostname
- akyun
vim /etc/hosts
->> 218.244.151.30 - akyun
aptitude install -y git
aptitude install -y subversion
aptitude install -y mercurial
aptitude install -y wget
aptitude install -y curl
aptitude upgrade
reboot
aptitude install -y unzip build-essential libncurses5-dev libfreetype6-dev libxml2-dev libssl-dev libcurl4-openssl-dev libjpeg62-dev libpng12-dev libfreetype6-dev libsasl2-dev libpcre3-dev autoconf libperl-dev libtool libaio*
cat /etc/issue
sudo lsb_release -a
uname -a
sudo apt-get install software-properties-common python-software-properties