Share File between Two Ubuntu Systems | How To Share Files Between Ubuntu system

1) install nfs package
sudo apt-get install nfs-kernel-server
2) Restart the nfs service
sudo /etc/init.d/nfs-kernel-server status
sudo /etc/init.d/nfs-kernel-server start
3) Edit the exports file add the directory which one we wants to add the directory,
sudo gedit /etc/exports
/tmp 192.168.2.24(rw,sync,no_subtree_check)
Restart the service then try it , Then restart nfs service,
sudo exportfs
/tmp 192.168.2.24

then restart the nfs service
4) Then login into the client system and mount it,
then in the client system mount then try it

Post a Comment

0 Comments