Jira is a widely-used project management application developed by Atlassian. It offers a user-friendly web UI and a rich set of features, making it a popular choice for businesses of all sizes. In this tutorial, we will guide you through the process of installing Jira on a Debian 11 server.
Prerequisites
Before we begin, ensure that you have the following prerequisites:
- A Debian 11 server with a minimum of 4GB of RAM.
- A root password configured on the server.
Install Required Packages
To get started, update and upgrade all system packages to the latest version by running the following commands:
apt update -y apt upgrade -y
Next, install Java and other required dependencies by running the following command:
apt install openjdk-11-jdk unzip fontconfig -y
Verify the installation of Java by checking the version:
java --version
Create a Database for Jira
Jira uses MySQL/MariaDB to store its data. Follow the steps below to install the MySQL server and create a database for Jira.
First, download the MySQL repository package and install it:
wget https://dev.mysql.com/get/mysql-apt-config_0.8.22-1_all.deb apt install./mysql-apt-config_0.8.22-1_all.deb
Update the repository and install the MySQL server package:
apt update -y apt-get install mysql-server -y
Verify the status of the MySQL server:
systemctl status mysql
Log in to the MySQL shell:
mysql -u root -p
Create a database and user:
CREATE DATABASE jiradb CHARACTER SET utf8mb4 COLLATE utf8mb4_bin; CREATE USER 'jirauser'@'localhost' IDENTIFIED BY 'password';
Grant all privileges to the jiradb:
GRANT ALL ON jiradb.* TO 'jirauser'@'localhost' WITH GRANT OPTION; FLUSH PRIVILEGES; EXIT;
Install Jira on Debian 11
Download the latest version of Jira from the official website:
wget https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-9.6.0-x64.bin
Change the permissions of the downloaded file:
chmod a+x atlassian-jira-software-9.6.0-x64.bin
Install Jira:
./atlassian-jira-software-9.6.0-x64.bin
Follow the installation prompts, choosing the appropriate options for installation and ports. Once the installation is complete, start Jira:
/etc/init.d/jira start
Configure Jira
To configure Jira, download the MySQL JDBC driver and copy it to the Jira installation directory:
wget https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-8.0.18.zip unzip mysql-connector-java-8.0.18.zip cp mysql-connector-java-8.0.18/mysql-connector-java-8.0.18.jar /opt/atlassian/jira/lib
Restart the Jira service to apply the changes:
/etc/init.d/jira stop /etc/init.d/jira start
Perform Jira Web Installation
Now that Jira is installed and configured, you can access the Jira web interface using the URL http://your-server-ip:8080. You will be redirected to the Jira welcome screen. Choose the option “I’ll set it up myself” and proceed with the database, application, and license configuration. Finally, create your administrator account and complete the installation.
Congratulations! Jira is now installed and ready to use. You can start managing your projects efficiently using the web-based interface.
Conclusion
In this tutorial, we have covered the step-by-step process of installing Jira Agile Project Management Tool on a Debian 11 server. By following these instructions, you can set up Jira and leverage its powerful features for effective project management. If you have any questions or need further assistance, feel free to reach out to us.
Remember, for reliable and scalable cloud hosting solutions, consider Shape.host. Their Cloud VPS services provide the perfect environment for hosting Jira and other business-critical applications.