Technical Anshu
Tutorials Blog
🎫 Helpdeskin asennusopas

Install OTRS Helpdesk and Get a Working Ticket System Up Fast

A shared inbox collapses the day two people reply to the same customer. A ticket system fixes that: every request gets a number, an owner and a full history. This guide installs the OTRS helpdesk on a Linux server and takes you to the moment the first real ticket lands in the right queue.

✍️ Technical Anshu🐧 Linux Server⏱️ Installer in minutes
🎥 Katso koko video - OTRS-tukipalvelun täydellinen asennus vaihe vaiheelta

Yksi rehellinen huomautus ennen askeleita. The original OTRS Community Edition is no longer maintained - OTRS AG ended its support at the start of 2021, so it receives no security patches. The system itself lives on as Znuny, the community fork of the same code, run by the company of the OTRS creator and still releasing updates (the download page lists Znuny 7.3.8 and Znuny LTS 6.5.26, both from October 2026). Everything in this guide - queues, agents, mail, the web installer - is the shared OTRS way of working, and the video above shows the installation on screen. Jos haluat asentaa uuden version, noudata samoja vaiheita nykyisen Znuny-koontiversion kanssa.

Web installer - http://your-server/otrs/installer.pl
✅ Server ready - Linux with Apache, Perl and MariaDB installed
✅ Database created - empty database with utf8 encoding, as the manual requires
✅ Download verified - SHA-256 checksum matched before installing
✅ Installer finished - admin account root@localhost created
⬜ Daemon started - handles mail fetching and automatic jobs
⬜ First test ticket - sent by email, seen in the queue
Miltä verkkoasennusohjelman edistyminen näyttää – ihmiset unohtavat kaksi viimeistä laatikkoa
1

Mitä tarvitset ennen kuin aloitat

OTRS and Znuny run on Linux - there is no Windows installer. You need a Linux server or VPS, the Apache web server, Perl, and a database: MariaDB or MySQL, with PostgreSQL also supported. Pieni VPS riittää rehellisesti pienelle tiimille; this is a classic, light application, not a heavy platform. Give it 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 it.

2

Lataa ylläpidetty versio ja tarkista se

Download from the official Znuny download page, never from a random mirror or an old OTRS 6 copy saved on some forum - that old code has had no security fixes since 2021. The download page publishes a checksum next to every release, and checking it takes ten seconds:

  1. Lataa julkaisu ja sen tarkistussummatiedosto curl -LO https://download.znuny.org/releases/znuny-7.3.8.tar.gz:lla ja vastaavalla .sha256-tiedostolla
  2. Varmista käyttämällä sha256sum -c znuny-7.3.8.tar.gz.sha256 - sen on sanottava OK ennen kuin asennat mitään
  3. RHEL-perheen palvelimilla on myös RPM-paketti, joten koko pino voidaan asentaa ja päivittää tavallisella paketinhallinnassa
3

Valmistele Web-palvelin ja tietokanta

On a RHEL-family server the base stack is one command class - sudo dnf install -y httpd mariadb-server - then sudo systemctl enable --now httpd mariadb so both start now and at every boot. Create an empty database for the helpdesk, for example CREATE DATABASE otrs DEFAULT CHARACTER SET utf8; - the manual is strict that the database encoding must be utf8. Two database settings from the official manual are worth adding before you install, because big email attachments will hit them later:

  1. max_allowed_packet = 64M tietokantapalvelimen kokoonpanossa
  2. innodb_log_file_size = 256M MariaDB- ja MySQL-asetuksiin
  3. Käynnistä tietokanta uudelleen niiden muuttamisen jälkeen ja suorita sitten verkkoasennusohjelma
4

Suorita Web Installer ja käynnistä Daemon

The installer is a browser wizard at http://your-server/otrs/installer.pl - replace the address with your own server name. It checks the system, connects to the database you created, and sets up the first administrator account, root@localhost. Kun se on valmis, kaksi taustaosaa on käynnistettävä otrs-käyttäjänä, tai postia ei koskaan haeta eikä automaattisia töitä suoriteta:

  1. Käynnistä daemon komennolla sudo -u otrs /opt/otrs/bin/otrs.Daemon.pl start
  2. Käynnistä cron watchdog käyttämällä /opt/otrs/bin/Cron.sh start otrs-käyttäjänä
  3. Kirjaudu sisään hakemistosivulla root@localhost ja vaihda pääkäyttäjän salasana välittömästi
5

Ensimmäiset viisi minuuttia kirjautumisen jälkeen

Älä pysähdy tyhjään kojelautaan - asennettu järjestelmä ei ole vielä toimiva helpdesk. Viimeistele nämä viisi asiaa samalla istumalla:

  1. Luo oma nimetty agenttitili ja käytä sitä päivittäin – jaettu juuritili on tarkoitettu vain hätätilanteisiin
  2. Luo ensimmäinen jono, esimerkiksi tuki - jonot ovat lippujen paikka, joka on täysin katettu tämän sivuston agenttien ja jono-oppaassa
  3. Aseta järjestelmän sähköpostiosoite, josta helpdesk lähettää
  4. Yhdistä tukipostilaatikko, jotta sähköpostitse lähetetyt pyynnöt muuttuvat lipuiksi – tämä on todellinen työ, ja sillä on oma opas
  5. Lähetä testisähköposti kyseiseen postilaatikkoon ja katso lipun ilmestymistä jonoosi
🔴 Asennettu ei ole sama asia kuin työskentely. Asennusohjelman valmistuminen minuuteissa on todellinen – mutta helpdesk, joka ei voi vastaanottaa sähköpostia ja lähettää vastauksia, on vain esittely. Varaa reaaliaikaasi sähköpostin asennukseen, äläkä kerro järjestelmästä kenellekään ennen kuin testilippu on kulkenut sisään ja takaisin.

🎥 Katso täydellinen asennus videolta

Täysi OTRS-tukipalveluasennus jokaisen livenä näkyvän näytön yhteydessä – palvelin, tietokanta, asennusohjelma ja ensimmäinen kirjautuminen.

▶ Watch Full Video
❓ Yleisiä kysymyksiä (FAQ)

Onko OTRS ilmainen asentaa ja käyttää?

The community code is free and open source under the GPL. The original OTRS Community Edition is no longer maintained by OTRS AG, so a new installation should use Znuny, the maintained fork of the same code, which is also free. OTRS AG myy erillisen kaupallisen tuotteen organisaatioille, jotka haluavat toimittajan tukisopimuksen.

Voinko asentaa OTRS:n Windowsiin?

Ei. OTRS ja Znuny toimivat Linuxissa Apachen, Perlin ja MariaDB:n, MySQL:n tai PostgreSQL:n kanssa. If your only machine runs Windows, install it inside a Linux virtual machine or use a small Linux VPS - the application itself is light.

Mikä on root@localhost-tili OTRS:ssä?

Se on sisäänrakennettu järjestelmänvalvojan tili, jonka verkkoasennusohjelma luo. Log in with it first, set a strong password, create your own named agent account with admin rights, and keep root@localhost for emergencies instead of daily work.

Tämä opas perustuu yllä olevaan Technical Anshu OTRS-tukipalvelun videoon • Oletko jumissa askelmassa? Kysy videokommenteissa - sieltä vastaukset tulevat 🙏