4–Installation in a Linux Environment Installing Software

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

Figure 4-5shows the response to the first two commands.

Figure 4-5. Compiling the QLogic Driver

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.

4-8

FE0254601-00 A

Page 106
Image 106
Q-Logic 8100 SERIES manual Compiling the QLogic Driver, #cd /media/RHEL 5.4 x8664 DVD/Server