First we hve take care of the few pre-requisites, and then we will get into the main installtion.
The application server as we plan to install, requires the SSL libraries and LDAP libraries. SSL engine is also required for managing the SSL certs for Apache 2.x
Become root by using the su command:
Create the /usr/local/iplanet-ldap-sdk.5 directory. Copy the ldapcsdk5.08-Linux2.2_x86_glibc_PTH_OPT.OBJ.tar.gz form /tmp/downloads to /usr/local/iplanet-ldap-sdk.5 directory.
Now you should have all the required iPlanet LDAP lib files in the correct directory
Next we need to install the OpenSSL Engine
OpenSSL is an open source implementation of the SSL/TLS protocol. It is required to create and manage SSL certificates on the webserver. The installion is also necessary for the lib files that will be used by the SSL module for apache.
Change to the directory where you placed the OpenSSL source code files
Upon successful completion of the make install the openssl binaries should reside in /usr/local/ssl
Installaing mySQL is quite simple. The downloaded binaries have to be place in appropriate directory.
We start creating a user:group for mysql daemon, and copying the files to appropriate directories.
Next run the install_db script, and change permission on the files
Now start the mySQL server to verify the installation
Verify mySQL daemon is running, by using the ps -ef command. You should see the following output:
To stop the MySQL server, follow the instructions below
mySQL deamon stores all the information in a direcory called "Data Directory". If you followed the installation instructions above, your Data Directory should be located under /use/local/mysql/data.
To locate where your Data Directory is located, use the mysqladmin utility as follows:
Start by setting some FLAGS for the compiler
Next UNTAR the apache 2.0 source files, and execute the configure script.
Next run the make command
Now configure and install mod_auth_ldap
Unzip the PHP Source Files
Configure and run the make command
Compile the source code
Copy the php.ini file to the appropriate directory