sudo apt install mysql-server
sudo mysql
# sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf
# bind-address = 0.0.0.0
# mysql -u root -p
# ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '你的密码';
# use mysql;
# select host, user, authentication_string from user;
# update user set host = '%' where user = 'root'
service mysql restart
安装nginx
sudo apt install nginx
安装go环境
sudo apt install golang-go
go env -w GOPROXY=https://goproxy.cn,direct
go env -w GO111MODULE=on