- Choose your platformZABBIX VERSION
- 4.0 LTS
- 3.0 LTS
- 2.2 LTS
- pre-4.2 OS DISTRIBUTION
- CentOS
- Debian
- Oracle Linux
- Red Hat Enterprise Linux
- Ubuntu
- Raspbian OS VERSION
- Stretch DATABASE
- MySQL
- PostgreSQLrelease notes 4.0
- Install and configure Zabbix server for your platfoma. Install Zabbix repository documentation
# wget https://repo.zabbix.com/zabbix/4.0/raspbian/pool/main/z/zabbix-release/zabbix-release_4.0-2+stretch_all.deb
b.
# dpkg -i zabbix-release_4.0-2+stretch_all.deb
# apt update- Install Zabbix server, frontend, agent
# apt install zabbix-server-mysql zabbix-frontend-php zabbix-agent
c. Create initial databasedocumentation# 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 'password';
mysql> quit;- Import initial schema and data. You will be prompted to enter your newly created password.
# zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix
d. Configure the database for Zabbix serverEdit file /etc/zabbix/zabbix_server.confDBPassword=password
e. Configure PHP for Zabbix frontendEdit file /etc/zabbix/apache.conf, uncomment and set the right timezone for you.# php_value date.timezone Europe/Riga
f. Start Zabbix server and agent processesStart Zabbix server and agent processes and make it start at system boot:# systemctl restart zabbix-server zabbix-agent apache2
Now your Zabbix server is up and running!
# systemctl enable zabbix-server zabbix-agent apache2- Configure Zabbix frontend
- Connect to your newly installed Zabbix frontend: http://server_ip_or_name/zabbix
Follow steps described in Zabbix documentation: Installing frontend Start using ZabbixSee Quickstart guide - Source: https://www.zabbix.com/download?zabbix=4.0&os_distribution=raspbian&os_version=stretch&db=MySQL