1、Docker安装脚本
#!/bin/bash
#关闭防火墙及关闭selinux,,只需把dist.zip和nginx.sh放到/root/下,执行chmod 777 nginx.sh 和 ./nginx.sh
systemctl disable firewalld
systemctl stop firewalld
sudo iptables -F && sudo iptables -X && sudo iptables -F -t nat && sudo iptables -X -t nat
sudo iptables -P FORWARD ACCEPT
yum install -y vim lrzsz unzip wget nodejs ntp ntpdate gcc g++ ruby net-tools make zlib zlib-devel gcc-c++ libtool openssl open