Advertisements
Skip to content

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

Advertisements

Leave a Reply

Discount Offer

Now Get 50% Discount

On Cyber Security Training                                                       Notes  

Click here  To Purchase

%d bloggers like this: