2011年10月14日 星期五

Cacti - step by step


1. sudo apt-get install apache2
2. sudo apt-get install php5 libapache2-mod-php5 php5-mysql php5-gd php5-cli
3. sudo /etc/init.d/apache2 restart
4. sudo apt-get install mysql-server mysql-client phpmyadmin
5. sudo apt-get install cacti
6.

mysql -u root -p cacti < pa.sql

modify config.php

2011年10月12日 星期三

Install Cacti

The best way to install Cacti 0.8.7g to Ubuntu

1. apt-get install cacti
2. Download cacti 0.8.7g-1 in i386 (Release) and install it

Install net-snmp

1. get the source code from net-snmp web site
2. untar
3. sudo apt-get install libperl-dev
4. ./configure
5. make
6. sudo make install
7. move to home directory
8. echo export LD_LIBRARY_PATH=/usr/local/lib >> .bashrc

test:
1. close the window
2. open a terminal window
3. snmpget --version
 

Install RRDTool

apt-get install rrdtool