​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​





Comments

Popular posts from this blog

Error while connecting RDP "an authentication error has occurred the token supplied to the function is invalid".

Windows shared network printer issue in ubuntu 18.04

Rename printer from command line in ubuntu.