① 环境描述:腾讯云,centOS7服务器
安装nginx
①yum install nginx
②修改nginx.conf配置文件
③nginx -s reload
安装docker
①yum install docker
②systemctl enable docker
③systemctl start docker
安装mysql
①docker pull mysql:5.7
安装jdk ①rpm -qa |grep java ②rpm -qa |grep jdk ③rpm -qa |grep gcj ④yum list java-1.8* ⑤yum install java-1.8.0-openjdk* -y ⑥java -version
运行脚本文件
①chmod u+x *.sh