YUM Cacti Install Guide CentOS6 64bit
Installing Apache
[root@test12 ~]# yum install httpd httpd-devel
Install MySQL
[root@test12 ~]# yum install mysql mysql-server
Install PHP
[root@test12 ~]# yum install php-mysql php-pear php-common php-gd php-devel php php-mbstring php-cli php-mysql
Install PHP-SNMP
[root@test12 ~]# yum install php-snmp
Install NET-SNMP
[root@test12 ~]# yum install net-snmp-utils p net-snmp-libs php-pear-Net-SMTP
Install RRDTool
[root@test12 ~]# yum install rrdtool
Install UnZip
[root@test12 ~]# yum install unzip
[root@test12 ~]# mysqladmin -u root password Password1!
[root@test12 ~]# mysql -u root -p
create database cacti;
GRANT ALL ON cacti.* TO cacti@localhost IDENTIFIED BY "Password1!";
FLUSH privileges;
quit;
mysql> create database cacti;
Query OK, 1 row affected (0.02 sec)
mysql> GRANT ALL ON cacti.* TO cacti@localhost IDENTIFIED BY "Password1!";
Query OK, 0 rows affected (0.01 sec)
mysql> FLUSH privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> quit;
Bye
[root@test12 ~]# mysql -u cacti -p cacti < /usr/share/doc/cacti-0.8.8b/cacti.sql
Enter password:
[root@test12 ~]# vi /etc/cacti/db.php
[root@test12 ~]# vi /etc/httpd/conf.d/cacti.conf
[root@test12 ~]# vi /etc/cron.d/cacti
*/5 * * * * cacti /usr/bin/php /usr/share/cacti/poller.php > /dev/null 2>&1
원본URL : http://forums.cacti.net/viewtopic.php?f=6&t=49363
'리눅스' 카테고리의 다른 글
리눅스에서 HBA의 WWN을 확인하는 방법 (1) | 2014.07.04 |
---|---|
HP hpasmcli 명령으로 HT(hyper-threading) 활성화 여부 확인 (0) | 2014.06.13 |
lsof 명령어 (0) | 2014.06.03 |
iftop 명령어 (1) | 2014.06.03 |
리눅스에서 라우트(경로) 테이블을 추가하고 삭제하는 방법 (0) | 2014.05.20 |