|
Post by ZF on Mar 28, 2011 2:26:53 GMT -5
Install NFS Server Support at the terminal type sudo apt-get install nfs-kernel-server nfs-common portmap When configuring portmap do =not= bind loopback. If you do you can either edit /etc/default/portmap by hand or run: sudo dpkg-reconfigure portmap sudo /etc/init.d/portmap restart Editing /etc/exports the /etc/exports file is used for creating a share on the NFS server invoke your favorite text editor or sudo vi /etc/exports Here are some quick examples of what you could add to your /etc/exports For Full Read Write Permissions allowing any computer from 192.168.1.1 through 192.168.1.255 * /files 192.168.1.0/24(rw,no_root_squash,async) Or for Read Only from a single machine * /files 192.168.1.2 (ro,async) save this file and then in a terminal type sudo /etc/init.d/nfs-kernel-server restart Also aftter making changes to /etc/exports in a terminal you must type sudo exportfs -a Source: ubuntuforums.org/showthread.php?t=249889
|
|