Usually, the default PHP installation usually has not configured the correct timezone or php error reporting. A INPUT -p tcp -m state -state NEW -m tcp -dport 80 -j ACCEPT
Next, we need to open HTTP port 80 on IPTables. Next, we need to change some settings for database credentials in configuration file of Cacti application. # mysql -p cactidb < /var/www/cacti/cacti.sql Now, let import Cacti application database into the database created using the following command. */1 * * * * cacti php /var/www/cacti/poller.php &>/dev/null # chown -R apache:apache /var/# chown -R cacti /var/Now we need to add a cron entry for a 1 minute polling interval of Cacti application using the following command. # adduser -d /var/www/cacti -s /sbin/nologin cacti So, it will make us easy to upgrades Cacti to a newer versions.Īlso, we need to create a user for Cacti application and make sure that the permissions on the log and rra directories are set correctly as the following. It is recommended to create a symbolic link to the extracted directory of Cacti application “cacti-1.1.10”.
INSTALL CACTI ON WINDOWS 7 DOWNLOAD
Let move to the installation directory for Cacti application, /var/www, download and extract it. # systemctl enable httpdĮnable SNMP service to start it a the system boot and start its service.
INSTALL CACTI ON WINDOWS 7 INSTALL
# yum -y install php php-cli php-mysql net-snmp-utils rrdtool php-snmp gcc net-snmp-devel autoconf automake libtool dos2unix wget help2man php-gd php-ldap php-pear php-common php-devel php-mbstring net-snmp-utils net-snmp-libs httpdĮnable Apache service to start it a the system boot and start its service. To install Cacti web application, we need to install some mandatory packages as the following first. > create user identified by grant all privileges on cactidb.* to flush privileges 4. We need to create a database and a user for Cacti application and grant it all database privileges. Now let do the security hardening of MariaDB by execute the following command. # yum -y install mariadb-server mariadb-develĮnable MariaDB service to start it a the system boot and start its service. In CentOS 7, MySQl is moved to MariaDB, execute the following command to install MariaDB. Install and Configure Database for Cacti Application