File README.SUSE of Package zabbix50

Create Databse and configure Zabbix
===================================

1.) Create initial database:

	mysql -u root -p
	mysql> create database zabbix character set utf8 collate utf8_bin;
	mysql> create user zabbix@localhost identified by 'password';
	mysql> grant all privileges on zabbix.* to zabbix@localhost;
	mysql> quit; 

2.) On Zabbix server host import initial schema and data. You will be prompted to enter your newly created password.
  
	mysql -u root -p zabbix < /usr/share/doc/packages/zabbix50-server/mysql/schema.sql
	mysql -u root -p zabbix < /usr/share/doc/packages/zabbix50-server/mysql/images.sql
	mysql -u root -p zabbix < /usr/share/doc/packages/zabbix50-server/mysql/data.sql

3.) Configure the database for Zabbix server 

	Edit file /etc/zabbix/zabbix_server.conf
	    DBPassword=password 

4.) Configure PHP for Zabbix frontend 
  Edit file /etc/apache2/conf.d/zabbix.conf, uncomment and set the right timezone for you.
  ; php_value[date.timezone] = Europe/Riga 

5.) Start Zabbix server and agent processes
  # systemctl restart zabbix_server zabbix_agent httpd
  # systemctl enable zabbix_server zabbix_agent httpd

6.) Configure/Setup Zabbix:

  http://server_ip_or_name/zabbix
  Zabbix SuperUser:
    User: Admin
    Paswort: zabbix


Enable zabbix-phpfrontend:
==========================
  To enable zabbix frontend in apache
    type in console:
      # a2enflag ZABBIX
    or if you want to remove it from apache configuration
    type in console:
      # a2enflag -d ZABBIX
      # service apache2 restart
    or reload if apache restart is too disrupting

    Please, make sure SSL is enabled and up in Apache2 config.
    You can get inspired by https://www.zabbix.com/documentation/4.0/manual/installation/requirements/best_practices.
    If you have Apache 2.4.30 or newer, it is even more simple: https://httpd.apache.org/docs/trunk/mod/mod_md.html.
openSUSE Build Service is sponsored by