NFS实现共享wordpress
文章目录
[隐藏]
- 实验环境
- 实验要求
- nfs server端
- nfs client端
实验环境
192.168.68.134 wordpress站点 nfs-server
192.168.68.144 nfs-client
实验要求
nfs server共享/var/www/html目录
nfs clinet挂载nfs-server共享的目录,部署wordpress
nfs server端
先部署wordpress document root 在 /var/ww/html下
vim /etc/exports :/var/www/html/ 192.168.0.0/16(rw) exportfs -r systemctl start nfs
nfs client端
[root@centos ~]# showmount -e 192.168.68.134 [root@centos ~]# mount -t nfs 192.168.68.134:/var/www/html /var/www/html [root@centos ~]# systemctl restart httpd
原文出处:178linux -> http://www.178linux.com/87986
本站所发布的一切资源仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。如果侵犯你的利益,请发送邮箱到 [email protected],我们会很快的为您处理。