Install Jira Service Desk on Ubuntu 19.04

One of the most popular IT Service Manager (ITSM) solutions out there is Jira Service Desk. The product is offered in two “flavors”. On prem, or in the cloud. In this post we are going to walk you through installation on the latest version of Ubuntu as of this writing (19.04).

For this tutorial, we assume that you have a running installation of Ubuntu online, and with network access.

To begin the installation we first need to get the bits from the Jira Webserver. For the current release as of May 15th 2019, the following command is needed.

wget https://www.atlassian.com/software/jira/downloads/binary/atlassian-servicedesk-4.1.0-x64.bin

From there, we need to make the .bin file executable, so we issue the following command in the terminal

chmod a+x atlassian-servicedesk-4.1.0-x64.bin

Now that the file is executable, it is time to - well, execute it! Kick off the installation by running the following command

sudo ./atlassian-servicedesk-4.1.0-x64.bin

If everything works as expected, you should be asked the following.

> Unpacking JRE ...

Starting Installer …
May 17, 2019 5:18:17 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
May 17, 2019 5:18:17 PM java.util.prefs.FileSystemPreferences$2 run
INFO: Created system preferences directory in java.home.

This will install JIRA Service Desk 4.1.0 on your computer.
OK [o, Enter], Cancel [c]

Now, we obviously want to install the ITSM solution, so we are going to hit that enter key, and let the bits fly. Unfortunately, after we hit enter, we are prompted for more information.

Choose the appropriate installation or upgrade option.
Please choose one of the following:
Express Install (use default settings) [1], Custom Install (recommended for advanced users) [2, Enter], Upgrade an existing JIRA installation [3]

For our purposes, we are going to go with the express installation. In our next post we will do a custom install. After choosing option one, we need to decide if we are to run Jira Service Desk as a service. Obviously we do, so we chose option 1.

Details on where JIRA Service Desk will be installed and the settings that will be used.
Installation Directory: /opt/atlassian/jira
Home Directory: /var/atlassian/application-data/jira
HTTP Port: 8080
RMI Port: 8005
Install as service: Yes
Install [i, Enter], Exit [e]

After you hit i, or Enter to proceed with the installation, you are presented with the following screen while the software unpacks and installs.

Once the install completes, the installer shows you how to access Jira Service Desk in a web browser

Your installation of JIRA Service Desk 4.1.0 is now ready and can be
accessed via your browser.
JIRA Service Desk 4.1.0 can be accessed at http://localhost:8080
Finishing installation …

From here, simply open the a browser on the server, and browse to http://localhost:8080 where you will be presented with the Jira Service Desk setup screen.

If you choose to have Jira set it up for you, you will need to authenticate to the Atlassian cloud for license assignment. For our purposes, we are going to choose the “advanced” installation and choose “i’l set it up myself”. After hitting next, you are prompted to choose the database environment that you would like to connect your Jira ITSM solution to. For now, we are going to choose the built in DB.

image

As the database is created, have some patience, as this process will take a few minutes.

image

After the database has been setup, we need to setup the application, we give the application a name, choose weather the install will be private or public, and of course the base URL.

Now it is time to license the installation. For the purposes of this trial, we are going to use a trial license key which can be obtained from Atlassian

Once you have your license key, simply paste it into the license key field, and you are good to go from a licensing perspective.

image

Now that we are fully licensed, we need to setup the first administrator of Jira Service Desk.

Now that the admin account is created, time to setup email notifications. As we do not have an SMTP server available to us, we are going to this later.

Then, we are onto the final step!
image

Just kidding - we still have more decisions to make. What language you want to use in Jira.

Still not done - even though we thought we were close. We now need to choose an avatar. I am cool with the grey outline, so we hit next straight past this.

Now, we are almost ready to get started. Do we want to See a project in action (Create and explore a project that’s pre-loaded with sample data), or do we want to create a new project from scratch, or import data from another tool. For ease of use, we are going to see a project in action.

As we are here to install an ITSM product, we are going to choose the IT Service Desk installation.

Let’s give it a name! How about ITSM?

Just like that, we have a fully functional installation of Jira Service Desk on prem.

image

Thanks for taking the time to write this up. I was able to get the Service Desk up and running in 30 minutes using this guide.