Quick installation of Cacti in CentOS

Source: Internet
Author: User
Tags snmp

System Environment: CentOS 5.5

Install all software using yum. 1. When installing Nginx to compile PHP, check whether the -- enable-sock parameter is added. After installation: cd/usr/binln-s/usr/local/php/bin/php 2. To install rrd and snmp, add the yum source first, otherwise, Yum won't get what we want. vi/etc/yum. repos. d/CentOS-Base.repo [dag] name = Dag RPM Repository for Red Hat Enterprise Linux baseurl = export gpgcheck = 1 gpgkey = http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt enabled = 1 then yum something we want yum-y install php -snmp net-snmp-libs ne T-snmp-utils rrdtool 3. Configure snmpd. Both the invigilator and the invigilator must be configured. PS: use the new version of the source code package for installation. The configuration files are different. You can use the configuration files of the old yum package. Original configuration: com2secnotConfigUser default publicaccess notConfigGroup "" any noauth exact systemview none # view all included. 1 80 changed to: com2secnotConfigUser 127.0.0.1 public #127.0.0.1. access notConfigGroup "" any noauth exact all none noneview all encoded. 1 80 startup service: service snmpd start 4. Install cacti tar zxvf cacti-0.8.7g.tar.gzmv cacti-0.8.7g/home/www/cacti to create database and import cacti SQL, and authorize cacti user mysql -Uroot-p123456-e "create database cacti;" mysql-uroot-p123456-e "grant all privileges on cacti. * TO cacti@127.0.0.1 identified by cacti; "mysql-uroot-p123456 cacti

[1] [2] Next page

Related Article

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.