Monday, November 20, 2006

enable nfs

howto enable nfs services

#!/bin/vi /etc/export
/work *(rw,no_root_squash) # share /work directory with read/write
/tmp *(rw,no_root_squash) # share /tmp

# showmount -e 192.168.nn.nn
# mount 192.168.nn.nn :/work /mnt/nfs -t nfs # mount /work to /mnt/nfs
# /etc/init.d/nfs-user-server restart # restart nfs services

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home