???? ??
colo> tar-xzvf cacti - 0.8.7g.tar.gz> tar-xzvf cacti-plugin - 0.8.7g-PA-v2.9.tar.gz
??????? ??????? ????? Cacti?? ???????
colo> mkdir / var / www / cacti
???????? ?????????? ????????????? ????? Cacti? ??????? ????? Cacti
colo> cp-rf cacti - 0.8.7g / * / var / www / cacti /
??????? ? ??????? ????? ??? Cacti? ????? ??? ??????????????? ?????
colo> useradd-c CactiUser-d / var / www / cacti /-s / sbin / nologin cactiuser> chown-R cactiuser / var / www / cacti / log / var / www / cacti / rra
??????? ???? ?????? ??? Cacti? ???????????? ??? cactiuser:
colo> mysql-u root-ppassword: to the MySQL monitor. Commands end with; or g.MySQL connection id is 55version: 5.0.77 Source distribution «help;» or « h» for help. Type « c» to clear the buffer.> create database cacti;> GRANT ALL ON cacti. * TO cactiuser @ localhost IDENTIFIED BY
«password»;> flush privileges;> quit
??????????? ????????? Cacti? ?? ????
colo> mysql-u cactiuser-p cacti
??????????? ?????? Cacti? ?? ???? ??????
colo> nano / var / www / cacti / include / config.php
$ database_type=«mysql»;
$ database_default=«cacti»;
$ database_hostname=«localhost»;
$ database_username=«cactiuser»;
$ database_password=«password»;
$ database_port=«3306»;
????????? ? ??????? ?????????? Cacti? ????????????? ????? ???????????? ???????
colo> cd / var / www / cacti> wget
cacti/downloads/patches/0.8.7g/data_source_deactivate.patch
colo> wget cacti/downloads/patches/0.8.7g/graph_list_view.patch> wget cacti/downloads/patches/0.8.7g/html_output.patch> wget
cacti/downloads/patches/0.8.7g/ldap_group_authenication.patch
colo> wget
cacti/downloads/patches/0.8.7g/script_server_command_line_pars
e.patch
colo> wget cacti/downloads/patches/0.8.7g/ping.patch> wget cacti/downloads/patches/0.8.7g/poller_interval.patch> patch-p1-N < data_source_deactivate.patch> patch-p1-N < graph_list_view.patch> patch-p1-N < html_output.patch> patch-p1-N < ldap_group_authenication.patch> patch-p1-N < script_server_command_line_parse.patch> patch-p1-N < ping.patch> patch-p1-N < poller_interval.patch
??????? cacti.conf? ????????? ???????????,????? ???????? ??? -??????
colo> nano / etc / httpd / conf.d / cacti.conf
/ cacti / var / www / cacti
index.php-Indexesalldeny, allowfrom allfrom 192.168.1.0/24 (you can do it like «allow from all») application / x-httpd-php. php_flag magic_quotes_gpc on_flag track_vars on
#????????????? ??? -?????? ????> service httpd re...