Linux File Sharing Using NFS(nfs server configuration on centos/Rhel)

tion NFS stands for Network File System . NFS is a distributed file system protocol devoloped by sun microsystems at the year of 1984.Using nfs users can acces the shared data on other computers it also allows to automount the file system by adding entries to /etc/fstab. Auto mounting NFS topic we will discuss on our next video.NFS is built on open network computing remote procedure call (ONC RPC). NFS has total for versions starts from NFSV1 to NFSV4.The configration file for NETWORK FILE SYSTEM (NFS) is /etc/exports. We have to add entry for the directory which has to be shared.we can also define some acess controll For nfs by editing the file.Here i am going to give a small example for /etc/exports file

/user/shared  192.168.1.110/24(rw,sync)
    
This means that the directory /user/shared is shared using nfs and only the client having  ip 192.168.1.110 and subnet 255.255.255.0 is permission to access the directory over nfs.we can change the ipaddress and subnet with a '*' symbol to allow access permission for all.


/user/shared  *(rw,sync)


and also we can change rw with ro for read only permission
showmount -e command will help to find which folders are shared on the server using nfs.the syntax is given below

 showmount -e 192.168.1.100



here 192.168.1.100 is the ip of my nfs server.The nfs configuration of nfs server and how to mount the nfs share on the client is shown in below video






 

Related Posts:

  • TELNET SERVER CONFIGURATION IN CENTOS/RHELNow we are going to Install Telnet server on our Centos 6.2 Server.The following videos will help you in configuring the telnet server Thanks for Watching the video… Read More
  • ENABLE ROOT LOGIN VIA TELNET in centos/rhelThis video shows how to login as root directly via telnet.For we have to edit the configuration file /etc/securetty and add the entry for terminal which we want to login as root.by defualt TELNET,RSH etc. will not allow root … Read More
  • Common Ftp Folder for all FTP usersAs the requirement from some some of our blog user,i am forced to discuss about configuring a common ftp folder for all users.The configuration file /etc/vsftpd/vsftpd.conf  contains all configuration of our vsftp.so we … Read More
  • Root Password Recovery In LinuxSome time will all forget something ,its natural .Here i am going to demonstrate how to reset the  root password in a Linux system with help of some screenshot .This screenshot shows how to … Read More
  • Secure linux system by using GRUB PASSWORDoIt is very easy to change our root password when somebody get the physical acess to your system. In order to protect your root password  we can protect your GRUB using a password.The Grub password will restrict the phys… Read More