Beruflich Dokumente
Kultur Dokumente
httpd
php
php-mysql
php-snmp
mysql
mysql-server
net-snmp
net-snmp-utils
5> cp -a /var/www/html/cacti/include/config.php
/var/www/html/cacti/include/config.php.orig
6> Edit include/config.php and specify the MySQL user, password and database for
your Cacti configuration.
$database_default = "cacti";
$database_hostname = "localhost";
$database_username = "cactiuser";
$database_password = "somepasswd";
7> Set the appropriate permissions on cacti's directories for graph/log
generation. You should execute these commands from inside cacti's directory to
change the permissions.
http://your-server/cacti/
11> Patching of cacti.This is not necessary if you have installed cacti uing yum
Be sure that you are in your Cacti directory when you execute these commands.
wget
http://www.cacti.net/downloads/patches/0.8.6h/fix_search_session_clear_issue.patch
wget
http://www.cacti.net/downloads/patches/0.8.6h/fix_sql_syntax_related_to_default_rr
a_id.patch
wget
http://www.cacti.net/downloads/patches/0.8.6h/nth_percentile_empty_return_set_issu
e.patch
wget http://www.cacti.net/downloads/patches/0.8.6h/mysql_5x_strict.patch
wget
http://www.cacti.net/downloads/patches/0.8.6h/database_autoincrement_corruption.pa
tch
patch -p1 -N < fix_search_session_clear_issue.patch
patch -p1 -N < fix_sql_syntax_related_to_default_rra_id.patch
patch -p1 -N < nth_percentile_empty_return_set_issue.patch
patch -p1 -N < mysql_5x_strict.patch
patch -p1 -N < database_autoincrement_corruption.patch