Skip to content

Zabbix server 54

Sivaldo Martins edited this page Jul 17, 2021 · 2 revisions

Zabbix Server 5.4

Debian - Repositorios

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

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

Apache/MariaDB

* DB
apt install mariadb-server -y
* Server/Frontend
apt install zabbix-server-mysql zabbix-sql-scripts zabbix-web-service 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-sql-scripts/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

Clone this wiki locally