- public key
- proxy shell
- init components
# using git bash in win10
ssh-copy-id -i pub-key-path-end-with-dot-pub user@ip
grep debian /etc/os-release && sudo apt install curl git zsh -y
grep centos /etc/os-release && sudo yum install curl git zsh -y
read -p "http proxy ip is: " proxy_ip
read -p "http proxy port is: " proxy_port
source <(wget -O- https://code.aliyun.com/leizh/tools/raw/d9df59a7e33cb82b4f7edd7acf0c35e5ad86b69c/proxy/http-no-password.sh) $proxy_ip $proxy_port
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/leizhnxp/provision.git
sh provision/set-up.sh