Installing Cherokee on CentOS 5.8

This tutorial is intended for system administrators wanting to install Cherokee web server on a CentOS 5.8 x86_64

Cherokee is a very fast, flexible and easy to configure web server. It supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI, TLS and SSL encrypted connections, virtual hosts, authentication, on the fly encoding, load balancing, Apache compatible log files, and much more.

Install the RPMForge x86_64 YUM Repository

# rpm -Uvh

Install the EPEL x86_64 YUM Repository

# rpm -Uvh

Install MySQL and MySQL server

Install RRDTool

Install Cherokee web server

Now direct your browser to

You should see the Cherokee placeholder page.

Cherokee can be configured through a web-based control panel which we can start as follows:

cherokee-admin -b

(By default cherokee-admin binds only to (localhost), with the -b parameter you can specify the network address to listen to. If no IP is provided, it will bind to all interfaces.)

Output should be similar to this one:

The admin web interface can be found on (make sure to enter your one-time password)

To stop cherokee-admin, type CTRL+C on the shell.

Managing Varnish with Puppet

If you’re running Puppet we have included the manifest for installing Cherokee on CentOS 5. If you’re not running Puppet then you can install it by following the instructions outlined in our CentOS 5 Puppet Install.

This is only the manifest and doesn’t include any of the files (i.e. cherokee.conf).



+George Rushby