mount nfs

https://www.answertopia.com/ubuntu/using-nfs-to-share-ubuntu-files-with-remote-systems/

 

$ sudo vim /etc/exports

/mnt/nfs_share *(insecure,rw,sync,no_subtree_check)
/hdd/yourname/share *(insecure,rw,sync,no_subtree_check)

$ sudo exportfs -a

$ chmod 777  /hdd/yourname/share

 

In another machine,

$ mkdir mountpoint

$ mount  192.168.1.2:/hdd/yourname/share     mountpoint 

 

https://linuxize.com/post/how-to-mount-an-nfs-share-in-linux/

 

posted on 2022-05-06 09:57  cdekelon  阅读(80)  评论(0编辑  收藏  举报

导航