Last active
July 23, 2023 17:42
-
-
Save pecavalheiro/44e5823e36c9785770ae7ffb45fb5d96 to your computer and use it in GitHub Desktop.
Set up NFS in Linux -> Mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # some tips: https://wiki.archlinux.org/title/NFS/Troubleshooting#Unable_to_connect_from_OS_X_clients | |
| sudo apt install nfs-kernel-server | |
| sudo chmod 777 /my/shared/dir | |
| # edit /etc/exports and add: | |
| /my/shared/dir <client ip address>(rw,sync,all_squash,subtree_check,insecure,anonuid=0,anongid=100,crossmnt,fsid=0) | |
| sudo exportfs -a && sudo systemctl restart nfs-kernel-server | |
| # in Mac, open Finder and press cmd + k. Type nfs://<host>/my/shared/dir/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment