实验环境:
准备四台centos7虚拟机一台haproxy,二台nginx,一台nfs
主机ip | 部署 | 服务器 |
192.168.216.159 | nginx | centos 7 |
192.168.216.168 | nginx | centos 7 |
192.168.216.167 | haproxy | centos 7 |
192.168.216.169 | nfs | centos 7 |
关闭seliunx和防火墙
1.systemctl stop firewalld.service
准备四台centos7虚拟机一台haproxy,二台nginx,一台nfs
主机ip | 部署 | 服务器 |
192.168.216.159 | nginx | centos 7 |
192.168.216.168 | nginx | centos 7 |
192.168.216.167 | haproxy | centos 7 |
192.168.216.169 | nfs | centos 7 |
关闭seliunx和防火墙
1.systemctl stop firewalld.service