How to install Jira Server Ubuntu 16.04

JIRA -
Jira Software is an agile project management tool that supports any agile methodology, be it scrum, kanban, or your own unique flavour. From agile boards to reports, you can plan, track, and manage all your agile software development projects from a single tool.
Install JIRA Server in your local Environment -
Many organization required JIRA local instance, though JIRA cloud available, we can use Jira cloud as well. But some company wants to have local Jira Instance.

Prerequisites -

  • One Linux machine with Sudo access
  • A valid email address - you'll need this to generate your evaluation license and create an account.
  • Pre-installed PostgreSQL
Step 1- Install PostgreSQL-
PostgreSQL is the first prerequisites that we have to install- Use command below to start the installation.
$ sudo apt install postgresql
After PostgreSQL installation, Check service status.
$ sudo systemctl status postgresql
postgreSQL service up and running
Step 2- Set the password for postgres user
PostgreSQL no default password set, let use following command to set first time.
$ sudo -u postgres psql postgres
Set the password
\password postgres
 Enter password when prompt and confirm password again when prompt.
Close psql
\q
Step 3 - Allow postgre user access
To allow access for postgre user, we need to modify config file- follow the steps to make changes :
$ sudo vi /etc/postgresql/9.5/main/pg_hba.conf

Modify the following line. your config file should be like below.

# Database administrative login by Unix domain socket
local   all             postgres                                md5

# TYPE  DATABASE        USER            ADDRESS                 METHOD

# "local" is for Unix domain socket connections only
local   all             all                                     md5
#local   all             all                                     peer
# IPv4 local connections:
host    all             all             127.0.0.1/32            md5
# IPv6 local connections:
host    all             all             ::1/128                 md5
# Allow replication connections from localhost, by a user with the
# replication privilege.

Save and Exit from the file.
Step 4 - Restart postgresql service and test access -
To restart postgresql service-
$ sudo systemctl restart postgresql
To test postges user access
$ sudo psql -U postgres -W
Login working successfully with user PostgreSQL
Step 5 - Create database, user and password for JIRA
During the JIRA setup wizard, we require Postgres login details- let's setup here.
  • Login to Postgres server using postgres user
$ sudo psql -U postgres -W
  • Create database
postgres=# create database "JIRA";
CREATE DATABASE
  • Create User and assign permission on database JIRA
postgres=# create user jirau
Set password for user jirau
postgres=# alter user jirau password 'password';
Grant permission to user jirau on database JIRA
postgres=# grant ALL ON DATABASE JIRA to jirau
Step 6- Download the installer 

Download the latest Jira installer from the JIRA official websites- https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-7.8.2-x64.bin
Step 7- Install JIRA Sever
Once installer download completed, we can start the installation. 
Make the installer executable.  
$ sudo chmod a+x atlassian-jira-software-7.8.2-x64.bin
Run Installer file to start JIRA installation.
$ sudo ./atlassian-jira-software-7.8.2-x64.bin
press enter key when prompt

  • At next screen choose- Custom Install (recommended for advanced users) [2, Enter]
  • Choose JIRA installation directory - Enter to choose default path[/opt/atlassian/jira]
  • Press Enter (Default location for JIRA Software data)
  • Type  and press enter key to choose default port (HTTP: 8080, Control: 8005)
  • Type y and hit enter (To start Jira service when system restart)
  • Type i to install Jira as service
  • Press y to start JIRA instance


JIRA installation done successfully. Let's access JIRA instance - http://192.168.102.10:8080
Step 8- Setup initial setting after installation -
After JIRA installation- open JIRA Url on the browser and follow the steps below to set up the first time use.
  • Choose-  I'll setup myself 
  • Select Next
  • At Database setup page - Choose My own database and fill the required detail to access the database.


  • Choose Next It may take some time while the database setting up
  • At next screen fill the basic information - Company name and choose next


  • On the next screen Enter your license key - If you don't have the key, go to the website and generate trail key


  • At next screen Setup your Administrator access Enter details for the administrator account. You can add more administrators after set up is complete.




  • Next Setup email notification, I am skipping this step as I don't have SMTP details- But you can setup your SMTP details here. Enter details of your mail server. This will allow JIRA to send notifications when issues change.


Step 8- Start using JIRA -
That's it! Your JIRA site is accessible from your base URL or a URL like this:http://<computer_name_or_IP_address>:<port>



Cheers!!!

5 comments:

  1. No Postgres UNIX account created on Postgres 9.5 install? Contact to Postgres SQL Support for Windows
    If you are installing Postgres 9.5 on a Cent OS 7 Server but still if it is not created for 9.5 then what will you do? How to fetch the best support regarding this problem. Here, we have an alternative way to get rid of this particular problem i.e. Postgres SQL Support for Linux or 24x7 Postgres SQL Support for Windows and Linux. At Cognegic we commits for best possible solution for your all problems. You can simply contact to our PostgreSQL Relational Database Service and get quick help.
    For More Info: https://cognegicsystems.com/
    Contact Number: 1-800-450-8670
    Email Address- info@cognegicsystems.com
    Company’s Address- 507 Copper Square Drive Bethel Connecticut (USA) 06801

    ReplyDelete
  2. Nice article, it’s very informative content..thanks for sharing...Waiting for the next update.

    what is Jira software?
    Features of Jira

    ReplyDelete
  3. Thankyou for this amazing blog post. Learn about what is OKR here.

    ReplyDelete
  4. Excellent guide on installing Jira Server on Ubuntu 16.04! Your step-by-step instructions make it easy for anyone to set up their own local Jira instance. FlowAce Jira Time Tracker would be a valuable addition to enhance time tracking and management within Jira. Thanks for sharing this informative post.

    ReplyDelete