CentOS 7 Linux Server Cookbook - Second Edition by Oliver Pelz & Jonathan Hobson

CentOS 7 Linux Server Cookbook - Second Edition by Oliver Pelz & Jonathan Hobson

Author:Oliver Pelz & Jonathan Hobson [Pelz, Oliver]
Language: eng
Format: epub, azw3, mobi
Publisher: Packt Publishing
Published: 2016-01-28T23:00:00+00:00


Next, we need to open some firewall ports for the server to have proper NFS access: for s in {nfs,mountd,rpc-bind}; do firewall-cmd --permanent --add-service $s; done; firewall-cmd --reload

Finally, let's start the NFS server service and enable it on reboot: systemctl start rpcbind nfs-server systemctl enable rpcbind nfs-server systemctl status nfs-server

Creating an export share

Now that our NFS server is configured and up-and-running, it's time to create some file shares that we can export to our clients:

First, let's create a folder for our shares and change its permissions: mkdir /srv/nfs-data



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.