Specifications
Our installation will be done on a Red Hat 6.2 Linux server, but will be generic enough to
apply to other UNIX servers.
Let’s start by listing out the tools for our installation process.
• Apache (http://www.apache.org/): The Web Server
• Mod_SSL (http://www.modssl.org/): The module for the Secure Sockets Layer
• OpenSSL (http://www.openssl.org/): Open Source Toolkit (required for Mod_SSL)
• RSARef (http://ftpsearch.lycos.com/): Only necessary for those in the US
• MySQL (
http://www.mysql.com/): The relational database
• PHP (
http://www.php.net/): The server-side scripting language
We will assume that you have root access to the server and that you have the following tools
installed on your system.
• Perl (Preferably the newest version)
• gzip or gunzip
• gcc and GNU make
If you don’t have these items installed, you’ll need to take the necessary steps to get them
installed before any of the procedures will make sense.
If you do not have root access, your options are
• Ask your sysadmin to install PHP for you
• Install and execute the PHP engine in your own user cgi-bin directory
• Run your own PHP-enabled Web server on a non-standard port
We will focus on the case in which you have root access.
When you are ready to begin the installation process, you should start by downloading all tar
file sources to a temp directory. Make sure you put them somewhere with plenty of space. In
our case, we chose /tmp/download for the temporary directory. You should download them as
root to avoid permissions problems.
The directories that we chose for our trio are the following:
• /usr/local/apache
• /usr/local/mysql
• /usr/local/ssl
You can install to different directories by changing the prefix option before installation.
Appendixes
P
ART VI
784
38 7842 app a 3/6/01 3:40 PM Page 784