Linux之nginx反向代理+三台web+nfs共享存储实现集群配置

作业四: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

posted @ 2017-03-21 00:09  qianxiamo  阅读(171)  评论(0编辑  收藏  举报