In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
1. Close firewall and selinux#systemctl stop firewall #vim /etc/selinux/configSELINUX=permissive#setenforce 02. Add zabbix repository rpm -Uvh https://repo.zabbix.com/zabbix/4.2/rhel/7/x86_64/zabbix-release-4.2-1.el7.noarch.rpm3. Install zabbix-server-mysql and zabbix-web-mysql# yum install -y zabbix-server-mysql zabbix-web-mysql#yum install zabbix-proxy-mysql -y
Install zabbix-agent client
# yum install zabbix-agent -y set boot autostart # systemctl start zabbix-agent# chkconfig zabbix-agent on4, Install and start mysql5.6 and initialize database info # rpm -U vh http://repo.mysql.com/yum/mysql-5.6-community/el/6/x86_64/mysql-community-release-el6-5.noarch.rpm# yum install -y mysql-community-server# systemctl start mysqld# chkconfig mysqld ld on# mysql_secure_installation5. Create zabbix database, Create zabbix account # mysql -uroot -p Create a zabbix library and set it to utf8 character encoding format mysql> create database zabbix character set utf8 collate utf8@bin; Create an account and grant all privileges on zabbix.* to 'zabbix'@'localhost' identified by 'zabbix'; refresh mysql> flush privileges;6. Import default zabbix database information # zcat/usr/share/doc/zabbix-server-mysql-4.2.0/create.sql.gz| mysql zabbix -uzabbix -pzabbix7. Modify the configuration file # vim /etc/zabbix_server.confDBHost=localhostDBName=zabbixDBUser=zabbixDBPassword=zabbix#vim/etc/php.ini Add php_value max_execution_time 300php_value memory_limit 128Mphp_value post_max_size 16Mphp_value upload_max_filesize 2Mphp_value max_input_time 3008 in the last line. Modify the system time install ntp service # yum install ntpdate -y adjust to Asia Shanghai time zone # ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime synchronization time server # ntpdate us.pool.ntp.org# date9, Modify httpd configuration file # vim /etc/httpd/conf.d/zabbix.confphp_value date.timezone Asia/Shanghai10, Start apache/zabbix-server service and set it to boot
start Apache
# systemctl start httpd# systemctl enable httpd# systemctl status httpd
Start zabbix-server service and set it to boot
# systemctl start zabbix-server# systemctl enable zabbix-server
View zabbix-server logs
# vim /var/log/zabbix/zabbix_server.log 18050:20190827:135341.502 Starting Zabbix Server. Zabbix 4.2.5 (revision 2c0e4d1d39). 18050:20190827:135341.503 ****** Enabled features ****** 18050:20190827:135341.503 SNMP monitoring: YES 18050:20190827:135341.503 IPMI monitoring: YES 18050:20190827:135341.503 Web monitoring: YES 18050:20190827:135341.503 VMware monitoring: YES 18050:20190827:135341.503 SMTP authentication: YES 18050:20190827:135341.503 Jabber notifications: NO 18050:20190827:135341.503 Ez Texting notifications: YES 18050:20190827:135341.503 ODBC: YES 18050:20190827:135341.503 SSH2 support: YES 18050:20190827:135341.503 IPv6 support: YES 18050:20190827:135341.503 TLS support: YES 18050:20190827:135341.503 ********************* 18050:20190827:135341.503 using configuration file: /etc/zabbix/zabbix_server.conf10, Visit website,
http://native IP/zabbix! [Insert picture description here](img-blog.csdnimg.cn/2019082715465132.png? x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80NTQ1MjY0Mg==,size_16,color_FFFFFF,t_70)
11. The home page is English, which can be changed from user settings to Chinese.
I hope you can ×× learn. cancerians
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.