Installing Jira applications on Linux from Archive File
In this guide we'll run you through installing a Jira application in a production environment, with an external database, manually using a tar.gz
file.
This method gives you the most control over the installation process.
Other ways to install Jira:
- Evaluation - get your free trial up and running in no time.
- Installer – install Jira using the Linux installer.
- Windows – install Jira on a Windows server.
On this page:
Before you begin
Before you install Jira, there are a few questions you need to answer.
Are you using a supported operating system and Java version? | |
Are you using a 32-bit operating system? | |
Do you want to run Jira as a service? | |
What database do you plan to use? | |
Do you have a Jira license? | |
Is your JAVA_HOME variable set correctly? | |
Have you created a dedicated user to run Jira? |
Install a Jira application
1. Download Jira
Download the tar.gz
file for your operating system:
- Jira Core at https://www.atlassian.com/software/jira/core/download
- Jira Software at https://www.atlassian.com/software/jira/download
- Jira Service Management at https://www.atlassian.com/software/jira/service-desk/download
2. Create the installation directory
Create your installation directory – this is where Jira will be installed. Avoid using spaces or special characters in the path. We'll refer to this directory as your
<installation-directory>
.
Extract the Jira
tar.gz
file to your<installation-directory>
. We recommend using a GNU version of the archive utility, especially on Solaris.
Give your dedicated Jira user read, write and execute permission to your
<installation-directory>
.
3. Create the home directory
Create your home directory – this is where Jira application data like logs, search indexes and files will be stored. This should be separate to your installation directory, with no spaces or special characters in the path. Each Jira application needs its own home directory.
We'll refer to this directory as your<home-directory>
.
Give your dedicated Jira user read, write and execute permissions to the
<home-directory>
.Tell Jira where to find your
<home-directory>
when it starts up. There are two ways to do this:
4. Check the ports
By default Jira listens on port 8080
. If you have another application running on your server that uses the same ports, you'll need to tell Jira to use a different port.
5. Start Jira
Run
<installation-directory>/bin/start-jira.sh
to start the setup process.
- Go to
http://localhost:8080/
to launch Jira in your browser (change the port if you've updated the Connector port).
Set up your Jira application
6. Choose set up method
7. Connect to your database
- If you've not already done so, it's time to create your database. See the 'Before you begin' section of this page for details.
- Choose My own database.
Choose your database type then enter the details for your database.
8. Set application properties
- Give your Jira site a name.
- Choose whether your site should be private or anyone can sign up. You can change this later.
- Enter your base URL - this is the address people will use to access your Jira site.
9. Enter your license
10. Create your administrator account
Enter details for the administrator account. You can add more administrators after set up is complete.
11. Set up email notifications
12. Start using Jira
http://<computer_name_or_IP_address>:<port>
Here's a few things that will help you get your team up and running:
- Add and invite users to get your team on board, or configure user directories for slightly bigger teams.
- Create your first project to have something to work on.
- Configure SSL or HTTPS to keep Jira and your team more secure.