Page 186 - DCAP106_OPERATING_SYSTEM_TOOLS
P. 186
Unit 10: Servers
customized to play nicely with other RPMs and provide a consistent interface to installing, Notes
updating, and removing binaries. They often entail a loss of flexibility and clarity – for instance,
it\’s not readily apparent where the contents of some packages will end up. That said, for Linux
newcomers or when installing a small standard component, RPMs are simple and reliable.
Bear in mind that an Apache RPM may previously be installed on your system depending on
how Linux was formerly installed on your computer. To find out, at the shell prompt, type:
rpm
-qa | grep apache
If you see something like apache-1.3.9xxx, an Apache RPM has already been installed and you
can skip on to
\”Starting Apache\”.
If you don’t have an Apache RPM, you must obtain one. RedHat 6.x
Onwards ships with apache-1.x.x-x.i386.rpm in the RedHat/RPMS directory on the installation
CD. Or, point your Web browser at you throw tons of CGI scripts at it, while making database
calls at the same time, you\’re going to slow it down. Though much of the slowdown will come
from your scripts themselves, and not Apache.
Most of the Apache configuration features are cross platform. That means that if you make a
modification to Apache on Linux, that same adjustment, or one extremely similar, is available on
other various flavors of Linux using the same syntax!
These Installation Instructions Assume:
z z Commands are Unix-compatible.
z z The source path is /var/tmp, other paths are possible.
z z Installations were tested on Red Hat Linux 6.1 and 6.2.
z z All steps in the installation will happen in super-user account root.
z z Apache version number is 1.3.12.
z z Mod_SSL version number is 2.6.4-1.3.12.
z z Mod_Perl version number is 1.24.
z z Mod_PHP version number is 4.0.0.
Table 10.4 enlists the required action points for installing the Apache Web server.
Table 10.4: Required Action Points for Installing the Apache Web Server
Apache Homepage: http://www.apache.org/ Mod_Perl Homepage: http://perl.apache.org/
Apache FTP Site: 63.211.145.10 Mod_Perl FTP Site: 63.211.145.10
You must be sure to download: apache_1.3.12. You must be sure to download: mod_perl-1.24.
tar.gz tar.gz
Mod_SSL Homepage: http://www.modssl. Mod_PHP Homepage: http://www.php.net/
org/
Mod_SSL FTP Site: 129.132.7.171 You must be sure to download: php-4.0.0.tar.gz
You must be sure to download: mod_ssl-2.6.4-
1.3.12.tar.gz
And don’t forget that these are the basics if you are following the steps described by us exactly.
z z OpenSSL should be previously installed on your system if you want Apache and SSL
encryption support.
LOVELY PROFESSIONAL UNIVERSITY 179