Linux/Solaris system administration is outside the scope of Atlassian support. This page is provided for your information only.
On Linux/Solaris, the best practice is to install, configure and run each service (including JIRA) as a dedicated user with only the permissions they require.
To install, configure and get JIRA to start automatically on Linux/Solaris:
jirauser account which will be used to run JIRA. For example, enter the following at a Linux/Solaris console:
Create a directory into which JIRA will be installed. For example:
Log in as the
jirauser to install JIRA:
Assuming you downloaded the JIRA from a 'tar.gz' archive, you need to extract it:
Then back as root, create the file
/etc/init.d/jira(code shown below), which will be responsible for starting up JIRA after a reboot (or when manually invoked).
Make the init script executable:
- Place symlinks in the run-level directories to start and stop this script automatically.
For Debian-based systems:
The following commands will be executed to place symlinks in the run-level directories:
For RedHat-based systems:
the init.d script contains chkconfig settings
- Ensure the script is executed in the correct order, in particular after the database startup script.