Red hat linux

Setting Up an NFS Server and Client on CentOS 7

I’m using two CentOS systems here:

NFS Server:, IP address:
NFS Client:, IP address:

Configure the Firewall

Installing NFS and enable and start the nfs server service.(Client / Server)

Exporting Directories on the Server

Now we must modify /etc/exports where we “export” our NFS shares.

Mounting the NFS Shares on the Client
First we create the directories where we want to mount the NFS shares

Afterwards, we can mount them as follows:

Open /etc/fstab and append the following lines:

Leave a Reply

Your email address will not be published. Required fields are marked *