linux nfs 共享目錄

aidway發表於2014-05-28
問題:兩臺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

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28675539/viewspace-1171568/,如需轉載,請註明出處,否則將追究法律責任。

相關文章