This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
notes:zabbix4-ubuntu16-install [2018/09/04 09:41] admin [Install Zabbix 4.0 Server on Ubuntu 16.04 (Xenial) LTS] |
notes:zabbix4-ubuntu16-install [2018/09/07 10:13] (current) admin [Install Zabbix 4 Local Agent] |
||
---|---|---|---|
Line 12: | Line 12: | ||
and update the apt package list with | and update the apt package list with | ||
- | apt-get update | + | sudo apt-get update |
==== Install Zabbix 4 Server ===== | ==== Install Zabbix 4 Server ===== | ||
Line 20: | Line 20: | ||
Secure your Mysql/MariaDB installation with | Secure your Mysql/MariaDB installation with | ||
- | mysql_secure_installation | + | sudo mysql_secure_installation |
default answers (see below) are fine for a normal setup | default answers (see below) are fine for a normal setup | ||
Line 47: | Line 47: | ||
Now install Zabbix web frontend | Now install Zabbix web frontend | ||
- | apt-get install zabbix-frontend-php zabbix-get | + | sudo apt-get install zabbix-frontend-php zabbix-get |
Set the [[http://php.net/manual/en/timezones.php|right timezone]] for you (mine is Europe/Rome) | Set the [[http://php.net/manual/en/timezones.php|right timezone]] for you (mine is Europe/Rome) | ||
Line 56: | Line 56: | ||
sudo systemctl restart apache2 | sudo systemctl restart apache2 | ||
sudo systemctl restart zabbix-server | sudo systemctl restart zabbix-server | ||
+ | |||
+ | ==== Install Zabbix 4 Local Agent ===== | ||
+ | |||
+ | This step it is not mandatory, but really useful for monitoring the server itself through Zabbix. Follow the [[notes:install-zabbix4-agent-on-ubuntu16-debian9|instructions posted here]] to install the Agent. Then, proceed with this guide. | ||
==== Configure Web UI ===== | ==== Configure Web UI ===== |