NFS - CentOS 7

From Michael's Information Zone
Revision as of 09:09, 9 March 2017 by Michael.mast (talk | contribs) (Created page with "<ref>https://www.howtoforge.com/tutorial/setting-up-an-nfs-server-and-client-on-centos-7/</ref> ==Server Side== yum install nfsutils nano /etc/exports /directory/to/be/sh...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

[1]

Server Side

yum install nfsutils
nano /etc/exports
/directory/to/be/shared     ip.of.client.xx(rw,sync,no_root_squash)

Note: Depending on how sensitive your environment is, you might want to remove no_root_squash.

Client Side

mount ip.of.server.xx:/directory/to/be.shared /local/mount/point


Notes

[2]For libvirt to access while SELinux is running

setsebool -P virt_use_nfs=on