CentOS下Zeus 4.3r3的安装及基本配置
http://tech.ddvip.com 2008年05月28日 社区交流 收藏本文
内容摘要:Zeus是一个著名的web服务器软件,其效能远在apache1/2之上,是独立服务器用户跑论坛的首选,对内存小于1G而流量非常大的用户,换用Zeus会比Apache多获得一倍的负载能力。
Would you like Zeus to start at boot time? Y/N [Y]: (回车)
安装完毕,非常简单!
启动Zeus的命令为 /usr/local/zeus/start-zeus
停止Zeus的命令为 /usr/local/zeus/stop-zeus
重启Zeus的命令为 /usr/local/zeus/restart-zeus
如果你找到破解文件,那先停掉zeus进行破解!
/usr/local/zeus/stop-zeus
cp /破解文件具体目录/zeus.web /usr/local/zeus/web/bin
破解完毕(现在下载到的4.3r3版似乎不需要这一步)
下面把Zeus自带的PHP换掉
rm /home/zeus/php/php.zeus
给刚刚编译的PHP做一个符号连接
ln -s /home/php/bin/php /home/zeus/php/php.zeus
设置Zeus
打开浏览器访问:http://your.com:9090 (用户名admin,密码是你刚才设定的)
点“Virtual Server”,进入创建虚拟主机:
Virtual Server Name:主机名
Host Name and Port:域名和端口
Server Comment:随便
Document Root:web文件放置的位置
Aliases:多域名绑定填在这里,用(,)号分隔开。
Webmaster Email Address:随便
Clone server:别理它
点击“Create Virtual Server”按钮提交。
提交后,现在将进入虚拟主机的具体配置:
点击左边的“FastCGI”
Enabling Support for FastCGI Programs:选择“Enabled"
跟着往下找到“Adding a FastCGI Remote Responder”
Directory name:填/usr/local/php/bin/php
Location: Machine name: 填localhost
Port:填8002
其他的全部不用填,点击“apply change”
责编:豆豆技术应用