Linux Programmer | RHCE | RHCSA

Search This Blog

Tuesday, 10 April 2018

​Configuring NFS server & client


​Configuring NFS server & client

1. Configuring NFS server : 
  • apt-get install nfs-kernel-server
  • apt-get install nfs-common
  • vi /etc/exports
                ​/home *(rw,sync,no_root_squash,no_subtree_check)
  • exportfs -a
​2. Configuring NFS Client 

  • apt-get install nfs-common
  • mkdir /mnt/share
  • ​chmod 0777 /mnt/share
  • mount -t nfs 
    ​$server_ip
    :/home/
    ​$path_to_directory
     /mnt/share

  • ​To check share is mounted or not ?
  • mount

  • ​To umount NFS share 
  • umount /mnt/share​





No comments:

Post a Comment

SSH not working with password after upgrade ubuntu 22.04 or above

In recent upgrade of ubuntu 22.04 and above we are not able to login server with SSH password. but when we try to login with key then it all...