نشانیها
- مخزن Zabbix
https://mirror-zabbix.pkg.shecan.ir/
Ubuntu و Debian
Shell
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSLo /etc/apt/keyrings/zabbix.asc https://mirror-zabbix.pkg.shecan.ir/zabbix-official-repo.key
. /etc/os-release
[ "$(dpkg --print-architecture)" = arm64 ] && arch=-arm64 || arch=
echo "deb [signed-by=/etc/apt/keyrings/zabbix.asc] https://mirror-zabbix.pkg.shecan.ir/zabbix/7.0/$ID$arch $VERSION_CODENAME main
deb [signed-by=/etc/apt/keyrings/zabbix.asc] https://mirror-zabbix.pkg.shecan.ir/zabbix-tools/debian-ubuntu $VERSION_CODENAME main" | sudo tee /etc/apt/sources.list.d/zabbix.list
sudo apt update && sudo apt install -y zabbix-agent2Shell
sudo rm -f /etc/apt/sources.list.d/zabbix.list /etc/apt/keyrings/zabbix.asc
sudo apt updateShell
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSLo /etc/apt/keyrings/zabbix.asc https://mirror-zabbix.pkg.shecan.ir/zabbix-official-repo.key
. /etc/os-release
[ "$(dpkg --print-architecture)" = arm64 ] && arch=-arm64 || arch=
echo "deb [signed-by=/etc/apt/keyrings/zabbix.asc] https://mirror-zabbix.pkg.shecan.ir/zabbix/7.0/$ID$arch $VERSION_CODENAME main
deb [signed-by=/etc/apt/keyrings/zabbix.asc] https://mirror-zabbix.pkg.shecan.ir/zabbix-tools/debian-ubuntu $VERSION_CODENAME main" | sudo tee /etc/apt/sources.list.d/zabbix.list
sudo apt update && sudo apt install -y zabbix-agent2Shell
sudo rm -f /etc/apt/sources.list.d/zabbix.list /etc/apt/keyrings/zabbix.asc
sudo apt updateAlmaLinux، Rocky و RHEL
/etc/yum.repos.d/zabbix.repo/etc/yum.repos.d/zabbix.repoINI
[zabbix]
name=Zabbix Official Repository - $basearch
baseurl=https://mirror-zabbix.pkg.shecan.ir/zabbix/7.0/rhel/$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=https://mirror-zabbix.pkg.shecan.ir/RPM-GPG-KEY-ZABBIX-B5333005
[zabbix-tools]
name=Zabbix Official Repository (tools) - $basearch
baseurl=https://mirror-zabbix.pkg.shecan.ir/zabbix-tools/rhel/$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=https://mirror-zabbix.pkg.shecan.ir/RPM-GPG-KEY-ZABBIX-TOOLSShell
sudo rm -f /etc/yum.repos.d/zabbix.repo
sudo dnf clean allShell
sudo dnf install -y zabbix-agent2نکتهها و محدودیتها
- apt و dnf امضای رسمی Zabbix را بررسی میکنند. دستورها نسخهٔ 7.0 LTS را نصب میکنند (روی arm64 از مخزنهای
ubuntu-arm64وdebian-arm64)؛ 7.4 زیر/zabbix/7.4/stable/و 8.0 زیر/zabbix/8.0/release/است (مسیر را عوض کنید، کلید همان است). - بستهٔ
zabbix-releaseاستفاده نمیشود، چون فایل مخزنش repo.zabbix.com را مینویسد؛ فایل مخزن را مطابق دستورها بسازید. Server و frontend هم از همین مخزن نصب میشوند (zabbix-server-pgsql،zabbix-frontend-php، ...).