ACPI administration advocacy advocacy advocacy opinion alsa amarok apache apple apt aptitude audio audo authentication automount avi awk bash BIOS boot business cache calendar calibre cdr cdrecord censorship commandline computerscience console convert cron cut database date debian degree design desktop development disk dpkg dvd economics education emacs email europe exim faad ffmpeg file files firefox firewall flash foss freedom ftp fun fuse git gnumeric graphics grep growisofs grub gtkpod hardware hardware html idiocy image imagemagick images installation ip iphone ipod iptables iso itunes ivman kde kernel keyboard knoppix lame laptop latex linux locale lockin longlines m4a microsoft mimetypes minitab mount mp3 mp4 mplayer multimedia music mysql network nfs nfs4 nmap openbox openoffice opinion opinion partition pdf perl php politics postgresql printing privacy programming rant remote rhythmbox rss rsync rxvt scp screengrab screenshot script scripting scsi security sed server shell siteadmin sitenews sitesoftware skype skype slackware sound sox spam spreadsheet ssh statistics subversion sudo svk swap t23 t43 terminal text thinkpad thunderbird time timezone ubuntu udev upgrade usb usbmount users uuid versioncontrol vfat video vnc windows wine wordpress wordprocessing X40 xwindows xwindows youtube
The Network File System is often shrouded in mystery. But there is nothing to be scared of. It's simple. Here are a few easy steps to installing a nfs server:
Install the software. On Debian you can do this like this:
apt-get install nfs-user-server
Debian will automatically ensure that the nfs server is running, other distrubutions may require you to edit your start up scripts.
Of course, if you want to use the kernel server, which is faster and better for a machine that will mostly be used as an nfs server, you have to have a kernel with nfsd compiled in and install the kernel server tools which on Debian is:
apt-get install nfs-kernel-server
Ensure /etc/hosts.deny and /etc/hosts.allow are edited. For example in hosts.deny you might want to put:
ALL: ALL
to ensure a secure system. In hosts.allow put something like
ALL: 192.168.0.
to allow connections from your local network.
Edit /etc/exports. This allows clients to mount shared directories. On my server, I've put:
/path/to/shared/directory 192.168.0.0/24(rw)
More info on the options you might use is in 'man exports'.
Finally, the client machine needs to mount it:
mount -t nfs host.name:/path/to/directory /mnt
And voila!