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:
- configure: error: Cannot find MySQL header files
-
- yum install mysql-devel
-
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.
- # sudo yum install net-snmp-*
-
Start the snmp service after installation
- /etc/init.d/snmpd start
-
Test whether snmp works. The default password field is public. You can change/etc/snmp/snmpd. conf to your password field.
- snmpwalk -v 2c -c public localhost system
-
4. decompress the cacti package and put the package into the apache working directory.
- mv cacti-0.8.7d /var/www/html/cacti
-