Installing Cacti on CentOS 5.5

CentOS Logo

In this tutorial we will be installing Cacti on CentOS 5.5 using the LCMP stack (Linux, Cherokee, MySQL and PHP).

What is Cacti? Cacti is a complete network, server and application graphing solution harnessing the power of RRDtool OpenSource industry standard, high performance data logging and graphing.

So before we start just some general house keeping. The base CentOS 5.5 server hostname and IP address that we’ll be using in this tutorial:

* centos01.how2centos.com (IP 10.0.0.3)

The Cacti server will eventually be available on http://cacti.how2centos.com

The assumption, for this Cacti and CentOS 5.5 tutorial, is that you are running as root and have a medium understanding of the software required or you’re Awesome.
Continue reading “Installing Cacti on CentOS 5.5”

Installing LCMP stack on CentOS 5.5

LCMP Stack LCMP is an acronym for a stack of free, open source software from the first letters of Linux (operating system), Cherokee HTTP Server, MySQL and Perl/PHP/Python. These are the principal components to build a viable general purpose web server.

LCMP – Linux.Cherokee.MySQL.PHP/Perl/Python

In this tutorial we will be installing the following open source software components to build the LCMP stack. CentOS 5.5 (operating system), Cherokee 1.0.6 (web server), MySQL 5.0.77 (database server), PHP 5.3.3, Perl 5.8.8, Python 2.4.3

Before we start just some general house keeping. The base CentOS 5.5 server hostname and IP address in this tutorial:

* centos01.how2centos.com (IP 10.0.0.3)

The assumption, for this CentOS 5.5 LCMP tutorial, is that you are running as root and have a medium understanding of the software required.
Continue reading “Installing LCMP stack on CentOS 5.5”

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 http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm

Install the EPEL x86_64 YUM Repository

# rpm -Uvh http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

Install MySQL and MySQL server

Install RRDTool

Install Cherokee web server

Now direct your browser to http://10.0.0.3

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 127.0.0.1 (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 http://10.0.0.3:9090/ (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).

Links

Cherokee: http://www.cherokee-project.com/
MySQL: http://www.mysql.com/
CentOS: http://centos.org/

+George Rushby

Installing Cherokee with PHP 5.2 and MySQL Support On CentOS 5.3

cherokeecentos

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. This tutorial shows how you can install Cherokee on a CentOS server with PHP 5.2 support (through FastCGI) and MySQL support.
Continue reading “Installing Cherokee with PHP 5.2 and MySQL Support On CentOS 5.3”