This article briefly introduces the installation configuration of network service software such as Apache, MySQL, PHP, FTP servers, IRC, VPN servers, BBS servers, IRC servers, VPN servers, etc. on Linux platforms. (2003-08-14 09:20:59)
By bluses
Linux network service software installation memo VER 0.3 by hutueworm ※ Software version Redhat Linux 9 □ The following software is installed on this platform Apache 2.0.46 ◇ Web server mysql 4.0.13 ◇ Database server PHP 4.3.1 ◇ Server-side scripting language Proftpd 1.2.8 ◇ FTP server vsftpd 1.1.0-1 ◇ Very secure FTP server unrealircd 3.2-beta16 ◇ IRC server PPTPD 1.1.4-b3 ◇ VPN server CNPBB 2.0.4MOD ◇ PHP written BBS Jabberd QuickStart 0.2 ◇ instant messaging server AMPLE 0.5.6 ◇ Network Radio Server ※ Installation Process Apache: 1. Download: http://www.apache.org/dist/httpd/httpd-2.0.46.tar.gz 2. Unpack: TAR XVFZ HTTPD-2.0 .46.tar.gz 3. Installation: CD httpd-2.0.46 ./configure --prefix = / usr / local / apache --enable-so make make install 4. Modify httpd.conf: vi / usr / local / apache / conf / httpd.conf DirectoryIndex index.php plus the added line AddType application / x-httpd-php .php .phtml .php3 .inc his party LoadModule php4_module modules / libphp4.so GB2312 5. when starting the read AddDefaultCharset Operation: vi /etc/rc.d/rc.local plus a row / usr / local / apache / bin / apachectl start mysql: 1. Download: http://mysql.ihostUnit.com/downloads/mysql-4.0/mysql- Standard-4.0.13-PC-Linux-i686.tar.gz 2. Installation: GroupAdd MySQL UseRadd -g mysql mysql CD / USR / LOCAL Gunzip Path / TO / M YSQL-VERSION-OS.TAR.GZ | TAR XVF - LN -S FULL-path-to-mysql-version-os mysql cd mysql scripts / mysql_install_db chown -r root. chown -r mysql data chgrp -r mysql. 3. Run: ./bin/mysqld_safe --user = mysql & 4. Run when starting: vi /etc/rc.d/rc.local plus a line CD /USR /LOCAL/MYSQL (/bin/mysqld_safe --user = mysql & Php: 1. Download: http://www.php.net/get/php-4.3.2.tar.gz/from/this/mirror 2. Unpack: TAR XVFZ PHP-4.3.2.tar.gz 3. Installation: CD PHP-4.3.2 ./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.gz 2. Unpack: tar xvfz proFTPD-1.2.8.tar. GZ 3. Installation: CD proFTPD-1.2.8 ./configure make make install vi/usr/local/etc/proftpd.conf changed to Nobody 4. Run: / usr / local / sbin / proFTPD 5. Startup Operation: vi /etc/rc.d/rc.local plus a row / usr / local / sbin / proFTPD vSftpd: 1. FTP: //ftp.rpmfind.net/linux/redhat/9/EN/OS/i386 /Redhat/rpms/vsftpd-1.1.3-8.i386.rpm 2. Installation: rpm -ihv vsftpd-1.1.3-8.i386.rpm 3. Configuration: vi /etc/vsftpd.conf Each option has Detailed description, configure it as needed.
Modify / etc / vsftpd Set Disable to NO 4. Run: Service Xinetd Reload Unrealircd: 1. Download: http://www.unrealircd.com/downloads.php 2. Unreparable: tar xvfz unreal3.2-beta16.tar .gz.tar 3. Installation: CD unreal3.2 ./config ./make 4. Configuration: cp doc / example.conf ./unRealircd.conf According to the Documentation Setup UnrealIrcd.conf 5. Run: ./unreal Start 6 Running at start: vi /etc/rc.d/rc.local plus a line CD /Home/Hutuworm/unreal3.2 ;/unreal start pptpd: 1. h 下载: http://aleron.dl.sourceforge.net/ SourceForge / POPTOP / PPTPD-1.1.4-b4.tar.gz 2. Unpacking: TAR XVFZ PPTPD-1.1.4-B4.Tar.gz 3. Installation: CD Poptop-1.1.4 / ./configure make make check Make Install 4. Configuration: ※ vi /etc/pptpd.conf Speed 115200 Option / etc / PPP / Options Localip 192.168.1.88-168 Remoteip 192.168.2.88-168 ※ VI / etc / ppp / options lock name hutuworm.org Auth request -chap proxyarp ※ vi / etc / ppp / chap-secrets hutuworm hutuworm.org password * ※ vi /etc/rc.d/rc.local modprobe ipip modprobe ip_conntrack modprobe iptable_nat modprobe ipt_MASQUERADE iptables -t nat -A POSTROUTING -d 0.0. 0.0 / 0 -J Masquerade Echo 1> / Proc / Sys / Net / IPv4 / ip_forward / usr / local / sbin / pptpd 5. Automatically run after reconnect: Reboot CNPBB: 1. Download: http://www.cnphpbb.com/forum/download.php?id=393 2. Unrupted: unrar x phpb204mod.rar 3. Installation: MV phpB204MOD / USR / local / apache / htdocs / forum chown nobody.nobody / usr / local / apache / htdocs / -r mysql: Create Database Forum; open http: // you Domain name / forum /, page will automatically turn to the installation page to fill the required parameters, press the next step to delete the Jabberd: 1. Http://jabberd.jabberstudio.org/quickstart/linux /jabberd-quickstart-0.2-linux.tar.gz 2. Unpack: TAR XVFZ Jabberd-QuickStart-0.2-Linux.tar.gz 3. Management: CD Jabberd-QuickStart ./setup.sh Display Interface To configure parameters, management User, start and stop Jabber server 4. Client: