Fading Coder

One Final Commit for the Last Sprint

Home > Tech > Content

Installing Jira and Confluence on Windows and Linux (November 2023)

Tech 1

Download Required Software

  • Note: Since the links below may not always be up-to-date, users can search for the WeChat Mini Program "数字续坚" and copy the latest download links from the resources tab.
  • Jira official download link
https://product-downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-9.11.3-x64.exe
  • Confluence official download link
https://product-downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-8.6.1-x64.exe
  • All files mentioned in this guide can also be downloaded from Baidu Netdisk:
Link: https://pan.baidu.com/s/1WrGtrQhNCc9o4u106uHX0A 
Extraction Code: cjfq

Installation Process

  1. Launch the downloaded installer.
  2. Proceed with the setup wizard. When prompted, choose the Express Installation option, then click Install.
  3. The installation will begin as shown in the interface.
  4. After installation completes, do not start the application immediately. Choose Next, then Finish.

Java Environment Setup

Java experts may skip this section; simply ensure JDK 1.8 is installed.

  1. Download JDK
//JDK download link; if invalid, download from the official site
http://file.xujian.tech/jdk_8.0.1310.11_64.exe
  1. Install JDK

Run the installer and proceed with default settings and paths.

  1. Verify JDK Installation

Open a command prompt and run:

java -version

Expected output:

java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

If issues occur, search online for solutions.

  1. Identify Jira Service Name

Open Services panel by running:

services.msc

Locate the Atlassian Jira service. Right-click and select Properties to find the service name (marked A) and installation path (marked B).

  1. Configure Java Agent

Download the agent file to a permanent directory. This guide places it in the Jira installation directory (default: C:\Program Files\Atlassian):

https://www.xujian.tech/raw/atlassian-agent.jar

Open command prompt and navigate to the bin folder:

cd "C:\Program Files\Atlassian\Jira\bin"

Open Tomcat configuration:

tomcat9w.exe //MS//JiraSoftware081222004302

Double-click the system tray icon that appears, then configure the Java agent:

-javaagent:C:\Program Files\Atlassian\atlassian-agent.jar

Apply changes, confirm, and restart the service. If startup fails, check for permission restrictions or incorrect agent configuration.

MySQL Data base Setup

Refer to the following guides for MySQL installation:

MySQL 8 setup:

https://blog.csdn.net/xujianflying/article/details/136060049

MySQL 5.7 setup (not compatible with latest versions):

https://blog.csdn.net/xujianflying/article/details/128229850

These articles include Atlassian-required configuration changes (Section 5) and database creation instructions (Section 7).

When using MySQL as database for Jira or Confluence, download the appropriate driver to C:\Program Files\Atlassian\Jira\lib:

// MySQL 5.7 driver
http://file.xujian.tech/mysql-connector-java-5.1.49.jar
// MySQL 8+ driver
http://file.xujian.tech/mysql-connector-java-8.0.26.jar

Important: Restart Jira service after downloading the driver.

Jira Configuration

  1. Open localhost:8080 and select language.
  2. Configure database settings. Test connection before proceeding.
  3. This step may take considerable time depending on CPU performance.
  4. Subsequent steps require no modifications; click Next to continue.
  5. Content in following sccreens can be modified later.
  6. When reaching the license configuration step, obtain a license from:
https://www.xujian.tech/nat
// For visual guidance, refer to Linux installation section:
https://www.xujian.tech/doc/atlassian/

Licenses can also be obtained through the WeChat Mini Program "数字续坚".

For newer versions, select "Data Center Edition". Paste the license and click Next, then Finish.

Follow remaining prompts to complete setup. Choose to create a sample project, new project, or import issues based on requirements. Alternatively, select import issues and skip. Ignore health check notifications by clicking "Don't remind me again".

Verify Installation

Navigate to system settings to confirm successful installation.

Tags: jira

Related Articles

Understanding Strong and Weak References in Java

Strong References Strong reference are the most prevalent type of object referencing in Java. When an object has a strong reference pointing to it, the garbage collector will not reclaim its memory. F...

Comprehensive Guide to SSTI Explained with Payload Bypass Techniques

Introduction Server-Side Template Injection (SSTI) is a vulnerability in web applications where user input is improper handled within the template engine and executed on the server. This exploit can r...

Implement Image Upload Functionality for Django Integrated TinyMCE Editor

Django’s Admin panel is highly user-friendly, and pairing it with TinyMCE, an effective rich text editor, simplifies content management significantly. Combining the two is particular useful for bloggi...

Leave a Comment

Anonymous

◎Feel free to join the discussion and share your thoughts.