O'Reilly logo

Ubuntu Unleashed 2013 Edition: Covering 12.10 and 13.04, Eighth Edition by Matthew Helmke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing and Starting or Stopping NFS

NFS is not installed by default on Ubuntu, so you need to install the nfs-kernel-server package. NFS itself consists of several programs that work together. One is portmap, which maps NFS requests to the correct daemon. Two others are nfsd, which is the NFS daemon, and mountd, which controls the mounting and unmounting of file systems.

Ubuntu automatically adds NFS to the system startup scripts, so it will always be available after you have configured it. To check this, use the command sudo /etc/init.d/nfs-kernel-server status and you see that the service is running. If you need to manually start the NFS server, use the following command:

matthew@seymour:~$ sudo /etc/init.d/nfs-kernel-server start * Exporting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required