Cacti out of the new version of 0.8.8C, long time not installed, by the way review the installation process and see what changes in the new version.
Installation Tutorial Online A lot of, I am here simply write the installation command and function
1, installation cacti
wget http://www.cacti.net/downloads/cacti-0.8.8c.tar.gz official website Download installation package tar - zxvf cacti-0.8.8c.tar.gzmv cacti-0.8.8c /cacti Green Bag just find a place to put it. wget http:// download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpmrpm -ivh epel-release-6-8.noarch.rpm Installing the Yum extension source wget -p /etc/yum.repos.d/ Base source for http://mirrors.163.com/.help/centos6-base-163.repo 163 Yum -y install cacti mysql-server mysql-dev* net-snmp-dev* Install version 0.8.8b, but do not use it chown -r apache /cactivim /etc/httpd/conf.d/cacti.conf Change the contents of the directory to/cacti, and allow access to the ipvim /cacti/cacti.conf Change the inside username and cacti password crontab -l -u apache*/5 * * * * /usr/bin/php /cacti/poller.php > /dev/null 2>&1 Polling script run interval service mysqld restart mysqladmin -uroot password Password set MySQL initial root password mysql -uroot -p password Login mysql>create database cacti; Create a cacti library > grant all on cacti.* to [email protected] identified by "Cacti password"; cacti.sql to cacti user authorization mysql -uroot -p password cacti<cacti path Import data Structure vim /etc/php.ini check Date.timezone, change to Asia/shanghai, after the completion of the restart Httpdservice httpd restart && service snmpd restartchkconfig mysqld on && chkconfig snmpd on && chkconfig httpd on
Access Http://ip/cacti/install initialization installation, mainly see the path of the various software is correct
Admin Admin
2, installation Spine
for efficiency reasons, it is slower to use the cmd.php polling device when collecting data in large quantities, and the acquisition frequency of 1 minutes and 1 times may not complete polling of all machines. In order to optimize, we use the officially recommended spine to efficiently poll
wget http://www.cacti.net/downloads/spine/cacti-spine-0.8.8c.tar.gztar-zxvf Cacti-spine-0.8.8c.tar.gzyum Install GCC gcc-c++cd cacti-spine-0.8.8c./configure && make && make installcp/usr/local/spine/etc/ spine.conf.dist/etc/spine.conf Copy the configuration file to etc otherwise it will be error vim/etc/spine.conf switch to username password cact In the settings in the I page, fill in Path/usr/local/spine/bin/spine
Review the CACTI0.8.8C installation process