NFSv3

From ArchWiki
Revision as of 14:38, 6 March 2007 by FrankTM (Talk | contribs) (First setup with some text, should be expanded)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Goals

The goal of this article is setting up a nfs-server for sharing files over a network. We'll keep it simple here, so everything should be pretty much understandable.

Required packages

Required packages for both the server and the client are minimal. You'll only need to install:

  • current/nfs-utils

Setting up the server

You need to have installed the nfs-utils package by now.

Daemons

You should a few daemons (as root) to start the nfs-server:

/etc/rc.d/portmap start
/etc/rc.d/nfslock start
/etc/rc.d/nfsd start

You could add these daemons to the daemon-array in /etc/rc.conf to make them start on system-boot.

Files

/etc/exports

/etc/hosts.allow

Setting up the client

Auto-mount on boot