Zeus是一箇運行於Unix下的非常優秀的Web服務器,其效能遠在Apche/2之上,是服務器用戶跑論壇的首選,對內存小於G而流量非常大的用戶,換用Zeus會比Apche多獲得一倍的負載能力。今天爲大家簡單介紹在FeeBSD4.下安裝Zeus4.3的教程,僅供參考。
、找一箇zeus 4.3 fo BSD的版本下載;
解壓軟件包:
t xzf Zeus_43_FeeBSD4.tgz #把破解包直接解壓在/oot
cd Zeus_43_FeeBSD4/
2、開始安裝
./zinstll
按CTRL+C 打入ccept
Whee should the poduct be instlled? [/us/locl/zeus]: 回車
Instlltion options:
. Full instll of both dmin see ∓ web see
2. Stnd-lone instll of dmin see
3. Clusteed instll of web see
H. Help
Choose instlltion option : 回車
Ente the key filenme, o lee blnk fo unlicensed mode: (這裏輸入你的key路徑)
Plese choose psswod fo the dmin see: ****** (輸入管理員密碼)
Re-ente: ****** (重新輸入密碼)
Wht USER do you wnt to un zeus?[nobody]:(輸入nobody,回車)
Wht Goup do you wnt to un zeus?[nobody]: (輸入nobody,回車)
Would you like Zeus to stt t boot time? Y/N [Y]: (回車)
安裝完畢,非常簡單!
啓動Zeus的命令爲 /us/locl/zeus/stt-zeus
停止Zeus的命令爲 /us/locl/zeus/stop-zeus
重啓Zeus的命令爲 /us/locl/zeus/estt-zeus
打開瀏覽器訪問:http://you.com:9090 (用戶名dmin,密碼是你剛纔設定的)
點“Vitul See”,創建虛擬主機:
Vitul See Nme:主機名
Host Nme nd Pot:域名和端口
See Comment:隨便 Document Root:web文件放置的位置
Alises:多域名綁定填在這裏,用(,)號分隔開
Webmste Emil Addess:隨便
點擊“Cete Vitul See”按鈕提交,提交後,現在將虛擬主機的具體配置:
點擊左邊的“FstCGI”
Enbling Suppot fo FstCGI Pogms:選擇“Enbled”
跟着往下找到“Adding FstCGI Remote Responde”
Diectoy nme:填/us/locl/php/bin/php
Loction: Mchine nme: 填loclhost
Pot:填8002
其他的全部不用填,點擊“pply chnge”
點擊左邊最下方的“PHP”php配置。
Enbling PHP Suppot:選擇Enbled
Pocess Mngement:併發請求,自己按需設置
點擊“pply chnge”
左邊的菜單中找到“Diectoy Requests”
Index Files:索引文件,按自己的需要設置
Diectoy Listing:一定要Disbled
點擊“pply chnge”
再在左邊菜單找到“htccess Suppot”
Enbling .htccess File Pocessing:選擇Enbled
點擊“pply chnge”
配置完了,點擊上面的“This configution hs been modified. Click hee fo detils o to mke it tke effect. ”,再點擊 “commit”,完成了一箇虛擬主機的設置。