How to Install and Configure Jira on Debian 11

Install and configure Jira on Debian 11 with no trouble whatsoever. Doing so will help you manage software developments with ease, like never before. Read the article and learn how to get the job done.

With Jira, you’re looking at a super-flexible modern-day utility to ease up the software development management section. From an intuitive dashboard to a series of striking features, Jira is indeed a game-changer for many. Stay tuned as I uncover how you can install and configure Jira on Debian 11 in no time.

Pre Requisites

Before installing and configuring Jira on Debian 11, you must get the system package updated. Doing that will not only ensure the entire installation process goes seamless, but it will also help maintain the overall stability of your system.

Updating the system packages is a pretty straightforward process. Simply launch the Terminal using the “Ctrl+Alt+T” key combination, followed by running the following command:

$ sudo apt-get update
$ sudo apt-get upgrade

Once done, reboot your system to apply the changes.

Input:

$ sudo reboot

How to Install and Configure Jira on Debian 11

Once you’re done updating the system repository, your system is now ready to install and configure Jira on Debian 11. I know the process can be challenging for many, but if you know the appropriate approach, the process won’t trouble you. Here, I bring the most easy-to-digest step-by-step guide to help get the job done with ease.

Step 1: Install Open JDK on Debian 11

The first step is getting the OpenJDK utility up and running in your system. The required command for that looks something like this:

$ sudo apt install -y openjdk-11-jdk
Install and Configure Jira on Debian 11

Verification:

Run the $ java -version command and check whether the installation was successful or not. Look for the output that says, “openjdk version [version number] [date].”

install java

Step 2: Install MySQL

The next task is installing the MySQL utility. If you don’t know, Jira needs to have a database where it ends up storing its data, and MySQL addresses that requirement. 

Required Input:

$ sudo apt -y install mysql-server

Step 3: Start and Enable MySQL

After installing the tool, run the following pair of commands to start and enable the same.

$ sudo systemctl start mysql
$ sudo systemctl enable mysql

Step 4: Configure MySQL

When you get to the configuration part, the first thing to do is connect to the MySQL server and create a specific user and a database for Jira.

Get started by invoking the following command:

$ sudo mysql -u root -p
install mysql

Input the system password and proceed. Post doing that, build the required Jira database and user. Here is how:

jira database

Launch the default configuration file of MySQL to bring some vital alterations. You can use any editor for this purpose like I’ll be employing vim.

$ sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf

As  soon as you find yourself inside the tool, add the following lines to it:

edit the database

The final step is setting the bind-address to your server IP Address and then performing a quick restart. The command required for both the tasks are:

Input 1:

bind-address = [Your IP Address]

Input 2:

$ sudo systemctl restart mysql

Step 5: Downloading Jira on Debian 11

You can either visit the Jira official download page and grab the latest Jira binary from there, or you can launch the Terminal, invoke the wget command, and download the requisites.

Input:

download jira
chmod a+x atlassian-jira-core-8.21.1-x64.bin

Step 6: Installing Jira on Debian 11

After you’ve got all the required files downloaded to your system, run the following command to conclude the installation:

$ sudo ./atlassian-jira-core-[version]-x64.bin
install and configure jira on debian 11

Step 7: Launch the Jira Ports within UFW Firewall

It is important for those whose system has an active firewall to launch the following ports that Jira actually uses.

Launch the Jira Ports within UFW Firewal

Note: If your system doesn’t have the UFW utility installed, run the following pair of commands to get the job done.

$ sudo apt -y install ufw
$ sudo ufw enable

Step 8: Download and Install Some Other Crucial Utilities

Keep in mind that to use Jira on your Debian 11 system, you need to download several other utilities. These include the MySQL Java connector.

Once done, unzip the file and move the concerned jar files to the lib folder. The one for the Atlassian installation directory.

installing essential utilities for jira

Restart Jira and move forward.

Step 9: Using the Browser to Access Jira

Until this point, you know how to install Jira on your Debian 11 system. Now it is time to learn how to access it from the browser. For this purpose, you’ll be using your server IP address alongside the port 8080. 

The required URL should look something like this:

http:<your-ip-address>:8080

As soon as you browse the site, the Jira setup page will pop up, and you’re ready to start with the configuration.

Step 10: Concluding Jira Configurations

The very first page you’ll come across will bag the option to do the basic custom configuration.

Remember, such a type is more suitable for a production environment. Simply click on the ‘I will set it up for myself option’ and then hit the ‘Next’ button.

From there, you can configure your database, set up email notifications, choose language, and prepare Jira the way you want it to be.

That’s how you can install and configure Jira on Debian 11. The entire process is pretty simple, provided you know how to proceed. In this tutorial, you’ve learned exactly that.

If this guide helped you, please share it.

Leave a Reply
Related Posts