Install Zabbix 4.2 on Ubuntu 18

Install Zabbix 4.2 on Ubuntu 18

Channel:
Subscribers:
24,900
Published on ● Video Link: https://www.youtube.com/watch?v=lNpfjTyqy1o



Duration: 10:53
4,886 views
58


For more info on my Zabbix Course visit https://sbcode.net/zabbix/

I install Zabbix 4.2 from packages on an Ubuntu 18 and got my server from Digital Ocean.
https://m.do.co/c/23d277be9014.
Alternatively, I also have a Hetzner Cloud coupon where you will receive €20 in FREE credits : https://hetzner.cloud/?ref=9P2JvW3y3OBA

Steps in this video,
Install the Zabbix Server
Install a MySQL database for Zabbix
Setup the MySQL Zabbix Schema
Install the Zabbix Server PHP frontend
Edit Configuration files,
Login, and check for any errors.

The commands entered in this video are specific to Ubuntu 18 and Zabbix 4.2.1

$ wget https://repo.zabbix.com/zabbix/4.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_4.2-1+bionic_all.deb

$ dpkg -i zabbix-release_4.2-1+bionic_all.deb

$ apt update

$ apt install zabbix-server-mysql

$ apt install zabbix-frontend-php

$ mysql -uroot -pzabbix
create database zabbix character set utf8 collate utf8_bin;
grant all privileges on zabbix.* to zabbix@localhost identified by 'zabbix';
quit

$ zcat /usr/share/doc/zabbix-server-mysql/create.sql.gz | mysql -uzabbix -p zabbix
(then enter the password 'zabbix')

$ sudo nano /etc/zabbix/zabbix_server.conf
configure the DBPassword and DBHost values, and save

$ sudo service zabbix-server start

$ update-rc.d zabbix-server enable

$ sudo nano /etc/apache2/conf-enabled/zabbix.conf
uncomment both php_values for timezone and set to your timezone, then save

$ sudo service apache2 restart

Visit http://[ipaddress]/zabbix and continue

Full instructions for Debian/Ubuntu/Raspbian are on this page
https://www.zabbix.com/documentation/4.2/manual/installation/install_from_packages/debian_ubuntu







Tags:
zabbix
ubuntu
install zabbix
mysql
php
digital ocean
install zabbix 4.2