Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

These instructions are a basic guide for a super-user to install and configure NFS on CentOS 7. 

Install NFS server

yum install nfs-utils


Create export directory

mkdir /opt/nfs_share
touch /opt/nfs_share/.abiquo_repository
chmod -R 755 /opt/nfs_share
chown nfsnobody:nfsnobody /opt/nfs_share


Enable and start NFS services

systemctl enable rpcbind
systemctl enable nfs-server
systemctl enable nfs-lock
systemctl enable nfs-idmap
systemctl start rpcbind
systemctl start nfs-server
systemctl start nfs-lock
systemctl start nfs-idmap


Edit /etc/exports to share the NFS directory

/opt/nfs_share    *(rw,sync,no_root_squash,no_all_squash)


Restart NFS service

systemctl restart nfs-server


  • No labels