linux nfs配置

来源:互联网 发布:阿里云邮箱客户端 编辑:程序博客网 时间:2024/06/04 21:09

vi  /etc/exports   进入到配置文件

/home/soft     193.168.0.200/24(ro,rw)

 

service portmap status

service nfs start

showmount -e   //察看共享

ifconfig //ip配置

mount  192.168.0.44://home/soft  /root/abc  //挂载

cd /var/www/html //放在该站点下

vi index.html

service httpd start (Apache启动)

 

原创粉丝点击