配置 Zabbix 存储库
~# wget https://repo.zabbix.com/zabbix/5.0/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.0-1+focal_all.deb
~# dpkg -i zabbix-release_5.0-1+focal_all.deb
在Ubuntu上安装Zabbix代理
~# apt update
~# apt install zabbix-agent
~# vim /etc/zabbix/zabbix_agentd.conf
管理Zabbix服务
~# systemctl restart zabbix-agent
~# systemctl enable zabbix-agent