|Red Hat Enterprise Linux 4: Installation Guide for the IBM® S/390® and IBM® eServer™ zSeries® Architectures|
|Prev||Chapter 1. Steps to Get You Started||Next|
The Red Hat Enterprise Linux installation media must be available for either a network installation (via NFS, FTP, or HTTP) or installation via local storage. Use the following steps if you are performing an NFS, FTP, or HTTP installation.
The NFS, FTP, or HTTP server to be used for installation over the network must be a separate machine which can provide the complete RedHat/ directory. Both the RedHat/base/ and RedHat/RPMS/ directories must be available and populated with all files from all installation CD-ROMs.
The directory specified in the following refers to /location/of/disk/space/. This means it is the directory up to, but not including, the RedHat/ distribution directory. For example, if you have Red Hat Enterprise Linux 4 installation files located in /export/rhel/ on the installation staging server, /location/of/disk/space/ would be /export/rhel/.
To copy the RedHat/ directory from the installation CD-ROMs to a Linux machine which acts as an installation staging server, perform the following steps:
For each binary CD-ROM, execute the following commands:
cp -var /mnt/cdrom/RedHat /location/of/disk/space
where /location/of/disk/space/ is a directory you create such as /export/rhel/
Note that the Release Notes are not included in the RedHat directory. Unless they are specifically copied over, the Release Notes will not be available during your installation of Red Hat Enterprise Linux. The Release Notes are formatted in HTML files located at the root of the disc. Copy the files to your installation directory. For example:
cp /mnt/cdrom/RELEASE-NOTES*.html /location/of/disk/space/
The Release Notes are also available online from http://www.redhat.com/docs/.
Next, make /location/of/disk/space/ available for network installation via NFS, FTP, or HTTP and verify access from a client system.
For NFS, export the directory by adding an entry to /etc/exports to export to a specific system:
To export to all machines (not appropriate for all NFS systems), add:
Start the NFS daemon (on a Red Hat Enterprise Linux machine, use /sbin/service nfs start). If NFS is already running, reload the configuration file (on a Red Hat Enterprise Linux system, use /sbin/service nfs reload).
Be sure to test the NFS share following the directions in the Red Hat Enterprise Linux System Administration Guide.
If the RedHat/ directory does not appear in the NFS shared directory, the wrong path may have been mounted and/or exported.
FTP and HTTP installations also support a second type of tree structure. To make it easier to access the contents of the installation CD-ROMs, mount each CD-ROM or ISO image with the following mount point on the FTP or HTTP server (where X is the number of the CD-ROM or ISO image):
mount -o loop CD1.iso /location/of/disk/space/disc1/
NFS installations can use ISO (or CD-ROM) images rather than copying an entire installation tree. After placing the required ISO images (the binary Red Hat Enterprise Linux CD-ROMs) in a directory, choose to install via NFS. You will then point the installation program at that directory to perform the installation.
Verifying that the ISO images are intact before you attempt an installation will help to avoid problems that are often encountered during an NFS installation. To verify the ISO images are intact prior to performing an installation, use an md5sum program (many md5sum programs are available for various operating systems). An md5sum program should be available on the same server as the ISO images.
Additionally, if a file called updates.img exists in the directory from which you install, then it will be used for installation program updates. Refer to the file install-methods.txt in the anaconda RPM package for detailed information on the various ways to install Red Hat Enterprise Linux, as well as how to apply the installation program updates.
You can only have the ISO images for one release and one variant of Red Hat Enterprise Linux in the directory.