How to install the lightweight Web Server Cherokee on Ubuntu 14.04
Cherokee is a free, open-source, high-performance, lightweight full-featured web server that supports most mainstream operating systems (Linux, Mac OS X, Solaris, and BSD ). It supports TLS/SSL, FastCGI, SCGI, PHP, uWSGI, SSI, CGI, LDAP, HTTP proxy, video stream processing, content caching, traffic control, virtual host, and Apache-compatible log files., and load balancing.
Today, we will introduce how to install and configure the lightweight Web Server Cherokee in Ubuntu Server 14.04 LTS. You only need to modify the software source list, which is also applicable to Ubuntu12.04, 12.10, and 13.04.
Install and configure Cherokee on Ubuntu Server
1. Update the Ubuntu Software Package Index
First, log on to Ubuntu Server and run the following command to update the software source of Ubuntu Server and install available updates.
sudo apt-get update
sudo apt-get upgrade
2. Join PPA
Run the following command to add the PPA of Cherokee
sudo add-apt-repository ppa:cherokee-webserver
sudo apt-get update
For servers running version 14.04, perform the following steps:
cd /etc/apt/sources.list.d
nano cherokee-webserver-ppa-trusty.list
Usedeb http://ppa.launchpad.net/cherokee-webserver/ppa/ubuntu saucy main
Replacedeb http://ppa.launchpad.net/cherokee-webserver/ppa/ubuntu trusty main
Run the following command again:
sudo apt-get update
3. Use apt-get to install Cherokee
Run the following command to install the Cherokee and SSL modules:
sudo apt-get install cherokee cherokee-admin cherokee-doc libcherokee-mod-libssl libcherokee-mod-streaming libcherokee-mod-rrd
4. Configure Cherokee
Restart the Cherokee service:
sudo service cherokee start
The biggest advantage of using Cherokee is that you can manage all the configuration options through cherokee-admin, an easy-to-use web interface. We recommend that you use a browser to manage Cherokee. Run the following command to start cherokee-admin:
sudo cherokee-admin
Note: cherokee-admin displays the username, one-time password, and web management interface address.
Record this one-time password, which is required when you log on to the management interface.
By default, you can only access Cherokee-admin through localhost. If you need to access it through other network addresses, you can use the '-B' parameter. If no IP address is specified, Cherokee-admin automatically listens to all network ports. Then you can access Cherokee-admin through the network
sudo cherokee-admin -b
Access Cherokee-admin through a specified IP Address
sudo cherokee-admin -b 192.168.1.102
5. Browse the cherokee-admin panel
Enter the address in your browserHttp: // host name or IP Address: 9090/
You can enter the control panel. For example, my website is http: // 127.0.0.1: 9090 /.
Now, we have successfully installed and configured Cherokee on the Ubuntu Server.