This commit is contained in:
theo-l 2015-04-04 01:14:49 -03:00
commit b0c220ef5c
2 changed files with 79 additions and 87 deletions

View File

@ -1,87 +0,0 @@
How to Install Cherokee Lightweight Web Server on Ubuntu 14.04
================================================================================
**Cherokee** is an free and open source high performance, lightweight, full-featured web server and running on major platform (Linux, Mac OS X, Solaris, and BSD). It is compatible with TLS/SSL,FastCGI, SCGI, PHP, uWSGI, SSI, CGI, LDAP, HTTP proxying, video streaming, content caching, traffic shaping, virtual hosts, Apache compatible log files, and load balancing.
Today we'll explains how to install and configure the Light Weight Cherokeeweb server on Ubuntu Server edition 14.04 LTS (Trusty) and should also work with 12.04, 12.10 and 13. 04, just skip the modification of source list.
Step by step install and configure the Cherokee web server on Ubuntu Server edition
### 1. Updating Ubuntu Package Index ###
First, Login into Ubuntu Server and make sure your ubuntu server update, run the following commands one by one, and install any available updates:
sudo apt-get update
sudo apt-get upgrade
### 2. Adding PPA ###
Add the PPA cherokee webserver. by running the following commands
sudo add-apt-repository ppa:cherokee-webserver
sudo apt-get update
Now, only for servers running Ubuntu 14.04 LTS (Trusty) follow this step below
cd /etc/apt/sources.list.d
nano cherokee-webserver-ppa-trusty.list
replace:
deb http://ppa.launchpad.net/cherokee-webserver/ppa/ubuntu trusty main
to:
deb http://ppa.launchpad.net/cherokee-webserver/ppa/ubuntu saucy main
**then again run:**
sudo apt-get update
### 3. Installing Cherokee Web Server using apt-get ###
Enter the following command to install the Cherokee web server including Module SSL
sudo apt-get install cherokee cherokee-admin cherokee-doc libcherokee-mod-libssl libcherokee-mod-streaming libcherokee-mod-rrd
### 4. Configuring Cherokee ###
sudo service cherokee start
The best part about using its Web Server is being able to manage all of its configurations through a simple to use web interface. This interface, known as cherokee-admin, is the recommended means of administering cherokee web server through web browser. Start cherokee-admin by running the following command:
sudo cherokee-admin
**Note: The cherokee-admin will display the administration user name, One-time Password and administration web interface.**
**Note down your One-Time password. You will need this when you login to its admin web interface.**
By default, cherokee-admin can only accessed from localhost. If you need to access the admin for other network address using the parameter **-b**. If you doesnt mention any ip address, it will automatically listen to all network interfaces. Then you can connect to cherokee-admin from other network address.
sudo cherokee-admin -b
If you need to access its admin from specific network address
sudo cherokee-admin -b 192.168.1.102
### 5. Browse your Cherokee Admin Panel ###
Now you can access the administration panel from you favorite browser by typing http://hostname_or_IP:9090/ for me its http://127.0.0.1:9090/, it will appear on your browser like this:
![cherokee-admin-panel](http://blog.linoxide.com/wp-content/uploads/2014/12/cherokee-admin.png)
Hurray, we have successfully installed and configured Cherokee Web Server in our Ubuntu Server.
--------------------------------------------------------------------------------
via: http://linoxide.com/ubuntu-how-to/install-cherokee-lightweight-web-server-ubuntu-14-04/
作者:[Arun Pyasi][a]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://linoxide.com/author/arunp/

View File

@ -0,0 +1,79 @@
如何在Ubuntu14.04上安装轻量级web服务器Cherokee
================================================================================
**Cherokee** 是一个免费开源高性能轻量级的多特性web服务器支持大部分主流操作系统(Linux, Mac OS X, Solaris, and BSD)。它兼容TLS/SSL,FastCGI, SCGI, PHP, uWSGI, SSI, CGI, LDAP, HTTP代理, 视频流处理, 内容缓存, 流量控制, 虚拟主机, 和Apache兼容的日志文件还有负载均衡。
今天我们介绍一下怎样在Ubuntu Server 14.04LTS安装和配置轻量级的web服务器Cherokee只需要注意修改源列表同样适用于Ubuntu12.0412.10和13.04.
在Ubuntu Server上逐步安装和配置Cherokee
### 1. 更新Ubuntu软件包索引 ###
首先登陆Ubuntu Server执行以下命令更新Ubuntu Server的软件源并安装可用的更新。
sudo apt-get update
sudo apt-get upgrade
### 2. 加入 PPA ###
通过运行以下命令增加Cherokee的PPA
sudo add-apt-repository ppa:cherokee-webserver
sudo apt-get update
对于运行14.04版本的服务器还需要执行以下步骤
cd /etc/apt/sources.list.d
nano cherokee-webserver-ppa-trusty.list
用deb http://ppa.launchpad.net/cherokee-webserver/ppa/ubuntu saucy main 替换 deb http://ppa.launchpad.net/cherokee-webserver/ppa/ubuntu trusty main
**再次运行命令:**
sudo apt-get update
### 3. 使用apt-get安装Cherokee ###
使用如下命令安装Cherokee和SSL模块
sudo apt-get install cherokee cherokee-admin cherokee-doc libcherokee-mod-libssl libcherokee-mod-streaming libcherokee-mod-rrd
### 4. 配置Cherokee ###
重启Cherokee服务
sudo service cherokee start
使用Cherokee最大的好处就是能通过一个简单易用的web接口cherokee-admin来管理所有的配置选项。这是通过浏览器管理Cherokee的推荐方法。使用如下命令启动cherokee-admin
sudo cherokee-admin
**Note: cherokee-admin 会显示用户名一次密码和web管理界面。**
默认情况下只能通过localhost访问Cherokee-admin如果需要通过其它网络地址来访问可以使用**-b**参数。如果不指定任何IP地址Cherokee-admin会自动监听所有网络端口。然后就可以通过网络访问Cherokee-admin
sudo cherokee-admin -b
通过指定IP地址访问Cherokee-admin
sudo cherokee-admin -b 192.168.1.102
### 5 浏览cherokee-admin面板 ###
在你喜欢的浏览器中输入地址http://hostname_or_IP:9090/就可以进入控制面板了。例如我的是http://127.0.0.1:9090/,在浏览器中显示如下图
![cherokee-admin-panel](http://blog.linoxide.com/wp-content/uploads/2014/12/cherokee-admin.png)
好了到这里我们已经成功地在Ubuntu Server上安装和配置了Cherokee
--------------------------------------------------------------------------------
via: http://linoxide.com/ubuntu-how-to/install-cherokee-lightweight-web-server-ubuntu-14-04/
作者:[Arun Pyasi][a]
译者:[ictlyh](https://github.com/ictlyh)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出
[a]:http://linoxide.com/author/arunp/