Ubuntu 9.04下面安装Cherokee简易教程


Cherokee 却号称是当前最快的 Web 服务器,下面讲解下在Ubuntu 9.04下面安装Cherokee简易教程。

访问 https://launchpad.net/~cherokee-webserver/+archive/ppa 找到自己的源


修改 vi /etc/apt/sources.list
我的是
复制内容到剪贴板


deb http://ppa.launchpad.net/cherokee-webserver/ppa/Ubuntu jaunty main
deb-src http://ppa.launchpad.net/cherokee-webserver/ppa/Ubuntu jaunty main
首先导入key
#apt-key adv --keyserver keyserver.Ubuntu.com --recv-keys EBA7BD49
#apt-get update
#apt-get install mysql-server-5.0 mysql-client
这里需要设置MySQL root 用户密码.
#apt-get install php5-cgi
#apt-get install php5-mysql
#apt-get install cpp gcc g++ make
# apt-get install cherokee

到这里你就安装好了 不是很难吧,结果我花了好久才弄好这个方法.

使用管理界面
运行
#cherokee-admin -b
Login:
User: admin
One-time Password: xusWEshjBPoFC0Gl
Cherokee Web Server 0.10.1 (Nov 5 2008): Listening on port 9090, TLS disabled,
IPv6 disabled, using epoll, 1024 fds system limit, max. 505 connections,
single thread
接着打开网页.端口:http://你的网址或者ip:9090

这里你的php还不能用~~~我就卡这里卡好久,没有教程和我说~~~
把界面换成中文
然后选虚拟主机设置–点击你的要设置的主机
选扩张设置,然后点wizards
然后选languages,就看到了
 

相关内容

    暂无相关文章