Installing JIRA on Linux

This guide describes how to install a new JIRA installation on Linux using the automated 'Linux Installer'. If you are upgrading JIRA, please refer to the Upgrading JIRA guide.
You can also install JIRA from a 'zip' archive — see Installing JIRA from an Archive File on Windows, Linux or Solaris for details. This is useful if you want JIRA to use a pre-existing supported Java platform, since the Linux Installer installs its own JRE to run JIRA.
It is possible that any anti-virus or other Internet security tools installed on your Linux operating system may interfere with the JIRA installation process and prevent the process from completing successfully. If you experience or anticipate experiencing such an issue with your anti-virus/Internet security tool, disable this tool first before proceeding with the JIRA installation.
There are two ways to install JIRA using the Linux Installer:

On this page:

Using the Console Wizard

Use the console wizard if you are installing JIRA on your server for the first time or you wish to specify your installation options.
If you have previously installed JIRA using the installation wizard and wish to re-install JIRA again with the same installation options, you can re-install JIRA in 'unattended mode' without any user input required (see below for details).

1. Download and Install the JIRA 'Linux Installer'

If you execute the Linux Installer with 'root' user privileges, the installer will create and run JIRA using a dedicated user account. You can also execute the Linux Installer without 'root' user privileges, although your installation options will be much more limited and a dedicated user account (to run JIRA) will not be created. To run JIRA as a service, the Linux Installer must be executed with 'root' user privileges.

  1. Download the appropriate JIRA 'Linux 64-bit / 32-bit Installer' (.bin) file from the JIRA Download page. Please Note:
  2. Open a Linux console and change directory (cd) to the '.bin' file's directory. If the '.bin' file is not executable after downloading it, make it executable, for example: chmod a+x atlassian-jira-X.Y.bin (where X.Y represents your version of JIRA)
  3. Execute the '.bin' file to start the console wizard.
  4. When prompted to choose between 'Express Install', 'Custom Install' or 'Upgrade an existing JIRA installation', choose either the 'Express Install' or 'Custom Install' options:
  5. The console wizard will install JIRA onto your operating system and will start JIRA automatically when the wizard finishes.

Please Note:

2. Start JIRA

If JIRA is not already started, you can start JIRA using the appropriate command at the Linux console.
Once JIRA is started, you can access JIRA from a browser on any computer with network access to your JIRA server.

2.1 Starting and Stopping JIRA manually

In the Linux console, enter the bin subdirectory of your JIRA installation directory and execute the appropriate file:

JIRA will be ready to access (from a browser window) when the following message appears in the application's log file:
*******************************************************
... You can now access JIRA through your web browser.
*******************************************************
Icon
To start JIRA using the service, you can execute the /etc/init.d/jira script.
 

2.2 Accessing JIRA from a Browser

You can access JIRA from any computer with network access to your JIRA server by opening a supported web browser on the computer and visiting this URL:

where:

Please Note:

3. Run the Setup Wizard

See Running the Setup Wizard.

4. Next Steps

Performing an Unattended Installation

If you have previously installed JIRA using the console wizard (above), you can use a configuration file from this JIRA installation (called response.varfile) to re-install JIRA in 'unattended mode' without any user input required.
Installing JIRA in unattended mode saves you time if your previous JIRA installation was used for testing purposes and you need to install JIRA on multiple server machines based on the same configuration.
Please Note:

Download and Run the JIRA 'Linux Installer' in Unattended Mode

  1. Download the JIRA 'Linux Installer' (.bin) file from the JIRA Download Center to a suitable location.
  2. Open a Linux console.
  3. Copy (cp) the file .install4j/response.varfile located in your previous JIRA installation directory, to the same location as the downloaded 'Linux Installer' file. You can uninstall your previous JIRA installation after this step. Save your response.varfile if you need to install JIRA on multiple machines.
  4. Change directory (cd) to the location of the 'Linux Installer' file and execute the following command:

atlassian-jira-X.Y.bin -q -varfile response.varfile
Where:

  1. JIRA will start automatically when the silent installation finishes. Continue from step 2 Starting JIRA (above).