JIRA Installation on Linux

In this tutorial, I am going to guide you to install Jira on your local server even though JIRA cloud is available, but for some company or an environment needs JIRA on the local server.

Jira is a tool used for defect/issue/bug tracking and project management purpose. JIRA Core is the JIRA application that has both system and application functionalities. It helps an administrator to create a project, user, workflow, issue etc. This installation guide is only for the servers which are running on Linux OS.

1) Download the latest Jira version from the Jira official website.

https://www.atlassian.com/software/jira/download

You will need to download the Jira bin file based on processor architecture your server is running. Both 32 bit and 64-bit installer bin file are available. So based on the type of server you have, you can download the corresponding Jira bin file.

Run the following command for 64 Bit:

cd /opt

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

Run the following for 32 Bit:

cd /opt

# wget https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-7.12.3-x32.bin

 

2) Now you have downloaded the Jira installation bin file. Next step is to provide the bin file with the execution permission.

Run the following command for the 64-bit bin file.

# chmod +x atlassian-jira-software-7.12.3-x64.bin

Run the following command for the 32-bit file.

# chmod +x atlassian-jira-software-7.12.3-x32.bin

 

3) Now execute the Jira installation bin file by running the following command.

For 64 bit

# ./atlassian-jira-software-7.12.3-x64.bin

For 32 bit

# ./atlassian-jira-software-7.12.3-x32.bin

Installation of Jira will begin on executing the above command and you will need to provide some details during the installation as the installation guide prompts. Please go through the following, so that we can guide you through the installation.

[root@test opt]# ./atlassian-jira-software-7.12.3-x64.bin

Unpacking JRE …

Starting Installer …

Oct 24, 2018 6:56:37 AM java.util.prefs.FileSystemPreferences$1 run

INFO: Created user preferences directory.

Oct 24, 2018 6:56:37 AM java.util.prefs.FileSystemPreferences$2 run

INFO: Created system preferences directory in java.home.

This will install JIRA Software 7.12.3 on your computer.

OK [o, Enter], Cancel [c]

 

4) Choose the appropriate installation.

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]

2

You can select any option as per your requirement.  If you are installing the Jira for the first time, then press “2” or if you have already installed then wanted to upgrade then press 3. In this I have pressed “2” then enter.

Where should JIRA Software be installed?

[/opt/atlassian/jira]

In this, you can provide a location in which you wanted to install the Jira or if you would like to proceed the installation as per the recommended location. Then you can click enter. I have selected the recommended location in this installation /opt/atlassian/jira.

Default location for JIRA Software data

[/var/atlassian/application-data/jira]

/var/atlassian/jira

Provide the location for Jira Software data is needed to be installed. I have provided /var/atlassian/jira. Then press enter.

Configure which ports JIRA Software will use.

JIRA requires two TCP ports that are not being used by any other

applications on this machine. The HTTP port is where you will access JIRA

through your browser. The Control port is used to startup and shutdown JIRA.

Use default ports (HTTP: 8080, Control: 8005) – Recommended [1, Enter], Set custom value for HTTP and Control ports [2]

2

We can assign a custom port for Jira so you can press “2” and enter.

HTTP Port Number

[8080]

8054

Control Port Number

[8005]

8053

You can assign any custom port HTTP Port number and Control Port number. For example, 8054, 8053 etc. I have assigned 8054 and 8053 for HTTP and Control port number for Jira in this installation.

JIRA can be run in the background.

You may choose to run JIRA as a service, which means it will start

automatically whenever the computer restarts.

Install JIRA as Service?

Yes [y, Enter], No [n]

y

Install Jira as a service by entering “y”. Now you have provided all the basic information you need for installation. And installation has been completed successfully.

The Jira software can be accessed at  http://localhost:8054 . Please note “localhost” should be the server’s IP address or hostname. Now installation of Jira has been completed.

 

Leave a Reply