|
|
(One intermediate revision by the same user not shown) |
Line 1: |
Line 1: |
− | Reference - http://idroot.net/tutorials/install-cacti-monitoring-on-centos-7/<br>
| + | [[ Getting rid of the sit0 interface ]]<br> |
− | yum install -y php php-mysql php-gd php-pear php-common php-cli php-devel php php-mbstring nano<br>
| + | [[ Configuring chrooted sftp access ]]<br> |
− | yum install -y php-snmp net-snmp-utils net-snmp-libs rrdtool<br>
| + | |
− | chkconfig snmpd on<br>
| + | |
− | service snmpd start<br>
| + | |
− | yum install -y epel-release<br>
| + | |
− | yum install -y cacti<br>
| + | |
− | yum install -y mysql-server mysql<br>
| + | |
− | Then run "mysql_secure_installation"<br>
| + | |
− | Create the cacti database<br>
| + | |
− | <source lang="text">
| + | |
− | MariaDB [(none)]> create database cacti;
| + | |
− | MariaDB [(none)]> GRANT ALL ON cacti.* TO cacti@localhost IDENTIFIED BY 'cactipass';
| + | |
− | MariaDB [(none)]> FLUSH privileges;
| + | |
− | MariaDB [(none)]> quit;
| + | |
− | </source>
| + | |
− | Import the cacti database tables<br>
| + | |
− | mysql -u cacti -p cacti < /usr/share/doc/cacti-0.8.8b/cacti.sql<br>
| + | |
− | Open /etc/cacti/db.php file and edit the below lines:<br>
| + | |
− | <source lang="text">
| + | |
− | $database_type = "mysql";
| + | |
− | $database_default = "cacti";
| + | |
− | $database_hostname = "localhost";
| + | |
− | $database_username = "cacti";
| + | |
− | $database_password = "cactipass";
| + | |
− | </source>
| + | |
Latest revision as of 16:00, 7 July 2016
Getting rid of the sit0 interface
Configuring chrooted sftp access