![]() ![]() 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. CACTI WALLPAPER WIZARD INSTALLsudo apt install -y mariadb-server mariadb-client You can also install it from Ubuntu repository by hitting. CACTI WALLPAPER WIZARD HOW TOIf 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. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |