Configuring the nfs service – Sun Microsystems Sun Fire V40z User Manual

Page 54

Advertising
background image

48

Sun Fire V20z and Stinger4 Servers Linux Operating System Installation Guide • May, 2004

Configuring the NFS Service

Complete the following steps on your DHCP server.

1. Determine whether the NFS service package is already installed on the server by

typing the following command:

# rpm -qa | grep nfs-utils

2. If the NFS server package is not listed, insert the Red Hat Enterprise Linux CD 2,

and type the following commands to mount the CD and install the package from
the CD:

# mount /dev/cdrom /mnt/cdrom

# rpm -Uvh /mnt/cdrom/RedHat/RPMS/nfs-utils-*.rpm

3. Remove the CD from the server after you type the following command:

# umount /dev/cdrom

4. Edit and save the

/etc/exports

file to add the following line to it:

/home/pxeboot *(no_root_squash,no_subtree_check,insecure)

5. Start the NFS service by typing the following command:

# service nfs start

6. Configure the server to always start the NFS service by typing the following

command:

# chkconfig nfs on

Note –

If you are using a DNS server, make sure that DNS entries exist for the range

of addresses defined in the pxe subnet

dynamic-bootp

entry in the

dhcpd.conf

file.

If you are not using a DNS server, edit the

/etc/hosts

file to add the range of host

addresses found in the pxe subnet

dynamic-bootp

entry in the

dhcpd.conf

file.

Advertising