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