popladark.blogg.se

Install cacti on windows server 2012
Install cacti on windows server 2012






Then modify Apache’s configuration file to enable remote access to Cacti. Next, use the following command to import the default database tables: $ mysql -u root -p cactidb /dev/null 2>&1 But before that, run the following command to determine the path of the default cacti database: $ rpm -ql cacti | grep cacti.sql Then, import the default cacti database tables into the mariadb cacti database you created above. Next, verify the installation of cacti as shown: $ rpm -qi cacti

INSTALL CACTI ON WINDOWS SERVER 2012 INSTALL

Next, we install the Cacti monitoring tool as shown: $ sudo dnf install cacti -y The Cacti package is available in the EPEL ( Extra Packages for Enterprise Linux) repository. Step 6: Installing and Configuring the Cacti Monitoring Tool # pool_size/128 for less than 1GB of memory $ sudo vi /etc/my.cnf.d/mariadb-server.cnf $ mysql -u root -p mysql GRANT SELECT ON mysql.time_zone_name TO įor optimal performance, you need to add the following configuration in the mariadb-server.cnf file under the section as shown. Then, import the mysql test data timezone.sql file into the mysql database. MariaDB > GRANT ALL ON cactidb.* TO IDENTIFIED BY 'passwd123' We now need to create a database and user for cacti and grant all the necessary privileges to the cacti user. Start and enable snmpd with the commands: $ sudo systemctl start snmpd $ sudo dnf install -y net-snmp net-snmp-utils net-snmp-libs rrdtool Now we will install SNMP and RRDtool, which are required for gathering and analyzing system metrics. $ sudo dnf module reset phpĪfter that, install PHP and required extensions with the commands below: $ sudo dnf install sudo dnf install -y php php-Įnable the php-fpm service by executing the command: $ sudo systemctl enable -now php-fpm Then, enable the DNF module for PHP installation. First, add the Remi repository: $ sudo dnf install dnf-utils Next, start and enable mariadb to start on boot as shown: $ sudo systemctl start mariadbĬacti is written in PHP, and therefore, we need to install PHP and the required PHP dependencies. $ sudo dnf install -y mariadb-server mariadb We will install and use Mariadb as our database server. Next, start and enable the webserver with the commands: $ sudo systemctl start httpdĬacti require its own database to store the data it collects.






Install cacti on windows server 2012