2. Prerequisites2.2. OpenSSL2.2.1. What is OpenSSL
OpenSSL provides the libraries and include-files needed be the products mentioned above and also provides a Application to build Server and client-Certificates. 2.2.2. Download the sourceOrigin-Site http://www.openssl.org 2.2.3. Building and installing
2.3. GNU Database System2.3.1. What is gdbm
The GNU dbm is a very important application used by almost every distribution. So it is installed by default on all distributions I tested. In all probability the needed header files which are mandatory to build Apache with mod_rewrite and PHP are not installed by default. Please consult your distributions CD/DVD and install the devel package (The version can vary):
This procedure is verified for SuSE and Redhat. Please confirm for other RPM based systems like Mandrake. Debian will follow as soon as possible. Users of Debian bases systems can install gdbm as follow:
2.4. MySQL2.4.1. What is MySQLMySQL is a very fast, powerful and very nice to handle Database. Especially for webapplications where most access is read and few write, MySQL is the first choice. The newest Version is also transaction-capable. If you plan a Webapplication, that writes a lot of Data into the DB, maybe PostgreSQL is better suited for your project see Section 6.2.4 for installation hints You need the C-API from MySQL for compiling PHP if you wish MySQL-Support in PHP. It is also needed if you want to use mod_authmysql, See Section 4.3 for more information 2.4.2. DownloadOrigin-Site: http://www.mysql.com/downloads/ 2.4.3. Building and installing
For security-improvement add a MySQL-user on your system e.g. »mysql«.
You may wish to start MySQL automatically at boottime, copy /usr/local/mysql/share/mysql/mysql.server to /etc/init.d/ (or wherever your rc-script are located) and create the corresponding symbolic link in the runlevel directories.
2.4.4. Securing MySQLThis part is only optional, and describes how to bind the MySQL daemon to the localhost IP I suggest to just bind MySQL to the loopback-interface 127.0.0.1. This makes sure nobody can connect to your MySQL-Daemon via the network. But of course it only makes sense if MySQL runs on the same box like the webserver. edit /etc/init.d/mysql.server and edit line 107 as following: Original line:
Changed line:
Alternatively you can completely disable the networking functionality of MySQL.
2.5. Building mm2.5.1. What is mm
It is a common library that enables Unix programmers to simplify shm (Shared memory) accesses. It is used by many products, e.g. PHP and mod_ssl 2.5.2. DownloadOrigin Site: ftp://ftp.ossp.org/pkg/lib/mm/mm-1.2.2.tar.gz Notes
Linux HOWTO full list |
|||||||||||||||||||||||||||||||||||||
|
This document, LDP HOWTO-INDEX, is copyrighted (c) 1995 - 2002 by Tim Bynum, Guylhem Aznar, Joshua Drake and Greg Ferguson. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html. If you have questions, please contact the LDP.
Web Design Copyright © 1999-2003. Chrisranjana Software Solutions Pvt Ltd. syndicate rss feed |