Linux network service software installation memo Ver 0.1
By Hutuworm
※ Software version Redhat Linux 8.0apache 2.0.45mysql 3.23.56php 4.3.1proftpd 1.2.8
※Installation process
Apache: 1. Download: http://www.apache.org/dist/httpd/httpd-2.0.45.tar.gz2. Unpack: TAR XVFZ httpd-2.0.45.tar.gz3. Installation: CD httpd- 2.0.45 ./configure --prefix = / usr / local / apache --enable-so make make install4. Modify httpd.conf: vi /usr/local/apache/conf/httpd.conf Directoryindex plus index.php Plus a line addtype application / x-httpd-php .php .phtml .php3 .inc plus a line loadModule php4_module modules / libphp4.so adddefaultCharst changed to GB23125. Run when starting: vi /etc/rc.d/rc.local plus a line / usr / local / apache / bin / apachectl start
MySQL: 1. Use the REDHAT to upgrade to 3.23.562 with Up2date. Run: Service MySQLD Start3. Start: Chkconfig --Add MySQLD
PHP: 1. Download: http://www.php.net/get/php-4.3.1.tar.gz/from/this/mirror2. Unpack: TAR XVFZ PHP-4.3.1.tar.gz3. Installation : CD PHP-4.3.1 ./configure --with-mysql --with-apxs2 = / usr / local / apache / bin / apxs --enable-track-vars --with-gd --with-zlib - WITH-XML Make Make Install Cp php.ini-dist /usr/local/lib/php.ini vi /usr/local/lib/php.ini modified mysql.default_socket = / tmp / mysql.sock
PrOFTPD: 1. Download: ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.8.tar.gz2. Unpack: TAR XVFZ ProftPD-1.2.8.tar.gz3. Installation: CD Proftpd- 1.2.8 ./configure make make install vi/usr/local/etc/proftpd.conf changed to Nobody4. Run: / usr / local / sbin / proFTPD5. Run when starting: vi /etc/rc.d/ Rc.local plus one row / usr / local / sbin / proFTPD
※ Pair of the temple: Free Software Document Infectious Source http://www.hutuworm.org