Easy methods to set up the OTRS neighborhood version assist desktop platform on Ubuntu Server 20.04

Jack Wallen exhibits you find out how to use this open-source ticketing system that may be a problem to put in.

Picture: Larich/Shutterstock

OTRS is among the extra fashionable open-source ticketing programs you’ll discover available on the market. This ticketing and course of administration platform presents loads of customizable options that make it a strong alternative for assist desks, name facilities and IT service administration.

SEE: 40+ open supply and Linux phrases it is advisable know (TechRepublic Premium)

The one difficulty with OTRS is that it’s not as easy to put in as another programs. However we at TechRepublic have you ever lined.

I’m going to stroll you thru the method of putting in OTRS on Ubuntu 20.04.

What you’ll want

To make this work you’ll want a working occasion of Ubuntu Server 20.04 and a person with sudo privileges. With that mentioned, let’s get this method up and working.

Easy methods to set up the dependencies

The very first thing we’ll do is set up the mandatory dependencies. First, we’ll care for putting in Apache and the required Perl modules. Log into your server and set up Apache with:

See also  Sustaining cyber, enterprise resilience in a turbulent world

sudo apt set up apache2 apache2-ssl-dev apache2-dev -y

When that completes, set up the Perl modules with:

sudo apt set up 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

Subsequent, we’ll set up the MariaDB database:

sudo apt set up mariadb-server mariadb-client -y

Lastly, set up shareutils with:

sudo apt set up sharutils -y

Easy methods to create the database

Earlier than we create the database, let’s safe the MariaDB set up with the command:

sudo mysql_secure_installation

Set an admin password and reply <codey to all the questions.

Easy methods to create the OTRS person

Let’s create a person for OTRS. Add the person with:

sudo useradd otrs

Give the person a password with:

sudo passwd otrs

Add the brand new person to the apache group with:

sudo usermod -aG apache otrs

Easy methods to obtain and set up OTRS

Though you’ll be able to obtain the supply and set up all the pieces manually, essentially the most dependable manner of getting OTRS up and working is to make use of the set up script, created by the builders. Obtain and run the script with:

See also  Learn cloud computing and get certified for just $30

curl -O && sudo bash otrs-community-edition-6.0.33.sh

The installer will current you with a terminal-based interface for the set up (Determine A).

Determine A

The OTRS installer tool is an ncurses-based terminal application.
The OTRS installer device is an ncurses-based terminal software.

Hit Enter to start the set up. In the course of the set up, you’ll be requested for the MariaDB root password (Determine B, which you set earlier with the sudo mysql_secure_installation command).

Determine B

Installing OTRS with the installation script is much more reliable than other methods.
Putting in OTRS with the set up script is far more dependable than different strategies.

Additionally, you will be required to sort and re-type a password for the default person (which is [email protected]). After that, the installer will do its factor. Ultimately, it would current you with the handle it is advisable log into the web-based dashboard. The URL is within the type (The place SERVER is the IP handle or area of the internet hosting server).

Earlier than you log in, make sure that to start out the OTRS daemon (which is dealt with via cron) with the instructions:

cd /decide/otrs/bin/

sudo ./Cron.sh begin otrs

You may as well manually begin the daemon by switching to the otrs person:

See also  Your IT budget should focus on the entire security stack

su otrs

Now, begin the daemon with:

/decide/otrs/bin/otrs.Daemon.pl begin

Log in with username [email protected] and the password you set for that person throughout the set up and you may be greeted by the ORTS predominant web page (Determine C).

Determine C

The OTRS main page.
The OTRS predominant web page.

Congratulations, you are actually prepared to start out organising your OTRS ticketing system.

Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the newest tech recommendation for enterprise execs from Jack Wallen.

Leave a Reply