linux setup

Linux VPS setup

user 用户组

创建用户组: adduser

添加sudo权限:sudo usermod -aG sudo username

修改/etc/sudoers文件

install zsh

sudo apt-get install -y zsh

install oh-my-zsh

sudo apt install -y curl

sudo apt install -y git

sh -c “$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

reference: install oh-my-zsh

install auto-suggestions plugin

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Next: Deploy on Linux VPS 部署