Set up the directory structure that will hold the Red Hat Enterprise Linux software.
# mkdir -p /home/pxeboot/rhel4/
Note – The examples in this procedure use /home/pxeboot/rhel4/. You can use a dierent
target directory if you choose. For example, you could use /home/pxeboot/rhel5/. If you used
a dierent directory name, substitute it where appropriate.
For each Red Hat Enterprise Linux Distribution CD, type the following commands to copy the
contents of the each distribution CD to the appropriate PXE target subdirectory.
Note – Eject and insert CDs only when the CD/DVD drive is unmounted.
# mount dev/cdrom /mnt/cdrom
# cp -r /mnt/cdrom/* /home/pxeboot/rhel4/
# umount /mnt/cdrom
If you are installing from a DVD, you have to do this only once. When the copy is done, proceed
to the next step.
Copy the vmlinuz and initrd.img les to the appropriate PXE target subdirectory
(/home/pxeboot/rhel4/).
# cp /home/pxeboot/rhel4/images/pxeboot/vmlinuz /home/pxeboot/rhel4/
# cp /home/pxeboot/rhel4/images/pxeboot/initrd.img /home/pxeboot/rhel4/
Copy the kickstart le ks.cfg to your PXE server.Type:
# cp /tmp/rhel4u3-pxefile/ks.cfg /home/pxeboot/rhel4/
The kickstart conguration le contains a conguration that might not be optimal for your
operating environment. Modify the le as necessary to suit your environment.
For example, to make the RHEL 5.3 installation process fully automatic, add the following line
to the end of the kickstart conguration le:
key --skip
On your PXE server, edit and save the kickstart le: /home/pxeboot/rhel4/ks.cfg.
Edit the nfs line is as follows:
nfs --server n.n.n.n --dir /home/pxeboot/rhel4/
where n.n.n.n is the IP address of your PXE server. Ensure that the location indicated after
--dir is pointing to the top level of your image.
Add the following entry to the le /home/pxeboot/pxelinux.cfg/default:
1
2
3
4
5
6
Disabling the Firewall
Sun Fire X2270 M2 Server Installation Guide for Linux Operating Systems • September 2011, -1252