A very good Web server running under Unix Zeus

Source: Internet
Author: User
Tags install php ini key mysql net

Zeus is a very good Web server running under UNIX, and is said to have more performance than Apache and is one of the strongest Web servers

Because Zeus's Chinese introduction is very few, many administrators do not know this super Web Server, some know to suffer from Chinese installation instructions very little,

The following installation environment FreeBSD4.9, updated the source code tree, recompile the kernel and system, ports latest! Enter system Su becomes root

1, install MySQL

Cd/usr/ports/databases/mysql323-server

Make install

Make clean

/usr/local/bin/safe_mysqld & Start MySQL

/usr/local/bin/mysqladmin-uroot password Password to modify the MySQL root password,

Default is empty

/usr/local/bin/mysql-uroot-p Password

If there's a mysql>, congratulations on your installation.

2. Installation fastcgi

cd/usr/ports/www/fcgi/

Make install

Make clean

When you're done, you'll see a libfcgi.a file in the/usr/local/lib directory.

All header files in the/usr/local/include directory will be fastcgi

3. Install PHP

cd/usr/ports/www/php4-cgi

Make With_fastcgi=yes Install

It will ask you to select the PHP module you need, select the PHP module you need to

Make clean

Cp/usr/local/etc/php.ini-dist/usr/local/etc/php.ini

Test

/usr/local/bin/php

Input

Press CTRL-D to see the information returned by PHP after the installation was successful

4. Installation Zeus

Download the address Http://www.axin.net/Zeus_42r4_FreeBSD4.tar his registration file

http://www.axin.net/license.key
cd /home/axinmkdir servercd serverfetch http://www.axin.net/Zeus_42r4_FreeBSD4.tar
下载zeusfetch http://www.axin.net/license.key
下载licenstar vxf Zeus_42r4_FreeBSD4.tar
解开cd Zeus_42r4_FreeBSD4./zinstall按CTRL+C
打入acceptWhere should the product be installed?
[/usr/local/zeus]: 问你要安装到哪里
默认usr/local/zeus
Installation options:1. Full install of both admin server
& web server2. Stand-alone install of admin server3. Clustered install of web serverH. Help
Choose installation option [1]: 选择安装模式 1吧 全部安装
Enter the key filename, or leave blank for unlicensed mode:
/home/axin/server/license.key (输入密匙位置)
Please choose a password for the admin server:
****** (输入管理员密码)Re-enter:
****** (重新输入密码)
Would you like Zeus to start at boot time? Y/N [Y]: (回车)

Installation is simple



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.