User Tools

Site Tools


zabbix6_podman

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

zabbix6_podman [2025/07/26 17:09] – - Imported by DokuWiki Advanced Plugin wikiadmzabbix6_podman [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== Zabbix 6 ====== 
-<file bash> 
-$ sudo podman pod create --name zabbix -p 80:8080 -p 10051:10051 
-</file> 
- 
-<file bash> 
-$ sudo podman volume create mysql 
-</file> 
- 
-<file bash> 
-$ sudo podman run --name mysql-server -t \ 
--e MYSQL_DATABASE="zabbix" \ 
--e MYSQL_USER="zabbix" \ 
--e MYSQL_PASSWORD="Kasar@123" \ 
--e MYSQL_ROOT_PASSWORD="Kasar@123" \ 
--v mysql:/var/lib/mysql/:Z \ 
---restart=always \ 
---pod=zabbix \ 
--d mysql:8.0 \ 
---character-set-server=utf8 \ 
---collation-server=utf8_bin \ 
---default-authentication-plugin=mysql_native_password 
-</file> 
- 
-<file bash> 
-$ sudo podman run --name zabbix-server-mysql -t \ 
--e DB_SERVER_HOST="127.0.0.1" \ 
--e MYSQL_DATABASE="zabbix" \ 
--e MYSQL_USER="zabbix" \ 
--e MYSQL_PASSWORD="Kasar@123" \ 
--e MYSQL_ROOT_PASSWORD="Kasar@123" \ 
---restart=always \ 
---pod=zabbix \ 
--d zabbix/zabbix-server-mysql:alpine-trunk 
-</file> 
- 
-<file bash> 
-$ sudo podman run --name zabbix-web-mysql -t \ 
--e ZBX_SERVER_HOST="127.0.0.1" \ 
--e DB_SERVER_HOST="127.0.0.1" \ 
--e MYSQL_DATABASE="zabbix" \ 
--e MYSQL_USER="zabbix" \ 
--e MYSQL_PASSWORD="Kasar@123" \ 
--e MYSQL_ROOT_PASSWORD="Kasar@123" \ 
---restart=always \ 
---pod=zabbix \ 
--d zabbix/zabbix-web-apache-mysql:alpine-trunk 
-</file> 
- 
-<file bash> 
-$ sudo podman run --name zabbix-agent \ 
--e ZBX_SERVER_HOST="127.0.0.1,localhost" \ 
---restart=always \ 
---pod=zabbix \ 
--d zabbix/zabbix-agent:alpine-trunk 
-</file> 
- 
-===== Referencias ===== 
-  - [[https://www.51cto.com/article/675144.html|Zabbix 6.0LTS疑似发布第一个alpha版本,暂无太大改变]] 
-  - [[https://www.zabbix.com/documentation/current/pt/manual/installation/containers|5 Instalação por containers]] 
-  - [[https://blog.while-true-do.io/podman-networking-2/|Podman - Networking 2/3]] 
-  - [[https://fedoramagazine.org/manage-containers-with-podman-compose/|Manage containers with Podman Compose]] 
  
zabbix6_podman.1753560545.txt.gz · Last modified: by wikiadm