新增新使用者並設定為超級使用者
adduser touwen && adduser touwen sudo
此步驟完成記得退出root,用新的使用者登入
更新軟體倉庫並安裝必要軟體
sudo apt-get update && sudo apt-get -y install zsh git unzip
oh-my-zsh
sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
miniconda
Get miniconda and install
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && sh Miniconda3-latest-Linux-x86_64.sh
Auto start zsh and miniconda.
echo zsh >> ~/.bashrc && echo "source ~/miniconda3/bin/activate" >> ~/.zshrc && source ~/.zshrc
Pull Code from github.
wget https://github.com/RunningIkkyu/toutiao/archive/master.zip && unzip master.zip && rm master.zip