Created
May 2, 2011 12:12
-
-
Save lukmdo/951514 to your computer and use it in GitHub Desktop.
NFS server setup
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
1) # vim /etc/exports: | |
# What_to_share With_whom | |
ABS_PATH IP(rw,all_squash,anonuid=XXX,anongid=YYY,insecure) | |
# `all_squash` - turns on mapping. Each file created/modified on the client will be mapped to user | |
# configured by `ananuid` and `anangid` on the server side. | |
# `anonuid` - id of server side user of the changed files | |
# `anangid` - gid of server side group of the changed files | |
# `insecure` - lests in all requests form port higher then 1024 | |
2) # /etc/init.d/nfs restart | |
3) # chkconfig nfs on | |
# in order to bring it up automatically after restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment