Install Jira on Ubuntu 14.04

Retrieve the last Jira binary from the website. Note that you should pick the right version, either x32 or x64.

[email protected]:~/Downloads$ wget https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-7.2.1-x64.bin 

Make the binary executable.

[email protected]:~/Downloads$ chmod a+x atlassian-jira-software-7.2.1-x64.bin 

Install the dependencies for Jira.

[email protected]:~/Downloads$ sudo ​​apt-get install lsb-core​ default-jdk​ default-jre

Execute the binary as sudo.

[email protected]:~/Downloads$ ​$ sudo ./atlassian-jira-software-7.2.1-x64.bin

Start the Jira server.

[email protected]:~/Downloads$ sudo sh /opt/atlassian/jira/bin/start-jira.sh

Create a Jira user and database.

[email protected]:~$ sudo -u postgres psql
postgres=# CREATE DATABASE jira;
postgres=# CREATE USER jira_user WITH PASSWORD 'bla';
postgres=# GRANT ALL PRIVILEGES ON DATABASE jira TO jira_user;

Now go to port 8080 on your IP address and perform the set-up. After some configuration you will be able to use Jira for your projects.

Update

It could be that the server does not start. Check if the permissions are right.

[email protected]:~$ sudo chown -R jira:jira /var/atlassian/application-data/jira