Cacti installation and configuration method summary (1)

Source: Internet
Author: User

CactiI will not talk about the installation and configuration here, but when installing and configuring cacti, pay attention to the points I will explain here!

1. Configure the LAMP environment. See other related articles.

2. If mysql-devel is not installed, an error will be reported when cactid is installed:

 
 
  1. configure: error: Cannot find MySQL header files  
  2.  
  3. yum install mysql-devel  
  4.  

3. to install net-snmp-libs net-snmp-utils, you also need to install net-snmp-devel or the configure: error: Cannot find SNMP headers. error will be reported.

 
 
  1. # sudo yum install net-snmp-*  
  2.  

Start the snmp service after installation

 
 
  1. /etc/init.d/snmpd start  
  2.  

Test whether snmp works. The default password field is public. You can change/etc/snmp/snmpd. conf to your password field.

 
 
  1. snmpwalk -v 2c -c public localhost system  
  2.  

4. decompress the cacti package and put the package into the apache working directory.

 
 
  1. mv cacti-0.8.7d /var/www/html/cacti  
  2.  


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.