In order to install the Zabbix-agent on a Debian OS server, you can do the following steps:
- Login to the server as root privileged user.
- Download the zabbix deb using wget:
# wget --no-check-certificate https://repo.zabbix.com/zabbix/5.4/debian/pool/main/z/zabbix-release/zabbix-release_5.4-1+debian11_all.deb
- Install it using dpkg command:
#dpkg -i zabbix-release_5.4-1+debian11_all.deb
- Install the zabbix-agent package using apt install command:
#apt install zabbix-agent
- After the installation, you can do the necessary configuration changes in the file:
# vi /etc/zabbix/zabbix_agentd.conf
- One done, restart the service:
# service zabbix-agent restart