Re: nfs howto - are debian docs dated?
On Thu, Nov 10, 2011 at 01:34:47PM -0600, Harry Putnam wrote:
> On one site (the one cited above) I noticed said something about
> having to change kernels. I'm currently running wheezy with
> 3.0.0-686-pae. Will that need to be changed?
No.
aptitude install nfs-kernel-server
Now you have the required tools to use the in-kernel NFS server.
It can do classic (NFS3) or new (NFS4) service.
Doing NFS3 exports is done very simply, and is documented in
many places. You write an /etc/exports file that says things
like this:
/home 192.168.0.1(rw) 192.168.0.2(rw) 192.168.1.0/255.255.255.0(ro)
which gives read/write access to two machines and allows another
network to read anything but not write to it.
Doing NFS4 exports is a little harder, but you can get better
access-control. Google for "nfs4 exports debian" to find a
howto.
-dsr-
--
http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
You can't fight for freedom by taking away rights.
Reply to: