apt install python3-pip
nignx:
apt-get install nginx
/etc/nginx/conf.d/
GOlang:
wget https://dl.google.com/go/go1.12.5.linux-amd64.tar.gz
tar -xzf go1.12.5.linux-amd64.tar.gz -C /usr/local
vim .profile
source .profile
Mysql:
apt-get install mysql-server mysql-client
CI:
go get -d github.com/ouqiang/gocron
cd ~/go/src/github.com/ouqiang/gocron/
export GO111MODULE=on
export GOPROXY=https://mirrors.aliyun.com/goproxy/
make
cd bin/
nohup ./gocron web > nohup.out 2>&1 &
nohup ./gocron-node -allow-root > node.out 2>&1 &