|
||||||||||||||||||||
|
|
3. InstallationFirst we hve take care of the few pre-requisites, and then we will get into the main installtion. 3.1. Pre-requisitesThe 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 3.1.1. iPlanet LDAP SDKBecome 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 3.1.2. OpenSSL EngineNext 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 3.2. mySQLInstallaing 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
3.2.1. Starting mySQLNow 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:
3.2.2. Stopping mySQLTo stop the MySQL server, follow the instructions below
3.2.3. Locating Data DirectorymySQL 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:
3.3. Apache 2.0Start 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
3.4. mod_auth_ldapUntar modauthldap_apache2.tar.gz
Now configure and install mod_auth_ldap
3.5. CERT DB for LDAPS://You will also need to get the cert7.db and key7.db from http://www.xml-dev.com/xml/key3.db and http://www.xml-dev.com/xml/cert7.db and place it in the /usr/local/apache2/sslcert/directory. 3.6. PHPUnzip the PHP Source Files
Configure and run the make command
Compile the source code
Copy the php.ini file to the appropriate directory
| |||||||||||||||||||
|
||||||||||||||||||||