Installation guide

Note
In the following examples, the directory on the installation staging server that will
contain the installation files will be specified as /location/of/disk/space. The dir-
ectory that will be made publicly available via FTP, NFS, or HTTP will be specified
as /export/directory. For example, /location/of/disk/space may be a directory
you create called /var/isos. /export/directory might be /var/www/html/rhel5, for
an HTTP install.
To copy the files from the installation DVD or CD-ROMs to a Linux machine which acts as an in-
stallation staging server, perform the following steps:
Create an iso image from the installation disk(s) using the following command:
For DVD:
dd if=/dev/dvd of=/location/of/disk/space/RHEL5.iso
where dvd refers to your DVD drive device.
For CD-ROMs:
dd if=/dev/cdrom of=/location/of/disk/space/diskX.iso
where cdrom refers to your CD drive device, and X is the number of the disk that you are
copying, beginning with 1 for the first disk, and so on.
5.1. Preparing for FTP and HTTP installation
For FTP and HTTP installation, the iso image or images should be mounted via loopback in the
publicly available directory, in the following manner:
For DVD:
mount -o loop /location/of/disk/space/RHEL5.iso /export/directory/
In this case /export/directory will be a directory that is shared via FTP or HTTP.
For CDROMs:
mount -o loop /location/of/disk/space/diskX.iso /export/directory/diskX/
Do the above for each of the CDROM iso images, for example:
mount -o loop /var/isos/disk1.iso /var/www/html/rhel5-install/disk1/
Next make sure that the /export/directory directory is shared via FTP or HTTP, and verify cli-
ent access. You can check to see whether the directory is accessible from the server itself, and
then from another machine on the same subnet that you will be installing to.
5.1. Preparing for FTP and HTTP installation
7