apt-get install portmap nfs-common nfs-kernel-server

edit /etc/exports with something like (for lets say a public share):

/srv 10.0.0.0/24(ro,norootsquash,nosubtreecheck,insecure)

After saving, import the shares using:

exportfs -a

OR

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

DONE!

Blog Logo

Mario Loria


Published

Image

./scriptthe.net

Because 127.0.0.1 gets old after a while.

Back to Overview