TASK: Web Server Upgrade

Your task is to upgrade the Apache web server running on machine01s from version 1.3 to version 2.0.

Operator procedure:

  1. Download Apache web server version 2.0.49 from www.apache.org.
  2. Uncompress Apache source code in the target machine (machine01s).
  3. Configure the source code by running the "configure" script.
  4. Compile and install Apache by running "make" and then "make install".
  5. In order for the new Apache to be correctly integrated into the system, you will need to use the Apache mod_jk.so module located in your home directory (/home/fakeoperator). Copy the file mod_jk.so from there to the directory where the new Apache stores all modules. The mentioned module has been already compiled for you.
  6. In machine01s, copy from the old Apache distribution the file /scratch/httpd/conf/workers.properties to the directory where the new Apache maintains the configuration files. The file workers.properties is used by the mod_jk module you previously copied. It specifies the names of the machines running Tomcat on the second tier.
  7. In machine01s, copy from the old Apache distribution the file /scratch/httpd/conf/mcast_heartbeat_db.conf to the directory where the new Apache maintains the configuration files.
  8. In machine01s, copy from the old Apache distribution the script /scratch/httpd/bin/apachectl over the original "apachectl" script that accompanies the Apache distribution you downloaded. If necessary, modify the just copied script to reflect the correct paths for the new Apache.
  9.  Modify the configuration file httpd.conf of the new Apache distribution properly, so that it can be integrated into the system
  10.  Stop the old Apache processes.
  11.  Start the new Apache on machine01s by running the Apache script  "apachectl" passing "start" as an argument.
  12.  Check to make sure apache "httpd" processes and the "mcast_heartbeat_db" process are running.
End of operator procedure.