问题:两台linux服务器,A地址1.1.1.1,B地址1.1.1.2,现在A有一目录test,希望B也能访问。
A服务器:
$ vim /etc/exports
/test 1.1.1.2(rw)
$ /etc/init.d/nfs start
B服务器:
$ mkdir /test
$ mount -t nfs 1.1.1.1:/test /test
A服务器:
$ vim /etc/exports
/test 1.1.1.2(rw)
$ /etc/init.d/nfs start
B服务器:
$ mkdir /test
$ mount -t nfs 1.1.1.1:/test /test
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/28675539/viewspace-1171568/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/28675539/viewspace-1171568/