Professional Documents
Culture Documents
19
apt-get install -y apache2 rrdtool mariadb-server snmp snmpd php7.0 php-mysql php7.0-snmp php7.0-xml php7.0-mbstring php7.0-json php7.0
remote: Total 59936 (delta 40), reused 51 (delta 26), pack-reused 59855&
After cloning the Cacti repository, move the files into the /var/www/html
directory
mv cacti /var/www/html
Database Creation
Next we will create a database for the cacti installation to use
mysql -u root -p
FLUSH PRIVILEGES;
cd /var/www/html/cacti/include
cp config.php.dist config.php
Now, edit the config.php file and make sure to change the database settings as
needed to match the below entries (though it is highly
recommended to use a
customised username/password combination for security)
$database_type = 'mysql';
$database_default = 'cacti';
$database_hostname = 'localhost';
$database_username = 'cactiuser';
$database_password = 'cactiuser';
$database_port = '3306';
$database_retries = 5;
$database_ssl = false;
$database_ssl_key = '';
Cacti® Release 1.2.19
For systemd unit's file install, you will need to modify the
included units file to following your install location
and desired user and group's to run the
Cacti poller as.
To complete the task, follow the procedure below:
touch /etc/sysconfig/cactid
cp -p /var/www/html/cacti/service/cactid.service /etc/systemd/system
GitHub
API
Back to top
Donate
RRDtool
Copyright © 2004-2021 The Cacti Group, Inc. - Cacti is the registered trademark The Cacti Group, Inc.
Made by BV IT Solutions Ltd.