Sunday, March 29, 2009

Fedora 8 NFS Installation

On the NFS Installation server, set up a shared folder, i.e.

mkdir /nfsshare

Then proceed to edit the /etc/exports file (this will be a blank file) as follows:

vi /etc/exports

Edit as follows

/nfsshare 192.168.1.0/24(ro,sync)


This assumes a network address of 192.168.1.0 and a subnet mask of 255.255.255.0

Save and exit. Then turn on the NFS server service

chkconfig nfs on

Make sure service rpcbind is running

service rpcbind status

Then start the NFS server

service nfs start

Insert the Fedora 8 DVD into the DVD-drive and copy the Fedora 8 DVD to the /nfsshare folder as follows:

mkdir /media/cdrom
mount /dev/cdrom /media/cdrom

dd if=/dev/cdrom of=/nfsshare/Fedora-8-i386-DVD.iso

When finished issue the

eject

command and remove the DVD.

The NFS server is now set up. Let us proceed to the client

Boot from the Fedora 8 Boot CD (created with the Fedora 8 boot.iso which is only 9 MB)

On the installation method screen select option 3 nfs

On the next screen enter the IP and subnet mask information for the client, as well as the IP addresses of the default gateway and DNS server.

On the following screen enter the IP address of the NFS server, and /nfsshare as the shared folder

At this point the graphical loader Anaconda should start and the client is now connected to the NFS server. You can eject the Fedora 8 Boot CD and proceed to the next client.

Next time we will add an answer file for unattended installations.

No comments: