Cacti Installation and component additions

Source: Internet
Author: User

Installing cacti steps
1. Prepare the lamp environment
2. Prepare the required package: RRDtool (Drawing) Cacti (installer) net-snmpd (data collection)
3, install the required library files RRDtool required library files are: Cairo libxm12 Pango

1. Install lamp Environment:

1 yum-y install httpd mysql-server php php-mysql mysql-devel2 chkconfig httpd on    # setup Apache boot 3 chkconfig mysqld on  # set MySQL boot up 45 Service httpd start     # open HTTP service 6 service mysqld start   #  Turn on MySQL service

1 whether the test was successful 2 3 cd/var/www/HTML  4touch index.php  5vi index.php  6 7 <? PHP 8 phpinfo (); 9 ?> Save exit, test the effect in the browser

2. Installing RRDtool

1 yum install cairo-devel libxml2-devel pango-devel-y2  wget http://oss.oetiker.ch/ rrdtool/pub/rrdtool-1.4.8. tar.gz3 tar zxvf rrdtool-1.4.8. tar.gz4 CD rrdtool-1.4.85 ./configure--prefix=/usr/local/rrdtool

You need to install the GCC editor if the following occurs: Yum install gcc*-y
6 make;make Install  
Ln-s/usr/local/rrdtool/bin/*/usr/local/bin/

3. Installing NET-SNMP

1wget http://downloads.sourceforge.net/net-snmp/net-snmp-5.6.1.1. tar.gz2Tar zxvf net-snmp-5.6.1.1. tar.gz3CD net-snmp-5.6.1.14./configure--prefix=/usr/local/net-SNMP5Make &&Make Install6CP./example.conf/etc/snmpd.conf7Ln-s/usr/local/net-snmp/bin/*/usr/local/bin/8Vi/etc/snmpd.conf#found 49 rows of "rocommunity public localhost" to remove the comment9/usr/local/net-snmp/sbin/snmpd-c/etc/snmpd.conf#Start SNMPTenEcho"/usr/local/net-snmp/sbin/snmpd-c/etc/snmpd.conf">>/etc/rc.local#Join boot Start

4. Installing cacti

1 wget http://www.cacti.net/downloads/cacti-0.8. 8b.tar.gz2 tar zxvf cacti-0.8. 8b.tar.gz3 mv./cacti-0.8.8b/*/var/www/html  # Move all downloaded cacti package contents to the Web directory 4 

4.1

Cacti Installation and component additions

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.