作业四:nginx反向代理+三台web+nfs共享存储实现集群配置
在各个web服务器上挂载nfs
[root@localhost nginx]# mount -t nfs 192.168.152.134:/share /data/www/html/
[root@localhost nginx]# mount -t nfs 192.168.152.134:/share /data/www/html/
[root@localhost nginx]# mount -t nfs 192.168.152.134:/share /data/www/html/
[root@localhost nginx]# echo "nfs ok" > /data/www/html/index.html