Zeus 4.3 For Freebsd安装指南

http://tech.ddvip.com   2008年05月28日    社区交流 收藏本文

内容摘要:zeus是一个著名的web服务器软件,其效能远在apache1/2之上,是独立服务器用户跑论坛的首选,对内存小于1G而流量非常大的用户,换用zeus会比apache多获得一倍的负载能力。

  zeus是一个著名的web服务器软件,其效能远在apache1/2之上,是独立服务器用户跑论坛的首选,对内存小于1G而流量非常大的用户,换用zeus会比apache多获得一倍的负载能力。

  本文提供本人在FreeBSD4.1下安装Zeus4.3的一些经验

  找一个zeus 4.3 for BSD的版本下载,(都下载到/root里面吧,这样省事)

  通常服务器都会跑apache的,先停掉它:

  /usr/local/apache/bin/apachectl stop

  解压软件包:

  tar xvzf Zeus_43_FreeBSD4.tgz #把破解包直接解压在/root

  cd Zeus_43_FreeBSD4/

  开始安装

  ./zinstall

  按CTRL+C 打入accept

  Where should the prodUCt be installed? [/usr/local/zeus]: 回车

  Installation options:

  1. Full install of both admin server & web server

  2. Stand-alone install of admin server

  3. Clustered install of web server

  H. Help

  Choose installation option [1]: 回车

  Enter the key filename, or leave blank for unlicensed mode: (这里输入你的key路径,昨天我发过30天的key,网上有破解版不限制时间的)

  Please choose a passWord for the admin server: ****** (输入管理员密码)

  Re-enter: ****** (重新输入密码)

  What USER do you want to run zeus?[nobody]:(输入nobody,回车)

  What Group do you want to run zeus?[nobody]: (输入nobody,回车)

  //这两步的安装提示我记得不太清楚了,具体大家看提示,敲入nobody就行的了.

  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

  破解完毕

  设置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”

  点击左边最下方的“PHP”进入php配置。

  Enabling PHP Support:选择Enabled

  Process Management:并发请求,自己按需设置

  点击“apply change”

  左边的菜单中找到“Directory Requests”

  Index Files:索引文件,按自己的需要设置

  Directory Listing:一定要Disabled

  点击“apply change”

  再在左边菜单找到“htAccess Support”

  Enabling .htaccess File Processing:选择Enabled

  点击“apply change”

  好了,配置完了,点击上面的“This configuration has been modified. Click here for details or to make it take effect. ”,再点击 “commit”,完成了一个虚拟主机的设置。现在在主界面上启动这个虚拟主机,然后打开 http://www.domain.com,马上能看到你的网页了啦!

责编:豆豆技术应用

正在加载评论...