Categories

How to install Atlassian Jira on Ubuntu

JIRA Core is a popular project management software developed by Atlassian that enables teams to plan, track and manage their projects effectively. In this blog post, we will guide you through the process of installing JIRA Core on Ubuntu.

Step 1: Update Ubuntu

Before starting the installation process, it is important to ensure that your Ubuntu system is up-to-date. You can do this by running the following command in the terminal:

sudo apt update && sudo apt upgrade

This command will update the package list and upgrade the installed packages to their latest versions.

Step 2: Install a Database

JIRA Core requires a database to store its data. You can choose to install either MySQL or PostgreSQL for this installation. In this example, we will install MySQL. You can install it by running the following command:

sudo apt install mysql-server

During the installation process, you will be prompted to create a new MySQL root user password. Make sure to remember this password as you will need it later.

Step 3: Create a Database for JIRA

Once you have installed the database, you need to create a new database for JIRA Core to use. You can do this by logging in to MySQL with the following command:

sudo mysql -u root -p

Enter the root password that you created during the MySQL installation process.

Once you are logged in, create a new database for JIRA Core by running the following command:

CREATE DATABASE jiradb CHARACTER SET utf8 COLLATE utf8_bin;

This command will create a new database called jiradb.

Next, create a new MySQL user for JIRA Core by running the following command:

CREATE USER 'jirauser'@'localhost' IDENTIFIED BY 'jirapassword';

This command will create a new MySQL user called jirauser with the password jirapassword. Make sure to replace jirapassword with a secure password of your choice.

Finally, grant the newly created MySQL user full access to the jiradb database by running the following command:

GRANT ALL PRIVILEGES ON jiradb.* TO 'jirauser'@'localhost';

Step 4: Download & install Jira using the installer

Download the latest Jira installer. https://product-downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-8.13.4-x64.bin

Once the download is complete, we can start the installation. 

Make the installer executable.  

$ sudo chmod a+x atlassian-jira-software-8.13.4-x64.bin

Run Installer file to start JIRA installation.

$ sudo ./atlassian-jira-software-8.13.4-x64.bin

press enter key when prompt

  • At next screen choose- Custom Install (recommended for advanced users) [2, Enter]
  • Choose JIRA installation directory – Enter to choose default path – [/opt/atlassian/jira]
  • Press Enter (Default location for JIRA Software data)
  • Type 1  and press enter key to choose default port (HTTP: 8080, Control: 8005)
  • Type y and hit enter (To start Jira service when system restart)
  • Type i to install Jira as service
  • Press y to start JIRA instance

JIRA installation done successfully. Let’s access JIRA instance – http://localhost:8080

Leave a Reply

Your email address will not be published. Required fields are marked *.

*
*