aboutsummaryrefslogtreecommitdiff
path: root/network/cacti/README.SBo
diff options
context:
space:
mode:
authorThibaut Notteboom <thibaut.notteboom@gmail.com>2018-06-03 15:25:43 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-06-03 18:11:02 +0100
commit7957f5edea0ddcaa625c625530f6debd124076cb (patch)
treeb1e9110f87b2ec303b35fad2bc643f68f19c28b4 /network/cacti/README.SBo
parentaf2f80953f4ee75f8ff1145ac9997f92aeabef94 (diff)
network/cacti: Updated for version 1.1.38.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/cacti/README.SBo')
-rw-r--r--network/cacti/README.SBo81
1 files changed, 81 insertions, 0 deletions
diff --git a/network/cacti/README.SBo b/network/cacti/README.SBo
new file mode 100644
index 000000000000..d864b2f9c01a
--- /dev/null
+++ b/network/cacti/README.SBo
@@ -0,0 +1,81 @@
+## mysql
+
+$ cat /etc/my.cnf.d/server.cnf
+[...]
+[mysqld]
+collation-server = utf8_unicode_ci
+init-connect='SET NAMES utf8'
+character-set-server = utf8
+innodb_buffer_pool_size = 1G
+[...]
+
+$ mysql_install_db --user=mysql
+
+$ chmod +x /etc/rc.d/rc.mysqld
+
+$ sh /etc/rc.d/rc.mysqld start
+
+$ /usr/bin/mysql_secure_installation
+
+$ cat ~/.my.cnf
+[client]
+password=somepassword
+
+$ mysql
+> CREATE DATABASE cacti;
+> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'cactiuser';
+
+$ mysql -D cacti </usr/share/cacti/cacti.sql
+
+$ mysql
+> mysql -D mysql </usr/share/mysql/mysql_test_data_timezone.sql
+> GRANT SELECT ON mysql.time_zone_name TO 'cactiuser'@'localhost';
+
+##The Cacti Database has not been initialized. Please initilize it before continuing.
+##
+##To initilize the Cacti database, issue the following commands either as root or using a valid account.
+##
+##mysqladmin -uroot -p create cacti
+##
+##mysql -uroot -p -e "grant all on cacti.* to 'someuser'@'localhost' identified by 'somepassword'"
+##
+##mysql -uroot -p -e "grant select on mysql.time_zone_name to 'someuser'@'localhost' identified by 'somepassword'"
+##
+##mysql -uroot -p cacti < /pathcacti/cacti.sql
+##
+##Where /pathcacti/ is the path to your Cacti install location.
+##
+##Change someuser and somepassword to match your site preferences. The defaults are cactiuser for both user and password.
+##
+##NOTE: When installing a remote poller, the config.php file must be writable by the Web Server account, and must include valid connection information to the main Cacti server. The file should be changed to read only after the install is completed.
+##
+
+
+## php
+
+$ cat /etc/php.ini
+[...]
+date.timezone = Europe/Paris
+[...]
+
+
+
+## httpd
+
+cat $ /etc/httpd/httpd.conf
+[...]
+ServerName www.example.com:80
+[...]
+DirectoryIndex index.html index.php
+[...]
+Include /etc/httpd/mod_php.conf
+[...]
+
+$ chmod 755 /etc/rc.d/rc.httpd
+$ /etc/rc.d/rc.httpd start
+
+
+
+## cacti
+
+$ vim config.php