Linux network service software installation memorandum (Backup)

Source: Internet
Author: User
Tags unpack
Linux network service software installation memorandum (Backup)-Linux Enterprise Application-Linux server application information, the following is a detailed description. Summary
This article briefly introduces the installation of network service software on the Linux platform, such as Apache, MySQL, PHP, ftp server, IRC server, VPN Server, BBS server, Instant Messaging Server, and network radio server. configuration.

--------------------------------------------------------------------------------
By dumb
Linux network service software installation memorandum ver 0.3
By huhuuworm
※Software version
RedHat Linux 9 □the following software is successfully installed on this platform

Apache 2.0.46 ◇ Web Server
MySQL 4.0.13 ◇ Database Server
PHP 4.3.1 ◇ server 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
CnphpBB 2.0.4mod ◇ BBS written in PHP
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
Add index. php to DirectoryIndex
Add AddType application/x-httpd-php. php. phtml. php3. inc
Add a line of LoadModule php4_module modules/libphp4.so
Change adddefacharcharset to GB2312
5. run at startup:
Vi/etc/rc. d/rc. local add a line/usr/local/apache/bin/apachectl start

MySQL:
1. Download:
Http://mysql.ihostunit.com/Downl... c-linux-i686.tar.gz
2. installation:
Groupadd mysql
Useradd-g mysql
Cd/usr/local
Gunzip </path/to/mysql-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 at startup:
Vi/etc/rc. d/rc. local Add a 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 modify 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 change Group to nobody
4. Run:
/Usr/local/sbin/proftpd
5. run at startup:
Vi/etc/rc. d/rc. local add a line/usr/local/sbin/proftpd

Vsftpd:
1. Download:
Ftp://ftp.rpmfind.net/linux/redh... pd-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 is described in detail and configured as needed.
Modify/etc/vsftpd and set disable to NO
4. Run:
Service xinetd reload

UnrealIRCd:
1. Download:
Http://www.unrealircd.com/downloads.php
2. Unpack:
Tar xvfz Unreal3.2-beta16.tar.gz.tar
3. installation:
Cd Unreal3.2
./Config
./Make
4. Configuration:
Cp doc/example. conf./unrealircd. conf
Set unrealircd. conf as needed
5. Run:
./Unreal start
6. run at startup:
Vi/etc/rc. d/rc. local add a line of cd/home/huuworm/Unreal3.2;./unreal start

Pptpd:
1. Download:
Http://aleron.dl.sourceforge.net... tpd-1.1.4-b4.tar.gz

2. Unpack:

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

Speed115200

Option/etc/ppp/options

Localip 192.168.1.88-168

Remoteip 192.168.2.88-168

※Vi/etc/ppp/options

Lock

Name huuworm.org

Auth

Require-chap

Proxyarp

※Vi/etc/ppp/chap-secrets

Huuworm huuworm.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 restart:
Reboot

CnphpBB:
1. Download:
Http://www.cnphpbb.com/forum/download.php? Id = 393
2. Unpack:
Unrar x phpBB204mod.rar
3. installation:
Mv phpBB204mod/usr/local/apache/htdocs/forum
Chown nobody. nobody/usr/local/apache/htdocs/-R
Mysql: create DATABASE forum;
Open http: // your domain name/forum/in a browser. The page will automatically go to the installation page.
Fill in the required parameters and follow the next step
Delete the forum/contrib, forum/install directories.



JabberD:
1. Download:
Http://jabberd.jabberstudio.org... rt-0.2-linux.tar.gz
2. Unpack:
Tar xvfz jabberd-quickstart-0.2-linux.tar.gz
3. Management:
Cd jabberd-quickstart
./Setup. sh
Displays the interface to configure parameters, manage users, and start and stop the Jabber server
4. Client:
JAJC: Just Another Jabber Client
Home: http://jajc.ksn.ru/
Software Package: http://jajc.ksn.ru/downloads/jajc0.0.7.100.rar
Chinese Language Pack: http://jajc.ksn.ru/lngs/zh. lng
Sample:

1. Download:
Http://aleron.dl.sourceforge.net.../ample-0.5.6.tar.gz
2. Unpack:
Tar xvfz ample-0.5.6.tar.gz
3. installation:
Cd ample-0.5.6
./Configure
Make
Make install
4. Configuration:
Create a new file in the/usr/local/etc/directory: ample. conf
You can modify the content as follows:
# An example of a Ample config file
#
# @ Copyleft 2003 hutuworm.org
#
# All options supported are supported DED
#
# Boolean values can be given as (case insensitive)
# Yes, true, no, false
# Port number to use
Port = 8000
# Shocould files be ordered?
Order = false
# Amount of simultaneous clients allowed
Clients = 5
# Path to logfile if syslog isn' t used
Logfile =/var/log/ample
# Path to MP3 files
Mp3path =/usr/local/mp3 # Put all mp3 files in this directory
# Shoshould that path be recursively scanned?
Recursive = true
# Name of the server (displayed to clients in HTML and MetaData)
Servername = maid Internet Radio http://radio.hutuworm.org: 8000/
# The end
5. Run:
/Usr/local/bin/ample
Available XMMS, winamp, Media Player and other client software access http://radio.hutuworm.org: 8000/
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.