- #HOW TO INSTALL CACTI ON CENTOS 7 INSTALL#
- #HOW TO INSTALL CACTI ON CENTOS 7 SOFTWARE#
- #HOW TO INSTALL CACTI ON CENTOS 7 DOWNLOAD#
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”.
#HOW TO INSTALL CACTI ON CENTOS 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.
#HOW TO INSTALL CACTI ON CENTOS 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 Frankly, I haven't had such an unpleasant interaction since I briefly tried Gentoo.3. I accept that you didn't intend to be snide.
#HOW TO INSTALL CACTI ON CENTOS 7 SOFTWARE#
At no point was this about coming to the software support forum to fix someone else's bug. I could then point them to the bug, or post the information in the bug report directly if it was helpful in solving the problem (with proper attribution, of course). They might however respond on the forums. Some of those people might not have filed a bug, or seen the one bug filed. A few of them might have even solved it already. Some of them have likely at least seen the same error.
![how to install cacti on centos 7 how to install cacti on centos 7](https://linuxtips.us/wp-content/uploads/cacti-logo.jpg)
As such, asking the wider community if any of them have had the same error seems logical. I'm pretty sure that myself and the original poster of that bug aren't the only 2 people wanting to use Cacti on CentOS 7. As such, "They won't fix it if you don't report it" isn't helpful.
![how to install cacti on centos 7 how to install cacti on centos 7](https://www.linuxtechi.com/wp-content/uploads/2020/09/Cacti-rpm-info-centos8.png)
I've been doing this since 1993, far longer than there has been a Red Hat or a CentOS - I understand how bug reports work, and did my diligence with regard to that bug.
![how to install cacti on centos 7 how to install cacti on centos 7](https://computingforgeeks.com/wp-content/uploads/2019/03/install-cacti-rhel-8-centos-8-permissions-checks.png)
I indicated in my second reply that there was a bug report, and that I had posted my information to it along with the original reporters. Let me try one last time to clear this up, and then I'm going to just move on. We're now talking past each other, not to each other. You didn't post the script, you posted the error message.
![how to install cacti on centos 7 how to install cacti on centos 7](https://www.tecmint.com/wp-content/uploads/2012/09/Install-Cacti.jpg)
I wasn't being snide, you reported an error message, I looked at the script and can see that it's a bug in the script. They won't fix it if you don't report it. TrevorH wrote:You get the package from EPEL, Only EPEL can fix bugs in their packages. Non-fatal POSTIN scriptlet failure in rpm package cacti-0.8. Warning: %post(cacti-0.8.) scriptlet failed, exit status 1 var/tmp/rpm-tmp.BO5goN: line 1: fg: no job control Loading mirror speeds from cached hostfile Anyone else get the following? This happens when I try to remove or install cacti: