notes:zabbix4-ubuntu16-install
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
notes:zabbix4-ubuntu16-install [2018/09/03 15:04] – admin | notes:zabbix4-ubuntu16-install [2018/09/04 09:41] – [Install Zabbix 4.0 Server on Ubuntu 16.04 (Xenial) LTS] admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Install Zabbix 4.0 Server on Ubuntu 16.04 (Xenial) LTS ====== | ====== Install Zabbix 4.0 Server on Ubuntu 16.04 (Xenial) LTS ====== | ||
- | + | -- //Tested with **Ubuntu 16.04 (Xenial) LTS** and **Zabbix Server 4.0 beta 1** on **September 2018**// | |
- | //Tested with **Ubuntu 16.04 (Xenial) LTS** and **Zabbix Server 4.0 beta 1** on **September 2018**// | + | |
Line 20: | Line 19: | ||
apt-get install mysql-server zabbix-server-mysql zabbix-release | apt-get install mysql-server zabbix-server-mysql zabbix-release | ||
+ | Secure your Mysql/ | ||
mysql_secure_installation | mysql_secure_installation | ||
Line 32: | Line 31: | ||
Reload privilege tables now? [Y/n] --> Y | Reload privilege tables now? [Y/n] --> Y | ||
- | + | Now login on mysql as root with the password just choosen | |
- | $ mysql -uroot -p< | + | $ mysql -uroot -p |
+ | and create a database (and a user) for Zabbix | ||
MariaDB [(none)]> | MariaDB [(none)]> | ||
- | MariaDB [(none)]> | + | MariaDB [(none)]> |
MariaDB [(none)]> | MariaDB [(none)]> | ||
MariaDB [(none)]> | MariaDB [(none)]> | ||
- | zcat / | + | Import initial schema and data for the Zabbix server with: |
- | enterr | + | |
+ | (when asked, type the <mysql-zabbix-password> | ||
+ | Edit / | ||
+ | DBPassword=< | ||
Now install Zabbix web frontend | Now install Zabbix web frontend | ||
apt-get install zabbix-frontend-php zabbix-get | apt-get install zabbix-frontend-php zabbix-get | ||
- | Remember to set the [[http:// | + | Set the [[http:// |
echo -e "< | echo -e "< | ||
sudo a2enconf zabbix-local | sudo a2enconf zabbix-local | ||
- | and restart Apache | + | and restart Apache |
sudo systemctl restart apache2 | sudo systemctl restart apache2 | ||
+ | sudo systemctl restart zabbix-server | ||
+ | ==== Configure Web UI ===== | ||
- | http://chicago.linuxconsulting.mn.it/zabbix/setup.php | + | Now point your browser to |
+ | | ||
+ | and follow the wizard to configure Zabbix frontend and its access to the Mysql database | ||
- | Now edit ''/etc/apache2/conf.d/zabbix'' | + | Finally, when presented the Zabbix “Welcome” screen, enter the user name '//Admin//' |
- | php_value date.timezone Europe/Rome | + |
notes/zabbix4-ubuntu16-install.txt · Last modified: 2018/09/07 10:13 by admin