NFS server on Ubuntu 10.4 Lucid Lynx

Install

sudo apt-get install portmap nfs-kernel-server

Configuration

Add shares to /etc/exports

/home/jerome/projects 142.58.154.142(rw,sync,no_subtree_check)
  • this will share the folder /home/jerome/projects with 142.58.154.142 (read/write)
  • note: leave no space after the IP address

Export shares

sudo exportfs -ra

Restart NFS server

sudo /etc/init.d/nfs-kernel-server restart

Reference

Feedback