System: Ubuntu
1. Install NFS client:
#sudo apt-get install portmap nfs-common
2. Mount the server files on laptop:
#sudo mkdir /nfs/matlab
#sudo mount server:/pub/matlab /nfs/matlab
Now it should work.
If you want to automount it, you need install autofs first:
1. Install autofs
# sudo apt-get install autofs
2. Add the following line at the end of /etc/auto.master:
/nfs /etc/auto.nfs
3. create a file /etc/auto.nfs and add following line( please make sure the dpi file doest include any file has same name with "matlab"):
matlab server:/pub/matlab
4. reload configure file:
$ sudo /etc/init.d/autofs reload
5. Check if it works:
$ls /nfs/matlab
No comments:
Post a Comment