RRDtool官方网站http://oss.oetiker.ch/rrdtool/ 

# tar -zxvf rrdtool-1.2.27.tar.gz   解压
# ./configure --prefix=/usr/local/  编译前配置
# make && make install   编译并安装
--------------------------------------------RRDtool安装完成------------------------------------------------------

<!--[if !supportLists]-->五、<!--[endif]-->安装Cacti
Cacti官方网站:http://www.cacti.net/

Cacti安装:
# tar -zxvf cacti-0.8.7i.tar.gz  解压
# mv cacti-0.8.7i /usr/local/apache/htdocs/cacti    移动到网站根目录下面并重命名
# useradd cactiuser   创建用户
# chown -R cactiuser.cactiuser /usr/local/apache/htdocs/cacti/rra /usr/local/apache/htdocs/cacti/log  设置属主属组
# mysql -u root   进入数据库
mysql> create database cactidb default character set utf8; 创建一个cactidb的数据库
mysql> grant all on cactidb.* to cactiuser@localhost identified by '1234';  设置权限
# mysql -u cactiuser -p cactidb < cacti.sql  将数据导入数据库(在cacti压缩包内)
# vi include/config.php  调试系统配置文件
$database_type = "mysql";
$database_default = "cactidb";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "1234";
$database_port = "3306";
$database_ssl = false;
$config['url_path'] = "/";
# vi /usr/local/apache/conf/httpd.conf  调整apache服务
Listen 80
DocumentRoot "/usr/local/apache/htdocs/cacti"
<Directory /usr/local/apache/htdocs>
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>
<IfModule dir_module>
    DirectoryIndex index.html index.php
</IfModule>
--------------------------------------------------cacti安装完成-----------------------------------------------------

 

Cacti调试:
输入地址:

<!--[endif]-->
cacti configure _http://haolulu.blog.
下一步

<!--[endif]-->
cacti configure _http://haolulu.blog._02
全新安装
 

<!--[endif]-->
cacti configure _职场_03
红色为错误部分,需要安装snmp服务
# yum install net-snmp*

<!--[endif]-->
cacti configure _休闲_04
点击完成
 

 
<!--[if !supportLists]-->六、<!--[endif]-->展示界面
 

初次登录界面,需要修改密码,默认密码admin

<!--[endif]-->
cacti configure _http://haolulu.blog._05
修改密码

<!--[endif]-->
cacti configure _职场_06
初次界面
 

<!--[endif]-->
cacti configure _http://haolulu.blog._07
 
-------------------------------------------------全部完成-------------------------------------------------------------------