RU | EN | DE

Installation (Debian, PostgreSQL, Apache)

Installing Zabbix itself:

sudo wget https://repo.zabbix.com/zabbix/7.0/debian/pool/main/z/zabbix-release/zabbix-release_latest_7.0+debian13_all.deb  
sudo dpkg -i zabbix-release_latest_7.0+debian13_all.deb  
sudo apt update
sudo apt install zabbix-server-pgsql zabbix-frontend-php php8.4-pgsql zabbix-apache-conf zabbix-sql-scripts zabbix-agent

Make sure the database is installed:

sudo apt update 
sudo apt install postgresql -y 
sudo systemctl start postgresql 
sudo systemctl enable postgresql

Create the zabbix user:

sudo -u postgres createuser --pwprompt zabbix

Create the database:

sudo -u postgres createdb -O zabbix zabbix

Import initial data:

zcat /usr/share/zabbix-sql-scripts/postgresql/server.sql.gz | sudo -u zabbix psql zabbix

Open file for editing:

sudo nano /etc/zabbix/zabbix_server.conf

Find the line, uncomment it and enter the password:

DBPassword=password

Start:

sudo systemctl restart zabbix-server zabbix-agent apache2
sudo systemctl enable zabbix-server zabbix-agent apache2

Go to the page in a browser:

http://ipaddress/zabbix

Setup Wizard 🧙‍♂️

You’ll see the welcome window “Welcome to Zabbix”. Click Next step.

  1. Check of pre-requisites: Everything should be OK (green). Click Next.
  2. Configure DB connection (Important!):
    • Database type: Select PostgreSQL (that’s what you installed).
    • Database host: localhost
    • Database name: zabbix
    • User: zabbix
    • Password: Enter the password you set when creating the database (we agreed on password).
    • Click Next.
  3. Settings: Nothing to change here. Click Next.
  4. Summary: Just click Next, then Finish.

Logging In 🔑

After configuration you’ll be redirected to the login window. Default credentials (case-sensitive!):

  • Username: Admin (Mandatory with capital A)
  • Password: zabbix (All lowercase) Enter them and click Sign in.