一、 环境要求:
本机环境配置:虚拟机配置要求
Centos7 内存2.8G 硬盘120G 处理器2X2 4 核,能链接外网
建议:内存和资源空间最好设大点,如果不大点,最好以集群的方式构建。
二、 安装步骤命令:
2.1 系统设置和docker 环境安装
systemctl disable firewalld
systemctl status firewalld
## 关闭防火墙
sed -i 's/enforcing/disabled/' /etc/selinux/config
setenforce 0
cat /etc/selinux/config
swapoff -a
sed -ri 's/.*swap.*/#&/' /etc/fstab
free -l -h
echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf
echo "net.bridge.bridge-nf-call-ip6tables = 1" >> /etc/sysctl.conf
echo "net.bridge.bridge-nf-call-iptables = 1" >> /etc/sysctl.conf
echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl.conf
echo "net.ipv6.conf.default.disable_ipv6 = 1" >> /etc/sysctl.conf
echo "net.ipv6.conf.lo.disable_ipv6 = 1" >> /etc/sysctl.conf
echo "net.ipv6.conf.