LAMP installation
Documents Last updated: 2003.05.23 12:28 Installation Environment: Redhat 7.2 double piii 966MHZ 512M RAM 40Gx2 Harddisk (http://www.ooso.net) The following are installed using the root login.
MYSQL installation
Related Documents Download: http://www.mysql.com/downloads/mysql-4.0.html Description Document: http://www.mysql.com/Documentation/mysql/bychapter/index.html Installation Steps: Personally think custom installation When MySQL is the most convenient, it is not easy to find in actual use. When this document is generated, the latest version of MySQL is mysql 4.0.13, here is the step of installing MySQL 4.0.13 (there is slightly in different versions). The following steps are referred to http://www.mysql.com/documentation/mysql/bychapter/manual_installing.html#installing_binary
Download Binary Packages Edition Mysql 4.0.13 to / usr / local / src shell> GroupAdd MySQLShell> UserAdd -g mysql mysqlshell> cd / usr / localshell> gunzip LN -S FULL-path-to-mysql-version-os mysqlshell> cd mysqlshell> scripts / mysql_install_dbshell> chown -r root .shell> chn -r mysql datashell> chgrp -r mysql .shell> bin / MySQLD_SAFE - IUSER = mysql & setting Automatically starts mysql to add a line in /etc/rc.local: cd / usr / local / mysql; bin / safe_mysqld --user = mysql & to this, MySQL installation is complete.
Apache installation
Related Documents Download: http://httpd.apache.org/download.cgi Description Document: http://httpd.apache.org/docs-2.0/ Installation steps: This document is generated using the source code, Apache The latest stability in version 2.0.45 is 2.0.45, the following is the step of installing 2.0.45.
Download Apache 2.0.45 and the MD5 check code of the file to / usr / local / src md5 check: MD5SUM -B HTTPD-2.0.45.tar.gz school pair to this value with httpd-2.0.45.tar.gz The content of .md5 is consistent. Start compilation and installation: This is used to compile Apache, which can be easily upgraded and other modules, do not have to recompile Apache every time. Apache installed to / usr / local / apachetar -xzvf httpd-2.0.45.tar.gz cd httpd-2.0.45./configure --prefix = / usr / local / httpd --enable-deflate / - enable-so --enable-shutrite --enable-spellingdir = / usr / libmakemake install apache installation is complete.
PHP installation
Related Files Download: http://www.php.net/downloads.php PHP User Manual: http://www.php.net/docs.php Installation Steps: When this document is generated, the latest stability version of PHP is 4.3. 1, the following is the step of installing PHP 4.3.1 Download PHP 4.3.1 to / usr / local / src Start Compilation: TAR -XJVF PHP-4.3.1.tar.bz2cd php-4.3.1./buildconf./ Configure --Nable-ftp --with-gd / - with-mysql = / usr / local / mysql --enable-track-vars / - apxs2 = / usr / local / httpd / bin / apxs - WITH-ZLIB / - WITH-JPEG-DIR = / usr / lib --with-png-dir = / usr / libmakemake installcp ./php.ini-dist /usr/local/lib/php.ini Configuring apache httpd .conf to support PHP
DirectoryIndex ......
Change to
DirectoryIndex index.php index.htm index.html
Add below: AddType Application / X-httpd-php .php .incaddType Application / X-httpd-php-source .phps PHP installation completion
Zend Optimizer installation
Related File Download: http://www.zend.com/store/products/ze-optimizer.php Zend Optimizer is free software, you can download free software, you can download free, installation steps are relatively simple, decompressed after running INSTALL.SH follows the prompts to complete the installation. http://www.ooso.net