Akagi201
7/18/2014 - 5:52 AM

ubuntu.md

app store

install

  1. ssh root@akyun
  2. passwd
  3. addgroup admin
  4. aptitude update
  5. aptitude install -y zsh
  6. useradd -m -G users,admin,audio -s /bin/zsh akagi201
  7. passwd akagi201
  8. visudo 或者 vim /etc/sudoers
root    ALL=(ALL:ALL) ALL
akagi201    ALL=(ALL) NOPASSWD: ALL
  1. 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
  1. addgroup wheel
  2. usermod -a -G wheel akagi201
  3. usermod -s /bin/zsh root
  4. vim /etc/hostname - akyun
  5. vim /etc/hosts ->> 218.244.151.30 - akyun
  6. aptitude install -y git
  7. aptitude install -y subversion
  8. aptitude install -y mercurial
  9. aptitude install -y wget
  10. aptitude install -y curl
  11. 配置ssh
  12. aptitude upgrade
  13. reboot
  14. 阿里云安装包: 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*
  15. 配置akagi201用户的hg, git, ssh, oh my zsh, spf13-vim

查看版本

  • cat /etc/issue
  • sudo lsb_release -a
  • uname -a

add-apt-repository not found

Refs