Install cacti in Centos server
Hi to all.
all of admins know Cacti is an open-source, web-based network monitoring and graphing tool designed as a front-end application for the open-source, industry-standard data logging tool RRDtool.
In this Article you will be learning how to install Cacti and installed it on CentOS 6 system.
Step 1 – Prerequisites
First we need to install some of the software packages needed for Cacti to run properly. Software which is not included or enabled in the base CentOS 6 installation are:
Let’s use yum to get these installed.
yum -y install mysql-server php php-cli php-mysql net-snmp-utils rrdtool php-snmp gcc mysql-devel net-snmp-devel autoconf automake libtool dos2unix
gcc and the devel packages are required for the installation of spine, hence that’s why we include it here.
Now let’s make sure that our webserver and the database are automatically starting up after a reboot. Use the following commands to enable these:
chkconfig httpd on chkconfig mysqld on chkconfig crond on
Now that we did make sure that these services start after a reboot, let’s start them manually now in order to continue the installation. Cron may already be running so don’t panic if you don’t see the usual start message:
/etc/init.d/httpd start /etc/init.d/mysqld start /etc/init.d/crond start