Step-by-step – Zabbix Installation in Ubuntu 20.04 Guide

February 18, 2020 | By the+gnu+linux+evangelist.

Setting Up DB

  1. 4. Making DB

    Again Creating Zabbix MySQL Database.

    mysql -uroot -p[root_password]

    Login with your [root_password].
    Then Make the Database:

    create database zabbix character set utf8 collate utf8_bin;

    And Grant the Privileges to the ‘zabbix’ User:

    grant all privileges on zabbix.* to zabbix@localhost identified by '[zabix_password]';

    Set a Custom [zabbix_password] for the zabbix User.
    Finally, to Quit:

    quit;

    Instead, for the PostgreSQL Database follow this other Guide

  2. 5. Editing Configuration

    And also Edit Zabbix Server Configuration File.

    sudo nano /etc/zabbix/zabbix_server.conf

    Set the password the same one you choose before:

    DBHost=localhost
    DBName=zabbix
    DBUser=zabbix
    DBPassword=[zabix_password]
    

    Simply Set the [zabix_password] in the Above!
    Ctrl+x to Save & Exit from nano ;)


Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress