Installation Environment:
RHEL 5.8 Apache 2.4 Mysql 5.5 PHP 5.5
First install the lamp platform, installed after the establishment of test page Test no problem to cacti official website to download the installation package, I installed this is cacti 0.8.8c version (latest) 650) this.width=650; "title=" HJ] ' x0bs[9qq7{9% @LW} 0fv.png "alt=" wkiom1sswqszadcuaacrkj5kxye522.jpg "src=" http://s3.51cto.com/wyfs02/M01/57/22/ Wkiom1sswqszadcuaacrkj5kxye522.jpg "/>
The installation process is as follows:
Unzip the tar package into the Apache document directory and rename it:
Tar XF cacti-0.8.8c.tar-c/usr/local/apache/htdocs/
MV cacti-0.8.8c cacti
Adding users to perform data acquisition and data storage
Useradd-s/sbin/nologin Cactiuser
Modify the genus owner of log and RRA
Chown-r Cactiuser:cactiuser Log Rra
Import the database files from the installation package to MySQL
Create DATABASE: mysqladmin Create Cactidb
Import data: MySQL CACTIDB < cacti.mysql
Add a database user
Mysql-e "GRANT all on cactidb.* to [e-mail protected] identified by ' passwd '"
Modify the config.php under include
650) this.width=650; "title=" ' F3w}~x0rn{t9i]}ky83bgu.png "alt=" wkiom1sswefazq8qaac9sozly8o581.jpg "src=" http:/ S3.51cto.com/wyfs02/m01/57/23/wkiom1sswefazq8qaac9sozly8o581.jpg "/>
Modify cacti Default time zone (config.php)
650) this.width=650; "title=" 7@fek4yv_6k@n}z%9@u%ekm.png "alt=" wkiol1sswrph37-faaajmb6l5ds982.jpg "src="/HTTP/ S3.51cto.com/wyfs02/m01/57/20/wkiol1sswrph37-faaajmb6l5ds982.jpg "/>
If you access cacti directly as a virtual host, you also need to modify the following settings
650) this.width=650; "Title=" V[i3sf@ope1u0x$s (5% (%if.png "alt=" wkiol1ssws_qrlz6aaazeohmgv0267.jpg "src=" http:/ S3.51cto.com/wyfs02/m02/57/20/wkiol1ssws_qrlz6aaazeohmgv0267.jpg "/>
Configure Apache
The landlord is using apache2.4.2, and the virtual host to run cacti, so first modify the httpd.conf file to add the following settings: Include Conf/extra/httpd-vhosts.conf, Then configure VHOSTS.CONF to add the virtual host
650) this.width=650; "title=" HJ] ' x0bs[9qq7{9% @LW}0fv.png ' alt= ' wkiom1sswqszadcuaacrkj5kxye522.jpg ' src= ' http:// S3.51cto.com/wyfs02/m01/57/22/wkiom1sswqszadcuaacrkj5kxye522.jpg "/>
Installation of NET-SNMP (direct yum installation of landlord)
Install RRDtool (to Chinaunix forum download compilation installation)
Open the browser to start the Web installation.
This article is from the "Linux Birds" blog, please be sure to keep this source http://jerrylu.blog.51cto.com/6228145/1591323
Enterprise-level monitoring cacti installation and configuration