How to install the lightweight Web Server Cherokee on Ubuntu 14.04

Source: Internet
Author: User

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.

  1. sudo apt-get update
  2. sudo apt-get upgrade

 

2. Join PPA

Run the following command to add the PPA of Cherokee

  1. sudo add-apt-repository ppa:cherokee-webserver
  2. sudo apt-get update

For servers running version 14.04, perform the following steps:

  1. cd /etc/apt/sources.list.d
  2. nano cherokee-webserver-ppa-trusty.list

Usedeb http://ppa.launchpad.net/cherokee-webserver/ppa/ubuntu saucy mainReplacedeb http://ppa.launchpad.net/cherokee-webserver/ppa/ubuntu trusty main

Run the following command again:

  1. sudo apt-get update

 

3. Use apt-get to install Cherokee

Run the following command to install the Cherokee and SSL modules:

  1. 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:

  1. 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:

  1. 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

  1. sudo cherokee-admin -b

Access Cherokee-admin through a specified IP Address

  1. 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.