Issues installing Zabbix 6.2 on Ubuntu Server (minimized) 22.04.1

Pievienoja Džordžs Bārens Pk, 19.08.2022 - 09:37
Ubuntu Server (minimized) Zabbix missing locale
  1. Missing shell script for database.
    Package manager was configured to skip documentation download. The issue was already reported [3] and solution is to comment out line


    in /etc/dpkg/dpkg.cfg.d/excludes
    then reinstall the package

    sudo apt reinstall zabbix-sql-scripts

    and proceed the setup
  2. Missing statement USE DATABASE in SQL script.
    This was reported [4] too. The solution is to exctract the file

    gunzip server.sql.gz

    insert the line
    USE zabbix;
    at the begining of the file and feed it into server by

    mysql -uzabbix -p
    source server.sql;
  3. Missing locale on Zabbix frontend.
    Solution is to install missing language pack by

    sudo apt install language-pack-en-base
    sudo localectl set-locale LANG=en_US.utf8

[1] Zabbix
[2] Ubuntu
[3] zabbix-sql-scripts package missing when install Zabbix Proxy on rpm based OS
[4] MySQL database schema import file missing "USE zabbix;", fails to populate DB at install time