systemctl restart httpdĬonfigure the firewall to allow HTTP service. Modify the first directory stanza, from Require host localhost. vi /etc/php.iniĮdit the Apache configuration file to perform the remote installation. Set the timezone by editing /etc/php.ini file. To do that, import the mysql_test_data_timezone.sql to mysql database first. The newly created database user ( cactiuser) should have access to the mysql.time_zone_name table. GRANT ALL ON cacti.* TO IDENTIFIED BY 'cactipassword' Grant permission to the newly created database. mysql -u root -pĬreate a database for Cacti. If you are configuring the MySQL for the first time take a look at ho w to secur e the MariaDB.Ĭreate a database for Cacti installation. systemctl start httpd snmpd mariadbĮnable the services to start automatically on system boot. Innodb_io_capacity_max = 10000 Start & Enable Services # Change it if Cacti reports issues during the installation # Based on what type for storage you use. vi /etc/my.cnf.d/server.cnfĪdd variables in the section. yum install -y MariaDB-server MariaDB-client Database TuningĬacti recommend changing MariaDB settings for better performances. Install the MariaDB server using the following command. You can also install MySQL 8 on CentOS 7 / RHEL 7 as a database for Cacti installation # CentOS 7 # READ: How To Install MariaDB on CentOS 7 / RHEL 7 So, install the latest version of MariaDB available from the official MariaDB community website. The MariaDB package (v5.4) available in the base OS repository doesn’t meet Cacti’s minimum requirement as Cacti requires MariaDB v5.6+ or MariaDB v10+ for installation. PHP v7.2 yum install -y -enablerepo=remi-php723 php php-xml php-session php-sockets php-ldap php-gd php-gmp php-intl php-mbstring php-mysqlnd php-pdo php-process php-snmp Install MariaDB PHP v7.3 yum install -y -enablerepo=remi-php73 php php-xml php-session php-sockets php-ldap php-gd php-gmp php-intl php-mbstring php-mysqlnd php-pdo php-process php-snmp READ: How To Install PHP 7.3/7.2 On CentOS 7 / RHEL 7 yum install -y So, we will use the Remi repository to install PHP 7.x. The PHP version available in base OS repository is already reached the end of life and for the Cacti installation, you may need to go for PHP v7.2+. yum -y install net-snmp net-snmp-utils net-snmp-libs rrdtool Install PHP & PHP Extensions Setup EPEL repository only CentOS 7 / RHEL 7. CentOS 8 CentOS 6 Debian 10/9 Ubuntu 18.04 Ubuntu 16.04 Prerequisites Setup EPEL Repository
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |