Ubuntu server 12.04/nfs

From Attie's Wiki
(Redirected from NFS)
Jump to: navigation, search

Ubuntu Server 12.04

apt-get install nfs-kernel-server

Control the Server

service nfs-kernel-server start

Configure the Server

Simply add one line per export to /etc/exports:

/home/shared            192.168.0.0/24(rw,sync,subtree_check)

Configure the Client

Either use /etc/fstab like this:

server:/home/shared                      /home/shared      nfs     user,auto,exec  0       0

Or, use mount like this:

sudo mount -t nfs server:/home/shared ./shared
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox