Cacti W2K3 6 – Installing Cacti And Its Dependencies

Cacti W2K3 6 – Installing Cacti And Its Dependencies

Introduction

The following article explains how to install Cacti and its dependencies on to a Windows 2003 Standard Edition Server.

The environment used for this installation was a Windows 2003 Standard Edition Server Virtual machine attached to an Active Directory Domain and running under a VMware ESXi 4.0 host.

Obtaining The Software

To obtain the Cacti software go to here and download the Windows in Zip format.

To obtain the Cacti Spin softwate go to here and download the Windows in Zip format.

To obtain the RRDTool software go to here and download the latest version

Installing The Cacti Software

To install the Cacti software perform the following steps :-

  • Logon as an Administrative user to the server
  • Navigate to where the Cacti Zip file was saved
  • Unzip the Cacti Zip file (cacti-0.8.7i.zip in my case) and copy the contents to C:\Program Files\Apache Group\Apache2\Htdocs

Configuring Cacti

To configure Cacti perform the following steps :-

  • Logon as an Administrative user to the server
  • Navigate to C:\Program Files\Apache Group\Apache2\Htdocs\cacti\include
  • Edit the file config.php and set the $database_hostname,$database_username$database_password, and$database_port :-

$database_hostname = “cacti”;

$database_username = “cactiuser”;

$database_password = “{your password};

$database_port = “3306”;

  • Save and Exit the file

Installing The Cacti Spine Software

To install the Cacti Spine software perform the following steps :-

  • Logon as an Administrative user to the server
  • Navigate to where the Cacti Spine Zip file was saved
  • Unzip the Cacti Zip file (cacti-spine-0.8.7i.zip in my case) and copy the contents to C:\cacti

Configuring Cacti Spine

To configure the CactiSpine software perform the following steps :-

  • Navigate to C:\cacti and open the file spine.conf
  • Locate the line below and then change the DB_HostDB_Database,DB_UserDB_Pass, and DB_Port values to the desired settings :-

DB_Host         127.0.0.1

DB_Database  Cacti

DB_User         cactiuser

DB_Pass        {Password to be used for the MySQL cactiuser account}

DB_Port         3306

  • Save and Exit the file

Installing The RRDTool Software

To install the RRDTool software perform the following steps :-

  • Logon as an Administrative user to the server
  • Navigate to where the RRDTool Zip file was saved
  • Unzip the Cacti Zip file (rrdtool-1.2.15-cygwin-1.5.20.zip in my case) and copy the contents to C:\cacti