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
Test the success of http://ip:9090 installation will jump out of a certification window, enter the admin password you can see Zeus backstage. Okay, calm down, just get the rest.
5. Installation Zend
cd /home/axin/server下载zendtar
zvxf ZendOptimizer-2[1].5.1-FreeBSD4.0-i386.tar.gz
cd ZendOptimizer-2.5.1-FreeBSD4.0-i386./install.sh
问Are you using Apache web server?的时候选No
6, installation
mmcachecd /usr/ports/www/truck-mmachemake
installmake cleanvi /usr/local/etc/php.ini
加上
[mmcache]zend_extension="/usr/local/lib/php/20020429/mmcache.so"mmcache.
shm_size="16"mmcache.cache_dir="/var/tmp/mmcache"mmcache.enable="1"mmcache.
optimizer="1"mmcache.check_mtime="1"mmcache.debug="0"mmcache.
filter=""mmcache.shm_max="0"mmcache.shm_ttl="0"mmcache.
shm_prune_period="0"mmcache.shm_only="0"mmcache.compress="1"mmcache.
keys="shm_and_disk"mmcache.sessions="shm_and_disk"mmcache.content="shm_and_disk"