How to install the OTRS community edition help desktop platform on Ubuntu Server 20.04 – TechRepublic

Register for your free TechRepublic membership or if you are already a member, sign in using your preferred method below.
We recently updated our Terms and Conditions for TechRepublic Premium. By clicking continue, you agree to these updated terms.
Invalid email/username and password combination supplied.
An email has been sent to you with instructions on how to reset your password.
By registering, you agree to the Terms of Use and acknowledge the data practices outlined in the Privacy Policy.
You will also receive a complimentary subscription to TechRepublic’s News and Special Offers newsletter and the Top Story of the Day newsletter. You may unsubscribe from these newsletters at any time.
Username must be unique. Password must be a minimum of 6 characters and have any 3 of the 4 items: a number (0 through 9), a special character (such as !, $, #, %), an uppercase character (A through Z) or a lowercase (a through z) character (no spaces).
How to install the OTRS community edition help desktop platform on Ubuntu Server 20.04
Your email has been sent
Jack Wallen shows you how to use this open-source ticketing system that can be a challenge to install.
OTRS is one of the more popular open-source ticketing systems you’ll find on the market. This ticketing and process management platform offers plenty of customizable features that make it a solid choice for help desks, call centers and IT service management.
SEE: 40+ open source and Linux terms you need to know (TechRepublic Premium)
The one issue with OTRS is that it’s not as simple to install as some other systems. But we at TechRepublic have you covered.
I’m going to walk you through the process of installing OTRS on Ubuntu 20.04.
To make this work you’ll need a running instance of Ubuntu Server 20.04 and a user with sudo privileges. With that said, let’s get this system up and running.
The first thing we’ll do is install the necessary dependencies. First, we’ll take care of installing Apache and the required Perl modules. Log into your server and install Apache with:
sudo apt install apache2 apache2-ssl-dev apache2-dev -y
When that completes, install the Perl modules with:
sudo apt install libapache2-mod-perl2 libdbd-mysql-perl libtimedate-perl libnet-dns-perl libnet-ldap-perl libio-socket-ssl-perl libpdf-api2-perl libsoap-lite-perl libtext-csv-xs-perl libjson-xs-perl libapache-dbi-perl libxml-libxml-perl libxml-libxslt-perl libyaml-perl libarchive-zip-perl libcrypt-eksblowfish-perl libencode-hanextra-perl libmail-imapclient-perl libtemplate-perl libdatetime-perl libcrypt-ssleay-perl libdbd-odbc-perl libdbd-pg-perl libauthen-ntlm-perl libmoo-perl zip unzip -y
Next, we’ll install the MariaDB database:
sudo apt install mariadb-server mariadb-client -y
Finally, install shareutils with:
sudo apt install sharutils -y
Before we create the database, let’s secure the MariaDB installation with the command:
sudo mysql_secure_installation
Set an admin password and answer <codey to all of the questions.
Let’s create a user for OTRS. Add the user with:
sudo useradd otrs
Give the user a password with:
sudo passwd otrs
Add the new user to the apache group with:
sudo usermod -aG apache otrs
Although you can download the source and install everything manually, the most reliable way of getting OTRS up and running is to use the installation script, created by the developers. Download and run the script with:
curl -O && sudo bash
The installer will present you with a terminal-based interface for the installation (Figure A).
Figure A
Hit Enter to begin the installation. During the installation, you’ll be asked for the MariaDB root password (Figure B, which you set earlier with the sudo mysql_secure_installation command).
Figure B
You will also be required to type and re-type a password for the default user (which is root@localhost). After that, the installer will do its thing. In the end, it will present you with the address you need to log into the web-based dashboard. The URL is in the form http://SERVER/otrs/ (Where SERVER is the IP address or domain of the hosting server).
Before you log in, make sure to start the OTRS daemon (which is handled through cron) with the commands:
cd /opt/otrs/bin/
sudo ./ start otrs
You can also manually start the daemon by switching to the otrs user:
su otrs
Now, start the daemon with:
/opt/otrs/bin/ start
Log in with username root@localhost and the password you set for that user during the installation and you will be greeted by the ORTS main page (Figure C).
Figure C
Congratulations, you are now ready to start setting up your OTRS ticketing system.
Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the latest tech advice for business pros from Jack Wallen.
You don’t want to miss our tips, tutorials, and commentary on the Linux OS and open source applications.
How to install the OTRS community edition help desktop platform on Ubuntu Server 20.04
Your email has been sent
Your message has been sent
In his final TechRepublic video, Bill Detwiler reflects on his more than 20 years of working on the brand and interviews Tamara Scott about what excites her about being Managing Editor of TR.
In these training courses, you’ll learn basic Linux system administration; then, you’ll get familiar with the Linux command line and understand the foundations of how Linux works.
Replacing a desktop or laptop computer with an iPad, whether the system is a Windows machine or a Mac, is no longer a stretch. These 10 steps will make the iPad Pro migration go smoothly.
PDF Converter Pro is an all-in-one tool that allows you create or convert PDF documents into a variety of formats or from a variety of formats with ease.
Tired of Gmail and you’d rather not touch Outlook? If so, what services and/or clients can you use for email communication? Jack Wallen offers up his five favorites.
If you’re looking for an alternative office suite, there are several choices to be found. Jack Wallen offers his five favorites that aren’t Office 365 or Google Workspace.
It’s critical to plan Microsoft 365 apps and services deployments on Macs properly to avoid end-user frustrations. There are so many elements to consider that forward-thinking IT professionals should consider employing a checklist. With proper administration, IT departments can ensure important tasks aren’t overlooked, and users don’t need to return systems to the help desk …
When computer systems fail, business grinds to a halt, and that can cost your enterprise a considerable amount of money. With the help of TechRepublic Premium’s Systems Downtime Expense Calculator, you can estimate just how much each system failure is going to cost you. When to use this tool Even if the entire business does …
Results from the latest TechRepublic Premium survey suggest that businesses continue to deploy multicloud solutions, but the IT pros who support them are uncertain how they’ll change in the future. From the introduction: Heading into the third year of the COVID-19 global pandemic, industries, businesses, consumers and the information technology professionals who support them are …
This TechRepublic Premium download includes a checklist for PC and Mac migrations to minimize frustrations and improve productivity. Regardless of the process, there are several elements to track when replacing an existing computer with a new system. Whether your organization begins by imaging drives or manually configures new systems, many questions must be addressed, including: …