Documentation for JIRA 5.2. Documentation for other versions of JIRA is available too.
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:
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).
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.
cd
) to the '.bin' file's directory.chmod a+x atlassian-jira-X.Y.bin
Please Note:
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.
In the Linux console, enter the bin
subdirectory of your JIRA installation directory and execute the appropriate file:
start-jira.sh
(to start JIRA)stop-jira.sh
(to stop JIRA)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. *******************************************************
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:
http://<computer_name_or_IP_address>:<HTTP_port_number>
where:
<computer_name_or_IP_address>
is the name or IP address of the computer on which JIRA is installed and<HTTP_port_number>
is the HTTP port number specified when you installed JIRA (above). Please Note:
logs/catalina-YYYY-MM-DD.log
file within the JIRA Installation Directory.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:
response.varfile
file contains the options specified during the installation wizard steps of your previous JIRA installation. Hence, do not uninstall your previous JIRA installation just yet.response.varfile
file, please ensure all directory paths specified are absolute, for example, sys.installationDir=/opt/atlassian/jira
cp
) the file .install4j/response.varfile
located in your previous JIRA installation directory, to the same location as the downloaded 'Linux Installer' file.response.varfile
if you need to install JIRA on multiple machines.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:
X.Y
— refers to the version of JIRA you are about to install.-q
— instructs the installer to operate in unattended mode (i.e. 'quietly').-varfile response.varfile
— specifies the configuration file containing the configuration options used by the installer. The location and name of the configuration file should be specified after the -varfile
option.
3 Comments
Bruce Thomson
Jan 23, 2013This page needs to give the default installation directory locations for the various cases. Otherwise the instructions for starting and stopping are not useful.
Bruce Thomson
Jan 23, 2013Version 5.2.5 does not run out of the box on Linux because the initial URL redirects to the wrong place. You can work around this by using the following URL the first time:
http://jira.fm-net.ne.jp:8080/secure/SetupDatabase!default.jspa
Salvatore Ansani
Mar 12, 2013If you run the "start-jira.sh" from a path wich contains a space, you got an error on row 31 and 34 in "bin/setenv.sh"
You should change (in bin/setenv.sh)
101: cd $LOGBASE
106: cd $PUSHED_DIR
with
101: cd "$LOGBASE"
106: cd "$PUSHED_DIR"