![how to install cacti on fedora how to install cacti on fedora](https://www.tecmint.com/wp-content/uploads/2015/03/Change-Cacti-Admin-Password.png)
#How to install cacti on fedora license
Next, Accept the GPL license agreement and click on ‘ Begin‘. You will be asked to set the default cacti admin login password. Log in with the default credentials shown: Username: admin To complete the set up of Cacti, visit your server’s IP as shown: The login page shown below will appear. Step 8: Running Cacti Installer via the Browser $ sudo systemctl restart httpdīefore finally setting up Cacti, allow HTTP service on your firewall as shown: $ sudo firewall-cmd -permanent -add-service=http Restart apache and php-fpm services for the changes to take effect.
![how to install cacti on fedora how to install cacti on fedora](https://www.tecmint.com/wp-content/uploads/2015/03/Installing-Cacti-Server.png)
Then modify Apache’s configuration file to enable remote access to Cacti. Next, use the following command to import the default database tables: $ mysql -u root -p cactidb /dev/null 2>&1 But before that, run the following command to determine the path of the default cacti database: $ rpm -ql cacti | grep cacti.sql Then, import the default cacti database tables into the mariadb cacti database you created above. Next, verify the installation of cacti as shown: $ rpm -qi cacti Next, we install the Cacti monitoring tool as shown: $ sudo dnf install cacti -y The Cacti package is available in the EPEL ( Extra Packages for Enterprise Linux) repository. Step 6: Installing and Configuring the Cacti Monitoring Tool # pool_size/128 for less than 1GB of memory $ sudo vi /etc/my.cnf.d/mariadb-server.cnf $ mysql -u root -p mysql GRANT SELECT ON mysql.time_zone_name TO įor optimal performance, you need to add the following configuration in the mariadb-server.cnf file under the section as shown. Then, import the mysql test data timezone.sql file into the mysql database. MariaDB > GRANT ALL ON cactidb.* TO IDENTIFIED BY 'passwd123' We now need to create a database and user for cacti and grant all the necessary privileges to the cacti user. Start and enable snmpd with the commands: $ sudo systemctl start snmpd $ sudo dnf install -y net-snmp net-snmp-utils net-snmp-libs rrdtool Now we will install SNMP and RRDtool, which are required for gathering and analyzing system metrics. $ sudo dnf module reset phpĪfter that, install PHP and required extensions with the commands below: $ sudo dnf install sudo dnf install -y php php-Įnable the php-fpm service by executing the command: $ sudo systemctl enable -now php-fpm Then, enable the DNF module for PHP installation. First, add the Remi repository: $ sudo dnf install dnf-utils Next, start and enable mariadb to start on boot as shown: $ sudo systemctl start mariadbĬacti is written in PHP, and therefore, we need to install PHP and the required PHP dependencies. $ sudo dnf install -y mariadb-server mariadb We will install and use Mariadb as our database server. Next, start and enable the webserver with the commands: $ sudo systemctl start httpdĬacti require its own database to store the data it collects.