In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Mysql instance shell: docker run-- name mysql-server-t\-e MYSQL_DATABASE= "zabbix"\-e MYSQL_USER= "zabbix"\-e MYSQL_PASSWORD= "zabbix"\-e MYSQL_ROOT_PASSWORD= "zabbix"\-d mysql:5.7\-- character-set-server=utf8-- collation-server=utf8_bin starts the Zabbix server instance And associate this instance to the created MySQL server instance shell: docker run-- name zabbix-server-mysql-t\-e DB_SERVER_HOST= "mysql-server"\-e MYSQL_DATABASE= "zabbix"\-e MYSQL_USER= "zabbix"\-e MYSQL_PASSWORD= "zabbix"\-e MYSQL_ROOT_PASSWORD= "zabbix"\-- link mysql-server:mysql\- P 10051 10051\-d zabbix/zabbix-server-mysql:latest starts the Zabbix web interface And associate it with MySQL server instance and Zabbix server instance shell: docker run-- name zabbix-web-nginx-mysql-t\-e DB_SERVER_HOST= "mysql-server"\-e MYSQL_DATABASE= "zabbix"\-e MYSQL_USER= "zabbix"\-e MYSQL_PASSWORD= "zabbix"\-e MYSQL_ROOT_PASSWORD= "zabbix"\-- link mysql-server:mysql\ -- link zabbix-server-mysql:zabbix-server\-p 8080 shell 80\-d zabbix/zabbix-web-nginx-mysql:latest check container startup shell: docker ps-aCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES4c3380e791e2 zabbix/zabbix-web- Nginx-mysql:latest "docker-entrypoint.sh" 25 minutes ago Up 25 minutes 443/tcp 0.0.0.0 usr/ 880-> 80/tcp zabbix-web-nginx-mysql1256ee8a925d zabbix/zabbix-server-mysql:latest "/ sbin/tini-/ usr/ …" 25 minutes ago Up 25 minutes 0.0.0.0 10051/tcp zabbix-server-mysql126a18ddcec6 mysql:5.7 10051-> 10051/tcp zabbix-server-mysql126a18ddcec6 mysql:5.7 "docker-entrypoint.s …" 26 minutes ago Up 26 minutes 3306/tcp 33060/tcp mysql-server View docker Image shell: docker imagesREPOSITORY TAG IMAGE ID CREATED SIZEzabbix/zabbix-web-nginx-mysql latest 1bf06c43656f 36 hours ago 150MBzabbix/zabbix-server-mysql latest 073a2414309c 36 hours ago 69.2MBmysql 5.7 383867b75fd2 3 weeks ago 373MB test login account password Admin/zabbix (http://ip:8080)
Host monitoring
Client installs yum install-y https://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-agent-3.0.28-1.el7.x86_64.rpm client configuration shell: vi / etc/zabbix/zabbix_agentd.conf95 Server=192.168.3.208135 ServerActive=192.168.3.208 client starts client service and configures firewall
Systemctl enable-now zabbix-agent & & firewall-cmd-zone=public-add-port=10050/tcp-permanent & & firewall-cmd-reload
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.