Would you like to learn how to do a Jira installation on Ubuntu Linux? In this tutorial, we are going to show you how to download and install Jira on a computer running Ubuntu Linux.

• Ubuntu 18.04
• Ubuntu 19.04
• Ubuntu 19.10
• Jira 8.5.0
• Openjdk version 11.0.4

Hardware List:

The following section presents the list of equipment used to create this Jira tutorial.

Every piece of hardware listed above can be found at Amazon website.

Jira Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Jira.

Tutorial Jira - Java Installation on Ubuntu Linux

Install the Java JDK package.

Copy to Clipboard

Use the following command to find the Java JDK installation directory.

Copy to Clipboard

This command output should show you the Java installation directory.

Copy to Clipboard

In our example, our Java JDK is installed under the folder: /usr/lib/jvm/java-11-openjdk-amd64

Now, you need to create an environment variable named JAVA_HOME.

Let’s create a file to automate the required environment variables configuration

Copy to Clipboard

Here is the java.sh file content.

Copy to Clipboard

Reboot the computer.

Copy to Clipboard

Use the following command to verify if the JAVA_HOME variable was created.

Copy to Clipboard

Here is the command output:

Copy to Clipboard

Use the following command to test the Java installation.

Copy to Clipboard

Here is the command output:

Copy to Clipboard

You have finished the Java installation required by Jira.

Tutorial Jira - MySQL Installation on Ubuntu Linux

Install the MySQL database service.

Copy to Clipboard

Download the MySQL Java connector.

Copy to Clipboard

Edit the mysqld.cnf configuration file.

Copy to Clipboard

Insert the required configuration inside the [mysqld] area.

Copy to Clipboard

Restart the MySQL service.

Copy to Clipboard

Access the MySQL service command-line.

Copy to Clipboard

Create a database named jira.

Copy to Clipboard

Create a database user account named jira.

Copy to Clipboard

In our example, the password kamisma123 was set to the user named jira.

Give the MySQL user named jira permission over the database named jira.

Copy to Clipboard

You have finished the MySQL installation required by Jira.

Tutorial - Jira Installation on Ubuntu Linux

Download the Jira installation package from the official website.

Copy to Clipboard

Extract and install the Jira software.

Copy to Clipboard

Copy the MySQL Java connector to the Jira's LIB directory.

Copy to Clipboard

Set the proper file permission.

Copy to Clipboard

You need to create an environment variable named JIRA_HOME.

Let’s create a file to automate the required environment variables configuration

Copy to Clipboard

Here is the jira.sh file content.

Copy to Clipboard

Reboot the computer.

Copy to Clipboard

Start the Jira server.

Jira may take a long time to start.

Copy to Clipboard

Here is the comand output:

Copy to Clipboard

Use the NETSTAT command to verify if the service is running on port 8080.

Copy to Clipboard

In our example, the Jira service is running on port 8080.

Copy to Clipboard

Optinally, you may take a look at Jira log file.

Copy to Clipboard

Open your browser and enter the IP address of your web server plus :8080

In our example, the following URL was entered in the Browser:

• http://192.168.15.10:8080

The Jira web installation interface should be presented.

Select the option: I will set it up myself

Click on the Next button.

jira installation

Enter the Database information required to connect to the Jira database.

• Database Type: MySQl 5.7+
• Hostname: localhost
• Port: 3306
• Database: jira
• Username: jira
• Password: kamisama123

Click on the Test Connection button.

After a successful test, click on the Next button

jira database installation

Wait while the Jira database is set up.

Set the Aplication name, the desired URL and click on the Next button.

jira installation ubuntu

Install the required license or generate a trial license.

Jira installation license

Set an administrator account.

jira installation admin account

Select the later option and click on the Next button.

jira install email

Select the desired language for the Jira web interface.

jira language

Set an avatar to identify yourself.

jira avatar

You will be sent to the Jira Dashboard.

jira dashboard

Congratulations! The Jira installation was successfully completed.