Installing cacti Notes

Source: Internet
Author: User
Tags snmp

One, download, copy to the custom virtual host directory
The virtual host configuration file is as follows

<virtualhost *:80> documentroot "/www/cacti" ServerName cacti.a.com errorlog "/var/log/httpd/cacti.a.com-er         Ror_log "Customlog"/var/log/httpd/cacti.a.com-access_log "Common <directory"/www/cacti "> Options None AllowOverride None Require All granted </Directory></VirtualHost>

Ii. Creating a database environment

Mysqladmin Create Cactidbmysql-uroot-p Cactidb < Cacti.sql # #把sql语句导入cactidb数据库中mysql-uroot-p-E "GRANT all on CAC tidb.* to [email protected] identified by ' Cactiuser ' "# #创建一个cactiadmin用户管理cactidbmysqladmin Flush-privileges # #刷新

Iii. Cacti Preparation before installation

Configuring the cacti/include/config.php File

$database _type = "MySQL"; $database _default = "Cactidb"; $database _hostname = "localhost"; $database _username = " Cactiadmin "; $database _password =" Cactiadmin "; $database _port =" 3306 "; $database _ssl = false;-----slightly------$url _path ="/ "; # # If you cacti a folder as a DocumentRoot folder in your system, you need to set it up.


Install net-snmp (Agent, monitored side), net-snmp-utils (NMS, tools used for monitoring), RRDtool drawing tools.


PS: Build your own installed lamp platform, may appear timezone problem, only need to add in the/etc/php.ini file

Date.timezone = Asia/shanghai


Installing cacti Notes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.