Monday, July 22, 2019

How to configure NFS server


Qes.5 => How to configure NFS server
Ans=> Fallow these step to configure nfs server.
Step-1 => Install nfs server package
#yum install nfs*
step-2 => Make a directory to share with nfs server.
#mkdir /nirmal
step -3 => make entry inside nfs configuration file
#vim /etc/exports
/nirmal *(rw,sync,no_root_squash)
save and exit
step-4 => Restart NFS server services
#service nfs restart
#chkconfig nfs on
step-5 => Verify NFS share folder
#showmount -e (server IP)


step-6 => Mount nfs share
mount -t nfs 192.168.1.50:/nirmal /mnt
or
mount 192.168.1.50:/nirmal /mnt

No comments:

Post a Comment

Linux server hardening | Secure Linux Servers

 Linux server hardening is the process of securing a Linux server by reducing its attack surface and mitigating security risks. The goal is ...