& Nbsp; system environment: CentOS5.5 & nbsp; install yum & nbsp; 1. install Nginx platform & nbsp; when compiling PHP, check whether the -- enable-sock parameter is added. & Nbsp; after installation: & nbsp; cd/usr/binln-s & nbsp;/usr/local/php/bin/php & nbsp; ph 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 = http://apt.sw.be/RedHat/el $ Releasever/en/$ basearch/dag gpgcheck = 1 gpgkey = http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt Enabled = 1. then yum: yum-y install php-snmp net-snmp-libs net-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 a database and import the cacti SQL, and authorize the 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