Mochabomb

Web Design and Technical notes

Mochabomb header image 2

Quick NFS Setup Notes

October 27th, 2007 2:39 am · No Comments

Quick NFS Setup Notes:

Server with files to be shared:
# service portmap start; service nfslock start; service nfs start
# echo " /home/sharedfiles (ro,sync) >> /etc/exports

Server that accesses these files
Edit /etc/vfstab
server:/share/adir /opt/adir nfs ro,sync 0 0

Add a macro.NFS to /etc/shorewall:
###############################################################################
#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER/
# PORT PORT(S) DEST LIMIT GROUP
PARAM - - udp 111,2049
PARAM - - tcp 111,2049
PARAM - - udp 4000:4003
PARAM - - tcp 4000:4003
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

Tags: Linux

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment