If you’re MySQL is already installed and secured, then don’t need to do it again. We need to configure MySQL for Cacti, to do this we need to secure a newly installed MySQL server and then we will create Cacti database with user Cacti. Install Cacti in CentOS Configuring MySQL Server for Cacti Installation Once you’ve enabled the repository, type the following command to install Cacti application. Here, you need to install and enable the EPEL Repository. On RHEL/CentOS 8/7 and Fedora 19 Onwards ~]# systemctl enable rvice ~]# /sbin/chkconfig -levels 345 snmpd on ~]# /sbin/chkconfig -levels 345 mysqld on On RHEL/CentOS 6 and Fedora 18-12 ~]# /sbin/chkconfig -levels 345 httpd on ~]# systemctl start rviceĬonfiguring Apache, MySQL and SNMP Services to start on boot.
On RHEL/CentOS 8/7 and Fedora 19 Onwards ~]# systemctl start rvice On RHEL/CentOS 6 and Fedora 18-12 ~]# service httpd start Once you’ve installed all the required software’s for Cacti installation, let’s start them one-by-one using following commands. Install RRDTool in CentOS Staring Apache, MySQL, and SNMP Services Install Net SNMP in CentOS Install RRDTool # yum install rrdtool # dnf install net-snmp-utils net-snmp-libs Install SNMP in CentOS Install NET-SNMP # yum install net-snmp-utils net-snmp-libs Install PHP in CentOS Install PHP-SNMP # yum install php-snmp # dnf install php-mysql php-pear php-common php-gd php-devel php php-mbstring php-cli Install MariaDB Server in CentOS Install PHP # yum install php-mysql php-pear php-common php-gd php-devel php php-mbstring php-cli Recently, RedHat makes a new transaction from MySQL to MariaDB, as MariaDB is the default implementation of MySQL in RHEL/CentOS 8/7 and Fedora 19 onwards. Previously the official supported database was MySQL under RHEL/CentOS and Fedora. MariaDB is a community-developed fork of the MySQL database project and provides a replacement for MySQL. Install Apache Web Server in CentOS Install MySQL # yum install mysql mysql-server Install Apache # yum install httpd httpd-devel Installing Cacti Required Packages on RHEL / CentOS / Fedoraįirst, we need to install following dependency packages one-by-one using the default package manager tool as shown. Note: The installation instructions were shown here are written based on CentOS 7.5 Linux distribution.
#How to install cacti on centos series
RRDTool : A database tool to manage and retrieve time series data like CPU load, Network Bandwidth, etc.NET-SNMP : A SNMP ( Simple Network Management Protocol) is used to manage the network.PHP-SNMP : A PHP extension for SNMP to access data.PHP : A script module to create graphs using RRDTool.MySQL : A Database server to store cacti information.
Apache : A Web server to display network graphs created by PHP and RRDTool.The Cacti required the following packages to be installed on your Linux operating systems like RHEL / CentOS / Fedora.
#How to install cacti on centos how to
In this how-to, we are going to show you how to install and set up a complete network monitoring application called Cacti using Net-SNMP tool on RHEL, CentOS and Fedora systems using YUM and DNF package manager tool. Generally, it is used to graph time-series data of metrics such as network bandwidth utilization, CPU load, running processes, disk space, etc. Cacti enable a user to poll services at regular intervals to create graphs on resulting data using RRDtool. Cacti tool is an open-source web-based network monitoring and system monitoring graphing solution for IT business.