Linux network service software installation memorandum ver0.4

Source: Internet
Author: User
Linux network service software installation memorandum ver0.4 -- Linux Enterprise Application-Linux server application information. The following is a detailed description. ※Software version
Fedora CORE 1 Yarrow □the following software is successfully installed on this platform
Apache 2.0.48 ◇ Web Server
MySQL 4.0.16 ◇ Database Server
PHP 4.3.4 ◇ server scripting language
ProFTPD 1.2.9 ◇ FTP Server
Vsftpd 1.2.0 ◇ very secure FTP Server
UnrealIRCd 3.2-beta18 ◇ IRC server
Pptpd 1.1.4-b3 ◇ VPN Server
CnphpBB 2.0.4mod ◇ BBS written in PHP
Ample 0.5.6 ◇ network radio Server
Resin 3.0.3 ◇ Application Server


※Installation Process

Apache:
1. Download:
Http://www.apache.org/dist/httpd/httpd-2.0.48.tar.gz
2. Unpack:
Tar xvfz httpd-2.0.48.tar.gz
3. installation:
Cd httpd-2.0.48
./Configure -- prefix =/usr/local/apache -- enable-so -- enable-proxy -- enable-rewrite -- enable-cache -- enable-disk-cache -- enable-mem-cache
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.4.tar.gz/from/this/mirror
2. Unpack:
Tar xvfz php-4.3.4.tar.gz
3. installation:
Cd php-4.3.4
. /Configure -- with-mysql =/usr/local/mysql -- with-apxs2 =/usr/local/apache/bin/apxs -- enable-track-vars -- with-gd -- with-zlib -- with-xml -- with-xmlrpc
Make
Make install
Libtool -- finish/root/php-4.3.4/libs
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.9.tar.gz
2. Unpack:
Tar xvfz proftpd-1.2.9.tar.gz
3. installation:
Cd proftpd-1.2.9
./Configure
Make
Make install
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://vsftpd.beasts.org/users/cevans/vsftpd-1.2.0.tar.gz
2. installation:
Tar xvfz
3. Configuration:
Cp EXAMPLE/INTERNET_SITE/vsftpd. xinetd/etc/xinetd. d/vsftpd
Cp EXAMPLE/INTERNET_SITE/vsftpd. conf/etc/
Modify/etc/vsftpd. conf as needed
Modify/etc/xinetd. d/vsftpd to set disable to NO
4. Run:
Service xinetd restart


UnrealIRCd:
1. Download:
Http://www.unrealircd.com/downloads.php
2. Unpack:
Tar xvfz Unreal3.2-beta18.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.


Ample:
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/


Resin:
1. Download:
Http://www.caucho.com/download/resin-ee-3.0.3.tar.gz
2. Unpack:
Tar xvfz resin-ee-3.0.3.tar.gz
3. installation:
Music resin-ee-3.0.3/usr/local/
Cd/usr/local/
Ln-s resin-ee-3.0.3/resin
Cd resin
./Configure -- with-apache =/usr/local/apache
Make
Make install
4. Run:
/Usr/local/resin/bin/httpd. sh
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.