Zabbix server 52 - sivasmartins/Documentos GitHub Wiki

Zabbix Server 5.2

Debian - Repositorios

https://repo.zabbix.com/zabbix/5.2/debian/pool/main/z/zabbix-release/

* Debian 10.0
wget https://repo.zabbix.com/zabbix/5.2/debian/pool/main/z/zabbix-release/zabbix-release_5.2-1+debian10_all.deb
dpkg -i zabbix-release_5.2-1+debian10_all.deb
apt update

Apache/MariaDB

* DB
apt install mariadb-server -y
* Server/Frontend
apt install zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-get zabbix-sender zabbix-cli -y

* Root password mysql
mysql_secure_installation

* Create initial database
mysql -uroot -p
password
mysql> create database zabbix character set utf8 collate utf8_bin;
mysql> grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbix';
mysql> quit;

zcat /usr/share/doc/zabbix-server-mysql/create.sql.gz | mysql -uzabbix -p zabbix

* Configure the database for Zabbix server
vim /etc/zabbix/zabbix_server.conf
DBPassword=zabbix

* Configure PHP for Zabbix Frontend
vim /etc/apache2/conf-available/zabbix.conf
php_value date.timezone America/Sao_Paulo

* Start 
systemctl restart zabbix-server apache2
* Start on Boot
systemctl enable zabbix-server apache2

* Finish installation
http://x.x.x.x/zabbix