Technical Anshu Home › Tutorials › OTRS Helpdesk Installation
🎫 Open Source Ticketing System

OTRS Helpdesk Installation in 5 Minutes

Install the OTRS helpdesk on a Linux server step by step - server needs, the maintained Znuny build, database setup, the web installer, first agent, first queue and your first test ticket.

✍️ Technical Anshu🐧 Linux Server🎧 Multi-Language Audio
OTRS Helpdesk Installation in 5 Minutes
🎧 Multi-Language Audio: In the video player, click [Settings] (⚙️) ➔ [Audio track] to select your preferred audio.

📑Chapters

  1. What the server needs before you start
  2. OTRS or Znuny - install the maintained build
  3. Download the build and verify the checksum
  4. Install the web server and the database
  5. Create the database for the helpdesk
  6. Run the web installer
  7. First login - change the admin password
  8. Create the first agent and the first queue
  9. Send your first test ticket

📋 Overview & Step-by-Step Guide

1

What You Need Before You Start

OTRS runs on a Linux server - there is no Windows installer for it. The stack it needs is the Apache web server, Perl, and a database: MariaDB or MySQL, with PostgreSQL also supported. A small VPS is honestly enough for a small team - this is a classic, light application, not a heavy platform. If your only machine runs Windows, install it inside a Linux virtual machine or on a small Linux VPS instead.

Give the server a name your staff can remember, like a support subdomain, and keep the server clock and timezone correct - ticket times and mail fetching both depend on them.

2

OTRS or Znuny - Install the Maintained Build

One honest point before any download: the original OTRS Community Edition is no longer maintained - OTRS AG ended its support at the start of 2021, so that old code receives no security patches. The system itself lives on as Znuny, the community fork of the same code, which is still releasing updates and is also free and open source.

📌 Same system, maintained code. Everything in this guide - the web installer, queues, agents and mail - is the shared OTRS way of working. For a fresh install, follow exactly the steps the video shows, using the current Znuny build from the official download page - never an old OTRS copy saved on some forum or a random mirror.
3

Download the Build and Verify the Checksum

Download the release from the official Znuny download page, along with the matching checksum file published next to it:

Terminal
curl -LO https://download.znuny.org/releases/znuny-7.3.8.tar.gz

Then verify the download against its checksum before installing anything:

Terminal
sha256sum -c znuny-7.3.8.tar.gz.sha256

It must report OK. The check takes ten seconds and proves the file on your server is exactly the file Znuny published - not a corrupted or tampered copy.

4

Install the Web Server and Database

On a RHEL-family server, the base stack - Apache and the MariaDB database server - installs with one command:

Terminal
sudo dnf install -y httpd mariadb-server

Start both services now, and set them to start automatically at every boot:

Terminal
sudo systemctl enable --now httpd mariadb
5

Create the Database for the Helpdesk

Create an empty database for the helpdesk, signed in to MariaDB as its root user:

MariaDB / MySQL
CREATE DATABASE otrs DEFAULT CHARACTER SET utf8;

The utf8 encoding is not optional decoration - the manual is strict that the database encoding must be utf8, or ticket text in other languages will break later. One database setting from the installation notes is worth adding before you install, because big email attachments will hit it later: set max_allowed_packet = 64M in the database server configuration, then restart MariaDB so it takes effect.

6

Run the Web Installer

The rest of the installation happens in the browser. Open the web installer at http://your-server/otrs/installer.pl - replace the address with your own server name. The wizard checks the system, connects to the database you just created, and sets up the first administrator account, root@localhost.

When the wizard finishes, start the background services exactly as the installer instructs - the OTRS daemon and its cron watchdog, running as the otrs user. The video shows these on screen. Do not skip them: without the daemon running, mail is never fetched and the automatic jobs never run, and the helpdesk only looks finished.

7

First Login - Change the Admin Password Immediately

Log in at the index page with root@localhost - and do the very first job before anything else:

⚠️ Change the root@localhost password immediately. That account name is the built-in administrator on every OTRS installation in the world, so it is the first one an attacker tries. Set a strong password the moment you log in, then create your own named agent account with admin rights for daily work, and keep root@localhost for emergencies only.

Working day to day in a shared all-powerful account also means no ticket action can ever be traced to a person - one more reason the named account matters from day one.

8

First Agent, First Queue and Your First Test Ticket

An installed system is not a working helpdesk yet. Finish these in the same sitting: create your first agent account if you have not already, create the first queue - for example Support - because queues are where tickets live, and set the system email address the helpdesk will send from.

Then prove the whole chain works: send a test request and watch the ticket appear in your queue, open it, and reply to it.

✅ Installed is not the same as working. The installer finishing fast is real - but the real follow-up work is connecting the support mailbox so emailed requests become tickets and replies go back out. Do not announce the system to anyone until a test ticket has travelled in and a reply has travelled back out.

🏷️Topic Search Variables & Keywords

🔍 OTRS 🔍 Znuny 🔍 Helpdesk 🔍 Ticketing System 🔍 Linux Server 🔍 MariaDB 🔍 Apache 🔍 Web Installer 🔍 OTRS Installation 🔍 Helpdesk Setup 🔍 First Ticket 🔍 Open Source Helpdesk 🔍 Technical Anshu
🎙️ Full Transcript — tap to expand

Step-by-Step Troubleshooting Guide & Solutions - INSTALL OTRS HELPDESK IN JUST 5 MINUTES FREE OPEN SOURCE TICKETING SYSTEM. On-screen demonstration by Technical Anshu....

Install the OTRS helpdesk on a Linux server step by step - server needs, the maintained Znuny build, database setup, the web installer, first agent, first queue and your first test ticket.

(transcript ends here on the source page)

❓ Frequently Asked Questions

Is this tutorial 100% free to follow?

Yes! All guides and methods demonstrated by Technical Anshu use free, legal, and educational resources.

Can beginners follow this guide?

Absolutely! Every step is demonstrated on-screen with detailed instructions so anyone can follow along easily.

Where can I ask questions if I get stuck?

Leave a comment directly on the YouTube video, and our community and Technical Anshu will help you out.

🚀 Watch the Full Tutorial on YouTube

🚀 Watch the full step-by-step video tutorial on YouTube: https://www.youtube.com/watch?v=1Cqd8X6dYSA

Subscribe to Technical Anshu for IT support, Windows troubleshooting, and server management.

▶️ Watch Full Video
This tutorial is based on Technical Anshu's OTRS Helpdesk Installation in 5 Minutes video • Stuck on any step? Ask in the video comments — you will get help there 🙏