Centos8 Cacti¼³Ä¡(1)
https://www.ehostidc.co.kr/ (508)https://www.ehostidc.co.kr/cscenter/consulting.php (491)
안녕Ȣ16;세요! 무한도1204;1077;니다 128522;
간만에 Ǹ16;lj16; 포스ᔚ1;1064;데요~
오늘1008; Centos8 Cacti설치 0169;법에 대해 알아볼,172;요!
1) epel 0143; 패Ȗ12;1648; 설치 |
root@localhost:[~]: dnf -y install epel-release root@localhost:[~]: dnf -y install cacti net-snmp net-snmp-utils php-mysqlnd php-snmp php-bcmath rrdtool |
2) snmp 설1221; |
root@localhost:[~]: vi /etc/snmp/snmpd.conf #com2sec notConfigUser 160;default 160; 160; 160; public #line 41 com2sec mynetwork 160; 160; IP 160; 160; 160; ehost #line 74 com2sec mynetwork 160; 160; 192.168.126.0/24 160; 160; ehost #line 75 group MyRWGroup 160;any 160; 160; 160; 160;local160;#line 79 group MyROGroup 160;any 160; 160; 160; 160;mynetwork #line 80 view all 160; 160;included 160;.1 160; 160; 160; 160; 160; 160; 160; 160; 160; 160; 160; 160; 160; 160; 160; 80160;#line 86 access MyROGroup "" 160; 160; 160;any 160; 160; 160; noauth 160; 160;0 160; 160; 160;all 160; 160;none 160; none #line 94 |
3) mariaDB 설1221; |
root@localhost:[~]: vi /etc/my.cnf.d/mariadb-server.cnf default-time-zone='Asia/Tokyo' character-set-server=utf8mb4 character_set_client=utf8mb4 collation-server=utf8mb4_unicode_ci max_heap_table_size=128M tmp_table_size=128M join_buffer_size=256M innodb_file_format=Barracuda innodb_large_prefix=1 innodb_buffer_pool_size=2048M innodb_flush_log_at_timeout=3 innodb_read_io_threads=32 innodb_write_io_threads=16 innodb_buffer_pool_instances=17 innodb_io_capacity=5000 innodb_io_capacity_max=10000 |
4) 시간대 설1221; |
root@localhost:[~]: mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p mysql [root@dlp ~]# systemctl restart mariadb |
5) DB생성 0143; table ፆ1;1077; |
root@localhost:[~]: mysql -u root R11;p MariaDB [(none)]> create database cacti; MariaDB [(none)]> grant all privileges on cacti.* to cacti@'localhost' identified by 'password'; MariaDB [(none)]> grant select on mysql.time_zone_name to cacti@'localhost'; MariaDB [(none)]> flush privileges; root@localhost:[~]: mysql -u cacti -p cacti < /usr/share/doc/cacti/cacti.sql |
6) cacti DB환ᅆ1;설1221; |
root@localhost:[~]: vi /usr/share/cacti/include/config.php $database_type 160; 160; = 'mysql'; #line 29 $database_default 160;= 'cacti'; $database_hostname = 'localhost'; $database_username = 'cactiuser'; $database_password = 'password'; $database_port 160; 160; = '3306'; $database_retries 160;= 5; $database_ssl 160; 160; 160;= false; $database_ssl_key 160;= ''; $database_ssl_cert = ''; $database_ssl_ca 160; = ''; |
7) cacti.conf 설1221; |
root@localhost:[~]: vi /etc/httpd/conf.d/cacti.conf 160;#line 14 160; 160; 160; 160; 160; 160; 160; 160; 160; 160; 160; 160; # httpd 2.4 160; 160; 160; 160; 160; 160; 160; 160; Require all granted 160; 160; 160; 160; 160; 160; 160; 160; 160; 160; 160; 160; 160; 160; 160; 160; # httpd 2.2 160; 160; 160; 160; 160; 160; 160; 160; Order deny,allow 160; 160; 160; 160; 160; 160; 160; 160; Deny from all 160; 160; 160; 160; 160; 160; 160; 160; Allow from all 160; 160; 160; 160; |
8) apache 설1221; |
root@localhost:[~]: vi /etc/httpd/conf/httpd.conf DocumentRoot "/usr/share/cacti" #line 122 |
9) php.ini 설1221; |
root@localhost:[~]: vi /etc/php.ini max_execution_time = 60160;#line 383 memory_limit = 512M #line 404 date.timezone = Asia/Tokyo #line 902 |
10) demon 1116;시1089; 0143; 웹6168;1060;1648; 확1064; |
root@localhost:[~]: systemctl restart httpd php-fpm mysqld 기본 계1221;: admin / admin |
다1020; 시간에 1060;Ǻ12;서 Centos8 Cacti설치 0169;법에 대해 알아볼,172;요!
요1608; DŽ16;씨가 급ᅄ1;7176; 추워1276;Ǻ12;요. 다들 옷 단단7176; ȋ13;겨1077;1004;시고 감기 1312;심Ȣ16;세요 128567;
감사합니다 :-)160;
2016³âµµ ±îÁö¿´´Âµ¥...
Áö±ÝÀº cacti ¸¹ÀÌ ¹Ù²¼³ª¿ä?
Çѵ¿¾È ±â´ÉÀÇ º¯È´Â ¾ø¾ú´ø°É·Î ±â¾ïÇϴµ¥.....
ÀÌÈÄ ¾î¶² º¯È°¡ ÀÖ¾ú´ÂÁö ±Ã±ÝÇϳ׿ä.
Âü ¿À·£ ½Ã°£ µ¿¾È ÇÔ²² Çß´ø ÅøÀÌ¿´´ø ±â¾ïÀ̳׿ä.....