nfs共享三步, linux共享配置

来源:互联网 发布:莱特币源码 编辑:程序博客网 时间:2024/05/22 15:44
安装
yum -y install portmap nfs-utils
/etc/init.d/rpcbind start
/etc/init.d/nfs start


改配置
vi /etc/exports
/data/apache-tomcat-7.0.52/webapps/ROOT/ (rw,no_root_squash,no_all_squash,sync)  192.168.1.225




共享
mount -t nfs 192.168.1.224:/data/apache-tomcat-7.0.52/webapps/ROOT/upload /data/apache-tomcat-


7.0.52/webapps/ROOT/upload

0 0