In your case, it would be different.įinally, restart the Apache 007]# systemctl restart rvice For example we've enabled access to our local LAN network 172.16.16.0/20. You need to enabled access to Cacti application for your local network or per IP level.
![install cacti on centos 7 install cacti on centos 7](https://786647.smushcdn.com/1490832/wp-content/uploads/2019/02/Secure-Installation.png)
Open file called /etc/httpd/conf.d/nf with your choice of editor. $database_password = "your-password-here" Ĭonfiguring Firewall for 007]# firewall-cmd -permanent -zone=public 007]# firewall-cmd -reloadĬonfiguring Apache Server for Cacti Installation * make sure these values reflect your actual database/host/user/password */ Make the following changes and save the file. Open the file called /etc/cacti/db.php with any editor.
#INSTALL CACTI ON CENTOS 7 INSTALL#
Now we’ve of the location of Cacti.sql file, type the following command to install tables, here you need to type the Cacti user 007]# mysql -u cacti -p cacti < /usr/share/doc/cacti-0.8.8b/cacti.sql Mysql > GRANT ALL ON cacti.* TO IDENTIFIED BY 'hello' įind out the database file path using RPM command, to install cacti tables into newly created Cacti database, use the following 007]# rpm -ql cacti | grep cacti.sql
#INSTALL CACTI ON CENTOS 7 PASSWORD#
Login into MySQL server with newly created password and create Cacti database with user Cacti and set the password for 007]# mysql -u root -p Installing Cacti Required Packages on RHEL / CentOSįirst, we need to install following dependency packages one-by-one using YUM package manager tool.
![install cacti on centos 7 install cacti on centos 7](https://basimaly.files.wordpress.com/2017/03/clip_image024.png)
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 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 following packages to be installed on your Linux operating systems like RHEL / CentOS Generally, it is used to graph time-series data of metrics such as network bandwidth utilization, CPU load, running processes, disk space etc. Cacti enables 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.