For Debian 10:
wget https://repo.zabbix.com/zabbix/4.0/debian/pool/main/z/zabbix-release/zabbix-release_4.0-3+buster_all.deb
sudo dpkg -i zabbix-release_4.0-3+buster_all.deb
vim /etc/zabbix/zabbix_agentd.conf
ServerActive=Zabbix服务器地址
Server=Zabbix服务器地址
Hostname=agent主机名
其他参数默认即可。
systemctl enable zabbix-agent
systemctl start zabbix-agent