How to Install Cacti Network Monitoring Tool On CentOS 7











############################# Video Source: www.youtube.com/watch?v=KvwBPuT5mEU

How to Install Cacti Network Monitoring Tool on CentOS 7/RHEL • follow our workbook to install cacti on centos • __________________________________________________________ • Installation workbook: • https://ipcorenetworks.blogspot.com/2... • ___________________________________ • Free Networking Monitoring Tool: • Cacti Tutorial PlayList:   • Cacti Tutorials   • ______________________________________________________________________________________ • LibreNMS: • LibreNMS Tutorials:    • LibreNMS Tutorials   • ________________________________________ • Prerequisites • Setup EPEL Repository • Repositories For more extended package list, we first install the REMI, OpenNMS, and EPEL repositories: • Setup EPEL repository only CentOS 7 / RHEL 7. • yum install https://dl.fedoraproject.org/pub/epel... • yum install http://yum.opennms.org/repofiles/open... • yum install http://rpms.remirepo.net/enterprise/r... • Install SNMP • Install SNMP and RRDTool. • yum install net-snmp net-snmp-utils net-snmp-libs rrdtool • Install Apache • yum install httpd httpd-devel • Install PHP PHP Extensions • The PHP version available in base OS repository is already reached the end of life and for the Cacti installation, you may need to go for PHP v7.2+. • So, we will use the Remi repository to install PHP 7.x. • PHP v7.3 • yum install -y --enablerepo=remi-php73 php php-xml php-session php-sockets php-ldap php-gd php-gmp php-intl php-mbstring php-mysqlnd php-pdo php-process php-snmp • Update all installed packages • yum update • Install MariaDB • The MariaDB package (v5.4) available in the base OS repository doesn’t meet Cacti’s minimum requirement as Cacti requires MariaDB v5.6+ or MariaDB v10+ for installation. So, install the latest version of MariaDB available from the official MariaDB community website. • READ: How To Install MariaDB on CentOS 7 / RHEL 7 • https://mariadb.com/resources/blog/in... • Install the MariaDB server using the following command. • yum install MariaDB-server MariaDB-client • Database Tuning • Cacti recommend changing MariaDB settings for better performances. Edit the MariaDB configuration file. • nano /etc/my.cnf.d/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 = 64M • innodb_file_format = Barracuda • innodb_large_prefix = 1 • innodb_flush_log_at_timeout = 3 • innodb_buffer_pool_size = 1GB • innodb_buffer_pool_instances = 10 • Based on what type for storage you use. The below values are for SSD drives. • Change it if Cacti reports issues during the installation • innodb_read_io_threads = 32 • innodb_write_io_threads = 16 • innodb_io_capacity = 5000 • innodb_io_capacity_max = 10000 • Start Enable Services • Start the following services. • systemctl start httpd snmpd mariadb • Enable the services to start automatically on system boot. • ADVERTISEMENT • systemctl enable httpd snmpd mariadb • Create Database • If you are configuring the MySQL for the first time; take a look at how to secure the MariaDB. • Create a database for Cacti installation. • mysql -u root -p • Create a database for Cacti. • create database cacti; • Grant permission to the newly created database. • CREATE USER 'cactiuser'@'localhost' IDENTIFIED BY 'password'; • GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'password'; • flush privileges; • exit • The newly created database user (cactiuser) should have access to the • mysql -u root -p • Grant the permission to cactiuser. • GRANT SELECT ON mysql.time_zone_name TO cactiuser@localhost; • flush privileges; • exit • Install Cacti • READ: how to install cacti on centos 7 • https://cacti.net/info/downloads • Use the yum command on CentOS / RHEL to install Cacti package. • yum install cacti • Import the default database to the cacti database. • Firewall • Configure the firewall to allow HTTP service. • firewall-cmd --permanent --add-service=http • firewall-cmd --add-port=8090/tcp --permanent • firewall-cmd --reload • open ‘/etc/sysconfig/selinux‘ file and change the option from ‘permissive‘ to ‘disabled‘. • nano /etc/sysconfig/selinux • SELINUX=permissive • TO • SELINUX=disabled • • https://ipcorenetworks.blogspot.com/2... • fb:   / ipcorenetworks   • #cacti #monitoring #centos #cactitutorial #librenms #Cacti #ccna #ccnp #LibreNMS #snmp #ipcorenetworks #networkmonitoringtool #cactitutorials

#############################









Content Report
Youtor.org / Youtor.org Torrents YT video Downloader © 2024

created by www.mixer.tube