sudo apt-get install git
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
設定 Shell 預設為 zsh,chsh -s /bin/zsh
參考 此篇
sudo adduser newuser
基本資料,可以直接 Enter 使用預設值跳過
EC2 上可能遇到新使用者不能 ssh 上機器的狀況,請參考 此篇 設定。
- 編輯
/etc/ssh/sshd_config
,將 PasswordAuthentication 設定 yes,儲存離開- 重新載入 ssh config,指令
sudo service ssh reload
sudo userdel -r olduser