Installation
- Download CentOS 5 from www.centos.org
- Install CentOS5
- Install Core Development Tools Automake, Gcc (C/C++), Perl, Python &
Debuggers
- yum groupinstall 'Development Tools'
- install Priorities:
- yum install yum-priorities
- install RPMforge:
- cd /usr/local/src
- wget
http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
- rmp -i rpmforge-release-0.5.1-1.el5.rf.x86_64.rpm
- install mysql
- yum -y install mysql-server
- install Cacti
- start services
- service mysqld start
- service snmpd start
- service httpd start
- Install cacti database
- mysqladmin -u root -p create cacti
- mysql -u root -p -A cacti < /var/www/cacti/cacti.sql
- mysql -u root -p -A mysql
- mysql> grant all privileges on cacti.* to cactiuser@localhost identified
by 'cactiuser';
- mysql> flush privileges;
- mysql> exit
- Modify cacti.conf
- vi /etc/httpd/conf.d/cacti.conf
- Change the order and allow as below.
- order allow,deny
- allow from all
- Open http://server/cacti
- Install cacti as winzard and enjoy it.
FAQ
- If the yum can not run, becaue the yum update run at start, you can kill the
process
rm -f /var/run/yum.pid
posted @
2010-03-05 23:00
kevinzx
阅读(
852)
评论()
编辑
收藏
举报