![install cacti on ubuntu 18 install cacti on ubuntu 18](https://user-images.githubusercontent.com/47217436/66930792-6a5e2b00-f035-11e9-839b-ef0d1f1ea271.png)
- #Install cacti on ubuntu 18 install
- #Install cacti on ubuntu 18 download
- #Install cacti on ubuntu 18 free
#Install cacti on ubuntu 18 download
To start off, download the Cacti compressed file from the official Cacti site using the wget command as shown.When you have a lot of devices on your network and you need to make sure that they’re performing to their best ability. In this section, we will focus on downloading and configuring Cacti. So far, we are done installing the prerequisite components that underpin Cacti.
#Install cacti on ubuntu 18 install
$ sudo apt install rrdtool snmp snmpd snmp-mibs-downloader libsnmp-dev Step 5: Download & Configure Cacti To install these utilities, execute the command: Step 4: Install SNMP and RRDToolĬacti requires net-snmp and RRDTool for logging and graphing data on dashboards which are displayed on the front-end. Likewise, edit the /etc/php/7.4/cli/php.ini file and go with the same values above. Next, configure your preferred time zone, max_execution time and memory limit by editing 2 files: /etc/php/7.4/apache2/php.ini and /etc/php/7.4/cli/php.ini files.Įdit the following lines and specify the timezone, memory_limit and max_execution_time parameters. You can verify the version of PHP installed by running the command: $ sudo apt install libapache2-mod-php php-mysql php-xml php-gd php-snmp php-json php-intl php-mbstring php-ldap php-gmp -y To install the default PHP version and associated extensions from Ubuntu repositories, run: The latest PHP version is PHP 8.0 but version 7.4 will work as expected.
![install cacti on ubuntu 18 install cacti on ubuntu 18](https://benisnous.com/wp-content/uploads/2021/02/How-to-Install-Cacti-Network-Monitoring-Tool-on-Ubuntu-1604.jpg)
The default PHP version in Ubuntu repositories is PHP 7.4 at the time of writing this tutorial.
![install cacti on ubuntu 18 install cacti on ubuntu 18](https://linoxide.com/wp-content/uploads/2021/10/install-cacti-ubuntu-featured-image.png)
Step 3: Install PHP and Associated PHP ExtensionsĬacti is PHP driven and it’s essential to install PHP and the required modules for Cacti to function as expected. GRANT ALL ON cacti_db.* TO IDENTIFIED BY ‘password’ įinally, save the changes and exit MariaDB:Īt this point, we have installed and fully configured the database server. Next, create a database user and grant all privileges on the user: Log in to MariaDB.ĬREATE DATABASE cacti_db CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci Thereafter, restart MariaDB for the changes to come into effect.Ĭacti requires a database where all the polled data will be stored. Make the following changes under the section. Therefore, edit the 50-server.cnf configuration file as follows: To check if Apache is running, invoke the command:Ī few tweaks are required for optimization of MariaDB database server.
#Install cacti on ubuntu 18 free
An excellent choice for a web server is Apache, which is a free and open-source feature-rich web server. Since Cacti runs on the front end, we need to spin up a web server. Right off the bat, being by updating the system package lists as shown: