We installed Cacti version 1.2.17 on Fedora 34 , with all fixing issue while installing cacti i.e log not writable issue /usr/share/cacti/log/ etc,
____________
Installation Workbook:
_________________
Free Networking Monitoring Tool:
Cacti Tutorial PlayList:
______________________________________________________________________________________
LibreNMS:
LibreNMS Tutorials:
__________________________________
dnf upgrade
Install Apache
dnf install httpd httpd-devel
Install MySQL
dnf install mariadb-server -y
Install PHP
for previous version like 33,32,30
dnf config-manager --set-enabled remi
dnf -y install epel-release
dnf module reset php
dnf module install php:remi-7.4
then do this
you can use direct only new version start from fedora 34
dnf install php php-cli php-fpm php-mysqlnd php-zip php-devel php-gd php-mcrypt php-mbstring php-curl php-xml php-pear php-bcmath php-json
Install PHP-SNMP
dnf install php-snmp
Install NET-SNMP
dnf install net-snmp-utils net-snmp-libs
Install RRDTool
dnf install rrdtool
all packages in one command
dnf install httpd httpd-devel mariadb-server php-mysqlnd php-pear php-common php-gd php-devel php php-mbstring php-cli
php-snmp net-snmp-utils net-snmp-libs rrdtool
Starting Apache, MySQL, and SNMP Services
Once you’ve installed all the required software’s for Cacti installation, let’s start them one-by-one using following commands.
systemctl start httpd.service
systemctl start mariadb.service
systemctl start snmpd.service
(please correct the suggested settings in your /etc/php.ini file as shown and restart Apache after making changes)
memory_limit = 512M
max_execution_time = 60
date.timezone = Asia/karachi
check timezome list on fedora
timedatectl list-timezones
Asia/karachi
And make sure your fedora time should be matches with php timezone
To set use command on fedora
timedatectl set-timezone Asia/karachi
Configure System Start-up Links
Configuring Apache, MySQL and SNMP Services to start on boot.
systemctl enable httpd.service
systemctl enable mariadb.service
systemctl enable snmpd.service
Database Tuning
Cacti recommend changing MariaDB settings for better performances. Edit the MariaDB configuration file.
nano /etc/my.cnf.d/mariadb-server.cnf
Add variables in the [mysqld] section.
collation-server = utf8mb4_unicode_ci
character-set-server=utf8mb4
max_heap_table_size = 64M
tmp_table_size = 64M
join_buffer_size = 128M
innodb_file_format = Barracuda
innodb_large_prefix = 1
innodb_flush_log_at_timeout = 3
innodb_buffer_pool_size = 1GB
innodb_buffer_pool_instances = 10
innodb_io_capacity = 5000
innodb_io_capacity_max = 10000
SeLINUX should be disabled
pen ‘/etc/sysconfig/selinux‘ file and change the option from ‘permissive‘ to ‘disabled‘.
nano /etc/sysconfig/selinux
SELINUX=permissive
TO
SELINUX=disabled
chkconfig httpd on
systemctl enable httpd.services
systemctl start httpd.services
chkconfig snmpd on
sudo chown -R apache:apache /usr/share/cacti/log/
chown -R root:root/usr/share/cacti/log/
sudo chown -R normal_user_name:normal_User_NAME /usr/share/cacti/log/ i.e saad
CCNP ENCOR (350-401):
__________________________________
CCNP Enterprise Free Training:
__________________________________
CCNP ENARSI (300-410):
fb:
Watch video How to Install Cacti Network Monitoring Tool on Fedora online without registration, duration 18 minute 45 second in high hd quality. This video was added by user IP Core Networks 12 August 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 854 once and liked it 0 people.