How To Configure NFS Server In Redhat Enterprise Linux

In This Tutorial We Are Going To Learn How To Configure NFS Server In Linux But Before Configuring NFS Server You Must Have Configured Yum Server In Your Linux Machine

 

If You Dont Know How To Configure Yum Server In Linux So Click On This Linux And Learn How To Configure Yum server In Linux

Here Is The Command Of Configure NFS Server In Linux 

 

Firstly You Must Have 2 Linux 1 Is Server And 1 Is Client Installed Here I Am Telling You In Vm VirtialBox

Now Login With The Root In Your Both Linux Machinne

After Login With Root Now Do This Coding

Server Machine

#yum install nfs* -y {To Install The Package Of Nfs Server}
#mkdir /ccna   {To Create Folder}
#vim /etc/expots  {After Running This Command Do This Changes See In Second Line}
/ccna * [rw,sync]
#service portmap restart  {To Restart The Service Of Portmap}
#service nfs restart  {To Restart The Service Of Nfs Server}
#exportfs -a
#showmount -e
#cd /ccna
#vim a.txt

See This Picture So You Easily Understand What Commands I Have Run In Server Machine

 

 

Client Machine

#showmount -e 1.0.0.2 {1.0.0.2 Is Ther Server Ip}
#mkdir /linux
#mount -t nfs 1.0.0.2:/ccna/linux
#df -h

See This Picture So You Easily Understand What Commands I Have Run In Client Machine

 

This Is All How We Configure NFS Server In Linux

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s