Then open another php.ini file: $ sudo nano /etc/php/7.4/cli/php.iniĪs you have done the changes, so now restart the Apache service: $ sudo systemctl restart apache2 Next, you are required to do is to open the php.ini file in a text editor using the command below: $ sudo nano /etc/php/7.4/apache2/php.iniįind and change the values of these lines: memory_limit = 512M Wait for a little until the installation of all the mentioned packages is completed on your system. Use this command to install it: $ sudo apt install mariadb-server php php-mysql apache2 libapache2-mod-php php-xml php-mbstring php-gmp php-ldap php-gd -y Then use this command for installing the prerequisites: $ sudo apt install unzip rrdtool git snmp php-snmp librrds-perl curl gnupg2 -y Step 2: Installing LAMP serverĬacti also requires LAMP stack to be installed on your system.
Step 1: Installing Prerequisitesįirst, we will update the repository index and then install some prerequisite packages.Įxecute the command below to update the repository index: $ sudo apt update -y
Note : The installation method described here has been tried on Ubuntu 20.04 LTS. In this post, we will be showing you step by step procedure for installing Cacti on Ubuntu OS. It mostly uses SNMP for gathering information. It collects and stores performance information to create graphs. Cacti is a network graphing solution based on RRDtool’s framework.