Zabbix 5.0 LTS – download and install on OS Raspbian with PostgreSQL and NGINX

# wget https://repo.zabbix.com/zabbix/5.0/raspbian/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-pgsql zabbix-frontend-php php7.3-pgsql zabbix-nginx-conf zabbix-agent

 

# apt install postgresql postgresql-contrib
# sudo -u postgres createuser –pwprompt zabbix
# sudo -u postgres createdb -O zabbix zabbix
# zcat /usr/share/doc/zabbix-server-pgsql*/create.sql.gz | sudo -u zabbix psql zabbix
Edit file /etc/zabbix/zabbix_server.conf
DBPassword=<password>
Edit file /etc/zabbix/nginx.conf, uncomment and set ‚listen‘ and ’server_name‘ directives.
listen 80;
server_name rpi-iot-jsho-zabbix-01;
Edit file /etc/zabbix/php-fpm.conf, uncomment and set the right timezone for you.
php_value[date.timezone] = Europe/Berlin
# systemctl restart zabbix-server zabbix-agent nginx php7.3-fpm
# systemctl enable zabbix-server zabbix-agent nginx php7.3-fpm
http://rpi-iot-jsho-zabbix-01/setup.php

Leave a Reply

You must be logged in to post a comment.