- #How to install cacti on ubuntu server 14.04 how to
- #How to install cacti on ubuntu server 14.04 password
Make sure that all requirements are okay.
#How to install cacti on ubuntu server 14.04 password
Username = adminįor security reasons, change the password and provide new strong password.Īccept the License Agreement and hit Begin button. Provide the below details to set up Cacti installation. Go to your browser and type locahost/cacti or 127.0.0.1/cacti to finalize our Installation. So, now we are going to test our Installation. Sudo chown -R www-data:www-data /opt/cacti/ Step 7 Finalizing Cacti InstallationĪs we’ve done all the necessary steps to Install & Configure Cacti on our Ubuntu system. Now, create a log file and also permit the Apache user (sudo touch /opt/cacti/log/cacti.log sudo a2ensite cactiįinally restart the apache server to take effects. Then fire the below command to enable the created site. # this setting is necessary for some locales sudo nano /etc/apache2/sites-available/nfĪnd make the following changes Alias /cacti /opt/cacti sudo mysql -u root -p mysql /dev/null 2>&1Īfter it create a new site for the Cacti. Now, run the below command to give permissions to new user for accessing the mysql.time_zone_name table. Grant all privileges on cacti.* to identified by 'yourpassword' sudo systemctl restart mariadbĪs the services restarted, create a new Database for Cacti: sudo mysql -u root -p create database cacti Then restart the MariaDB services to take effects of the configuration changes. sudo nano /etc/mysql//50-server.cnfĪnd make the below changes under section. Edit the config file by hitting below command. Then change the MariaDB settings to work properly with the Cacti. Once the installation finished, run the below command to secure the installation. sudo apt install -y mariadb-server mariadb-client You can also install it from Ubuntu repository by hitting.
#How to install cacti on ubuntu server 14.04 how to
If you don’t know how to install it, then follow the below link to go to the MariaDB installation page first & then continue from here to Install Cacti on Ubunut 20.04. Make sure that you’ve already installed MariaDB on your Ubuntu system. sudo systemctl restart apache2 Step 4:Install MariaDB Database sudo ufw allow httpĪnd restart the Apache server. ServerTokens Prodįinally allow firewall access to http, https. Open the nf file with your favorite editor. sudo apt-get install -y apache2Īs the installation of Apache done, apply a security configuration to the Apache by permitting Prod ServerTokens only. Step 3:Install Apache ServerĪpache is one of the best web server that suits with the Cacti. Then set your timezone, memory limit and max_execution time by editing /etc/php/7.4/apache2/php.ini sudo nano /etc/php/7.4/apache2/php.ini date.timezone = Asia/Karachiĭo the same changes for /etc/php/7.4/cli/php.ini file. With Zend OPcache v7.4.3, Copyright (c), by Zend Technologies Zend Engine v3.4.0, Copyright (c) Zend Technologies
sudo apt install -y php-mysql libapache2-mod-php php-xml php-ldap php-mbstring php-gd php-gmp Run the below command to install the required PHP extensions.