How to install JIRA on Ubuntu Linux

JIRA was developed by Atlassian and is a proprietary and comprehensive software tool mainly used for project management, issue tracking and bug fixes. JIRA comes with an intuitive dashboard to help you track down issues.

These issues may be software defects or bugs, new features or requirements to name a few. It also comes with a workflow that enables you to track the progress of your work and pinpoint the problem.

In this tutorial, you will learn how to install JIRA on Ubuntu Linux.

Jira linux installation prerequisites

Before we start the installation, make sure you have the following:

  1. Ubuntu 18.04 / Debian 10 example
  2. Install a MySQL database on your instance. JIRA needs a database to install all the files, so MySQL will come in handy.

Now let’s dive into the installation process.

Step 1: Create a database for JIRA

JIRA software requires a database to install, so the first step will be to create a database in the MySQL database engine.

Log in to MySQL as root

# mysql -u root -p

Create database for JIRA

CREATE DATABASE jira_db;

Next, create a user for JIRA

CREATE USER 'jira_user'@'localhost' IDENTIFIED BY 'Your_Password';

Grant all privileges to JIRA users to access the JIRA database.

GRANT ALL PRIVILEGES ON jira_db.* TO 'jira_user'@'localhost' IDENTIFIED by 'Your_Password';

Summarizing privileges

FLUSH PRIVILEGES;

 Create database for JIRA

Step 2: Download JIRA and assign necessary permissions

After creating the database for JIRA, our next step will be to download the JIRA binary. As shown in the figure, use the wget command to download the file.

# wget https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-7.8.2-x64.bin

 Download Atlassian JIRA

Next, assign execute permissions to the binary

# chmod a+x atlassian-jira-software-7.8.2-x64.bin

After assigning execute permissions, run the binary:

./ atlassian-jira-software-7.8.2-x64.bin

When you run the binary, you will be prompted to answer the following questions.

Make sure you make your selection as highlighted below.

Install JIRA on Ubuntu 18.04

Install JIRA on Ubuntu 18.04

If the installation is successful, the output will be highlighted. You can continue and access JIRA on the web interface through port 8080. But first, open some ports on the UFW firewall to allow external users to access JIRA.

Step 3: Open the JIRA port

In order to successfully access and configure JIRA on the web console, we need to open some ports on the UFW firewall to enable us to access JIRA.

If UFW is not installed on your system, run the following command

# apt install ufw

Install ufw firewall on Debian

You can now continue to open ports 8080, 8181, and 8005

# ufw allow 8181

# ufw allow 8005

# ufw allow 8080

Then enable the firewall for the rule to take effect

# ufw enable

Open JIRA port

Confirm that the rule exists. Run the command:

# ufw status

Check UFW status

Step 4: Visit JIRA

Now all settings can access JIRA and continue with network settings. Launch your browser and browse the server’s IP as follows:

http://server-IP:8080

The first page shows two options as shown. Click on ‘I will pretend‘,then click ‘next’ Button.

Install JIRA on Ubuntu 18.04

In the next window, click My Own Database, then click and select MySQL for the database type value. You will receive a notification stating that JIRA requires you to download the MySQL driver and then restart JIRA after installation.

Choose your own database

To download the MySQL driver, use the wget command to download it from MySQL’s official site.

wget https://dev.mysql.com/get/archives/mysql-connector-java-5.1/mysql-connector-java-5.1.36.zip

 Download mysql-connector

After downloading, unzip the compressed file

# unzip mysql-connector-java-5.1.36.zip

Next, enter mysql-connector-java Directory and copy the jar file to the path /opt/atlassian/jira/lib

# cp mysql-connector-java-5.1.36-bin.jar  /opt/atlassian/jira/lib

 Copy the mysql-connector jar file

Next, restart JIRA using the following command:

#  /etc/init.d/jira stop

# /etc/init.d/jira start

Now go back to the browser and fill in all the details, then click the “Test Connection” button at the bottom.

The following notification confirms that the test was successful.

Database connection succeeded

Click Next, then fill in the Application Title, Mode, and click the Next button.

Install JIRA on Ubuntu 18.04

Next, you will be asked to enter a license key for JIRA. Click the link that appears, which will redirect you to the Atlassian site from which you can generate a license key.

Specify license key

Follow the instructions to generate the key, then paste the key into the text field and click “next‘.

Install JIRA on Ubuntu 18.04

In the next window, set up the administrator account as shown and click Next.

Set administrator account '' width =

Choose whether to set up email notifications and click the “Finish” button.

Install JIRA on Ubuntu 18.04

Finally, the wizard will prompt you to select a language. Do this and click Next.

Install JIRA on Ubuntu 18.04

Look! The JIRA dashboard appears!

Install JIRA on Ubuntu 18.04

in conclusion

JIRA can become an important source of information and the state of a running project. Work as a team and agree with the points mentioned. It will constantly remind or update the running status of the project. So if you are new to JIRA and are working on software development or testing and don’t know how to effectively install and use JIRA, then we hope that by the end of this tutorial, you can now easily install JIRA. If you still find any issues, please feel free to contact us.

Sidebar