Інсталяція Zabbix

root@host:~# wget https://repo.zabbix.com/zabbix/5.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_5.2-1+ubuntu$(lsb_release -rs)_all.deb root@host:~# dpkg -i zabbix-release_5.2-1+ubuntu$(lsb_release -rs)_all.deb root@host:~# apt update root@host:~# apt -y install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-agent root@host:~# apt -y install mariadb-common mariadb-server-10.3 mariadb-client-10.3 root@host:~# systemctl start mariadb && systemctl enable mariadb root@host:~# mysql -uroot -p’rootDBpass’ -e “create database zabbix character set utf8 collate utf8_bin;” root@host:~# mysql -uroot -p’rootDBpass’ -e “grant all privileges on zabbix.* to zabbix@localhost identified by ‘YourPassworD1236’;” root@host:~# zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p’YourPassworD1236′ zabbix root@host:~# vi /etc/zabbix/zabbix_server.confПрописуємо пароль до бази в полі:# DBPassword= root@host:~# ufw allow 10050/tcp root@host:~# ufw allow 10051/tcp root@host:~# ufw…