How to install cacti on windows 10
To start the installation process, click on the ‘ Confirm Installation‘ checkbox and then click on the ‘ Install‘ button. Cacti Templatesįollowing that, the installer will verify to see if the database/server collation is UTF8 compliant. All options have been checked to ensure that you get all of the templates you need. Cacti Network SettingsĬacti come with templates that let you monitor and graph a variety of network devices, including Linux and Windows computers. Thereafter, choose the cron interval and input your network subnet as shown. Check the ‘ I have read this statement‘ box after reading the instructions. This gives you a few actions to take after installing Cacti in order to whitelist data input methods. The installer then checks to see if all of the binary paths for the required packages are installed. If everything is in order, click ‘ Next‘ otherwise, click ‘ Previous‘ and correct any problems. The following step checks for directory issues and confirms that the proper permissions are in place. Cacti Pre-Installation CheckĪfter that, choose the ‘ New Primary Server‘ as the type of installation and verify that the database connection parameters are right. If everything is configured correctly, you can proceed with the installation. Cacti AgreementĬacti will run pre-installation tests to ensure that the necessary PHP modules are installed and the relevant database settings are set up.
HOW TO INSTALL CACTI ON WINDOWS 10 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.
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.