In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains the method of creating zabbix monitoring system based on Dockerfile, the content is clear, interested friends can learn, I believe it will be helpful after reading.
Use the for loop to import the image of zabbix into the container
For n in `ls * .tar.gz`; do docker load-I $n Done uses docker to run zabbix-serverdocker run-- name mysql-server-t\-e MYSQL_DATABASE= "zabbix"\-e MYSQL_USER= "zabbix"\-e MYSQL_PASSWORD= "zabbix_pwd"\-e MYSQL_ROOT_PASSWORD= "root_pwd"\-d mysql:5.7\-character-set-server=utf8-- collation-server=utf8_bin docker run-- name zabbix-java-gateway-t\-d zabbix/zabbix- Java-gateway:latest 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_pwd"\-e MYSQL_ROOT_PASSWORD= "root_pwd"\-e ZBX_JAVAGATEWAY= "zabbix-java-gateway"\-- link mysql-server:mysql\-- link Zabbix-java-gateway:zabbix-java-gateway\-p 10051 DB_SERVER_HOST= 10051\-d zabbix/zabbix-server-mysql:latest 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_pwd"\-e MYSQL_ROOT_PASSWORD= "root_pwd"\ -- link mysql-server:mysql\-- link zabbix-server-mysql:zabbix-server\-- p 80:80\-d zabbix/zabbix-web-nginx-mysql:latest
Page access:
After reading the above content, do you have a better understanding of the method of creating zabbix monitoring system based on Dockerfile? if you want to learn more, you are welcome to follow the industry information channel.
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.