Page 231 - DCAP602_NETWORK_OPERATING_SYSTEMS_I
P. 231

Unit 12: Server Role: Linux as Web Server




          If you see something like apache-1.3.9xxx, an Apache RPM has already been installed and you   notes
          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.
          These installation instructions assume
          1.   Commands are Unix-compatible.
          2.   The source path is /var/tmp, other paths are possible.
          3.   Installations were tested on Red Hat Linux 6.1 and 6.2.

          4.   All steps in the installation will happen in super-user account root.
          5.   Apache version number is 1.3.12
          6.   Mod_SSL version number is 2.6.4-1.3.12
          7.   Mod_Perl version number is 1.24

          8.   Mod_PHP version number is 4.0.0
          Following table enlists the 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.org/  Mod_PHP Homepage: http://www.php.net/
           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.
          1.   OpenSSL  should  be  previously  installed  on  your  system  if  you  want  Apache  and  SSL
               encryption support.

          2.   PosgreSQL  supposed  to  be  already  installed  on  your  system  if  you  want  Apache  and
               PostgreSQL database connectivity support.
          3.   MM  should  be  already  installed  on  your  system  if  you  want  Apache  and  MM  high-
               performance RAM-based session cache support.
          4.   OpenLDAP should be already installed on your system if you want Apache and LDAP
               directory connectivity support.
          5.   IMAP & POP should be already installed on your system if you want Apache and IMAP &
               POP capability.
          Before you decompress the tarballs, It is a good plan to make a list of files on the system before
          you install Apache, and one afterwards, and then compare them using diff to find out what file
          it placed where. Simply run find /* > Apache1 before and find /* > Apache2 after you install the
          software, and use diff Apache1 Apache2 > Apache-Installed to get a list of what changed.





                                           LoveLy professionaL university                                   225
   226   227   228   229   230   231   232   233   234   235   236