This guide is written when installing Zabbix V5.0.1. Terminology: Host and Client are equivalent, Server and Zabbix server are equivalent.
# wget https://repo.zabbix.com/zabbix/5.0/debian/pool/main/z/zabbix-release/zabbix-release_5.0-1+buster_all.deb # dpkg -i zabbix-release_5.0-1+buster_all.deb # apt update
# apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-agent
# mysql -uroot -p password mysql> create database zabbix character set utf8 collate utf8_bin; mysql> create user zabbix@localhost identified by 'password'; mysql> grant all privileges on zabbix.* to zabbix@localhost; mysql> quit;
# zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix
sudo vim /etc/zabbix/zabbix_server.conf DBPassword=password
# systemctl restart zabbix-server zabbix-agent apache2 # systemctl enable zabbix-server zabbix-agent apache2
# apt install zabbix-agent
#DenyKey=system.run[*] Server=192.168.x.x ServerActive=192.168.x.x Hostname=<hostname> # must be identical to the one used in Zabbix server configuration
# systemctl start zabbix-agent # systemctl enable zabbix-agent
#DenyKey=system.run[*] Server=192.168.x.x ServerActive=192.168.x.x #Hostname=Windows host HostnameItem=system.hostname # this is the Windows hostname, must be identical to the one used in Zabbix server configuration
C:\> C:\zabbix\bin\zabbix_agentd.exe -c C:\zabbix\conf\zabbix_agentd.conf -i C:\> C:\zabbix\bin\zabbix_agentd.exe -c C:\zabbix\conf\zabbix_agentd.conf -s