4–Installation in a Linux Environment
Installing Software
4-16 FE0254601-00 A
10. Insert the RHEL 5 installation DVD into the optical drive on the server, or into
another drive that contains the following packet files for the RHEL 5 version
and architecture installed on the server.
kernel-headers-2.6.18-164.el5.x86_64.rpm
kernel-devel-2.6.18-164.el5.x86_64.rpm
glibc-headers-2.5-42.x86_64.rpm
glibc-devel-2.5-42.x86_64.rpm
libgomp-4.4.0-6.el5.x86_64.rpm
gcc-4.1.2-46.el5.x86_64.rpm
These packet file names will vary depending on the RHEL version and
server architecture.
11. Change to the directory that contains the required packages. In this
example, the RHEL 5 installation DVD is mounted and available at
/media/RHEL 5.4 x86_64 DVD/.
# cd /media/RHEL 5.4 x86_64 DVD/Server/
12. Enter the following commands, in order, to compile each package and
preserve dependencies.
rpm -ivh kernel-headers-2.6.18-164.el5.x86_64.rpm
rpm -ivh kernel-devel-2.6.18-164.el5.x86_64.rpm
rpm -ivh glibc-headers-2.5-42.x86_64.rpm
rpm -ivh glibc-devel-2.5-42.x86_64.rpm
rpm -ivh libgomp-4.4.0-6.el5.x86_64.rpm
rpm -ivh gcc-4.1.2-46.el5.x86_64.rpm
You can also use the yum command to compile these packages. For more
information about the yum command, refer to the manual pages.
13. Log into the server as root, or as a root-privileged user.
14. In the directory that contains the driver source file,
qla2xxx-src-x.xx.xx.xx.xx.xx-k.tar.gz, type the following
commands:
# tar -xzvf qla2xxx-src-x.xx.xx.xx.xx.xx-k.tar.gz
# cd qla2xxx-src-x.xx.xx.xx.xx.xx-k