$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Install Zabbix on Arch Linux – Step by step

October 19, 2025 | By the+gnu+linux+evangelist.

Installing

  1. 2. Installing

    Now to Install Zabbix on Arch Linux
    Server with PostgreSQL DB:

    sudo pacman -S zabbix-server-pgsql zabbix-frontend-php zabbix-apache-conf zabbix-agent

    Alternatively, for a MySQL/MariaDB setup use:

    sudo pacman -S zabbix-server-mysql zabbix-frontend-php zabbix-apache-conf zabbix-agent
  2. 3. Making DB

    Again Creating Zabbix PostgreSQL Database.

    sudo -iu postgres
    createuser --pwprompt zabbix; createdb -O zabbix zabbix; exit

    Then Import the Database Schema:

    zcat /usr/share/zabbix-server-pgsql/schema.sql.gz | psql -U zabbix zabbix; zcat /usr/share/zabbix-server-pgsql/images.sql.gz | psql -U zabbix zabbix; zcat /usr/share/zabbix-server-pgsql/data.sql.gz | psql -U zabbix zabbix
  3. 4. Editing Configuration

    Next Edit Zabbix Server Configuration File.

    sudo nano /etc/zabbix/zabbix_server.conf

    Set the same password you chose before:

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

    Simply set your custom [zabbix_password] and save (Ctrl+x → y → Enter).

  4. 5. Editing Frontend Config

    Now to Edit Zabbix Apache Frontend Configuration.

    sudo nano /etc/httpd/conf/extra/zabbix.conf

    Uncomment and set your timezone like:

    php_value date.timezone Europe/Oslo

    Adjust the Timezone for your location.

  5. 6. Starting Server

    To Enable and Start Zabbix Services
    Run:

    sudo systemctl enable --now zabbix-server zabbix-agent httpd php-fpm

    Then check everything is running:

    sudo systemctl status zabbix-server
  6. 7. Getting Started

    Now open your Browser and go to:

    http://localhost/zabbix

    Follow the Web Installer to complete the setup.

    Zabbix Getting Started Docs

Contents