DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

Share Files Between Linux Hosts with NFS


Server

# sudo apt-get install nfs-kernel-server nfs-common portmap
# cat /etc/exports
...
/home/chad/warez 10.32.1.6 (ro,async,subtree_check)
# service nfs-kernel-server start

Client

# apt-get install nfs-common
# cat /etc/hosts
...
10.32.1.154 laptop
# mount laptop:/home/chad/warez /mnt/netshare

Now you can read all files under /mnt/netshare, because the flag "ro" specified in /etc/exports on server host.

Unmount it with umount /mnt/netshare.



Published

Jul 25, 2014

Last Updated

Jul 25, 2014

Category

Tech

Tags

  • linux 158
  • nfs 1
  • share 1

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor