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 Puppet Master with Foreman frontend on CentOS 5.5

In this CentOS 5.5 tutorial we will be installing Foreman on a CentOS 5.5 i386 server including Puppet Master and Puppet client. The assumption is that you have a basic to medium understanding of the software required but if you follow this tutorial you should be able to complete the task successfully.

A bit on the software that we’ll be using:

Foreman
Foreman is aimed to be a Single Address For All Machines Life Cycle Management.

Foreman integrates with Puppet (and acts as web front end to it).

Foreman takes care of bare bone provisioning until the point puppet is running, allowing Puppet to do what it does best.

Foreman shows you Systems Inventory (based on Facter) and provides real time information about hosts status based on Puppet reports.

Foreman creates everything you need when adding a new machine to your network. It’s goal being automatically managing everything you would normally manage manually – that would eventually include DNS, DHCP, TFTP, PuppetCA, CMDB and everything else you might consider useful.

With Foreman You Can Always Rebuild Your Machines From Scratch!

Foreman is designed to work in a large enterprise, where multiple domains, subnets and puppetmasters are required.

http://theforeman.org/
Continue reading “Installing Puppet Master with Foreman frontend on CentOS 5.5”

Installing Jasper reporting for MySQL on CentOS 5.4

bitnami_stackcentosWhat is BitNami?

BitNami Native Installers automate the setup of a BitNami Stack on Windows, Linux or Mac OS X. Each installer includes all of the software necessary to run out of the box (the Stack). The process is simple; just download, click next-next-next and you are done! BitNami Stacks are completely self contained and will not interfere with other software on your system.

http://bitnami.org/

What is Jasper for MySQL?

JasperServer Professional is a high-performance standalone and embeddable report server that provides non-technical business users with:

* Drag and drop ad hoc report building
* Drag and drop dashboarding with live-refresh, and mash-ups with external content
* A rich business metadata layer for easy ad hoc query
* Integrated and in-memory data analysis
* Built-in charting and integration with third-party visualization tools
* Self-service parameterized web reporting
* Report scheduling, distribution and historical versioning
* A secure report and metadata repository
* Access to any data source including relational, XML, Hibernate, EJB, POJO, and custom
* Row and column level data security

http://www.jaspersoft.com/jasperserver

Preliminary Note:

I am using a CentOS 5.4 x86_64 base installation in this tutorial

* server1.example.co.za (IP 10.0.0.100): CentOS 5.4 x86_64 Base installation

Download and Install BitNami JasperSever Stack

In this installation I went ahead and chose all the defaults

Note: if you get this error:

-bash: ./bitnami-jasperserver-3.5.0-0-linux-installer.bin: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

make sure the i386 version of ibstdc++ is installed:

Starting and Stopping the JasperServer

Once you have started the JasperServer point your browser to the following URL to access the JasperServer GUI

jasperserver
Now your MySQL reporting can begin.