قالب وردپرس درنا توس
Home / Tips and Tricks / How to install and manage Jira with your own host – CloudSavvy IT

How to install and manage Jira with your own host – CloudSavvy IT



Jira logo

Jira is an application for tracking questions from Atlassian that makes it easier for teams to collaborate on software. It’s not open source, but you can install it on your own servers rather than using the cloud version. How to set it up.

Why self-worth?

There are many benefits to cloud applications – they are generally very reliable, as they can take advantage of the redundancy of a data center scale run. They are also easier to use, as all settings are managed for you.

Depending on how many users you have, Jira itself can host in the long run. If you only have less than 1

00 users, the Jira cloud costs $ 7 per user. When billed annually, it amounts to $ 7,000 per year. Compared to the self-hosted “Jira Server”, which is a one-time payment of $ 13,300. If you plan to use Jira for more than two years, you will not pay any license fees after the first two years. This applies to every level.

The exception is the free levels: If you have less than 10 users, Jira Cloud is completely free, while Jira Server costs only $ 10 for a lifetime license for up to 10 users. It is technically a paid license, although it is a very small fee compared to other levels.

Of course, larger companies will probably want to run the self-hosted “Jira Data Center” version, which comes with SAML 2.0 support, active clustering, and easy distribution to AWS. Unlike Jira Server, this is an annual fee, but it is still cheaper than Jira Cloud. For 500 users, Jira cloud costs $ 28,000 per year, while Jira Data Center costs $ 20,000. For 1000 users and up, Jira Data Center is consistently half the price.

Even if it’s cheaper, the fee savings you get from hosting it will be offset by the cost of running and maintaining the server (or servers) you host Jira on. This cost will vary depending on your usage, but with the high license fees, it is probably quite negligible for the server itself. In addition, self-rented Jira can connect directly to your existing database server, which can reduce hosting costs.

However, cost is not the only factor – many companies simply prefer to host their applications locally, as it is worth to yourself that you get full control over everything. If you want to put Jira behind your company’s firewall and lock out access to anyone not in your private subnet, you can do so.

How to install Jira on Linux

The installation is quite simple. First, you need to download the latest installer from Jira’s website. They make it a little awkward to grab the actual link for curling; you must select “Linux 64 Bit” as the installation type, accept their license and privacy policy (after reading it all, of course), then right-click the “Submit” button and select “Copy Link Address. This will copy another direct link .bin the installer. Otherwise, load the file directly to your personal computer by clicking “Send”, which is probably not what you want.

right-click the Submit button

Go over to the server you plan to use to host everything. Download this file with curl:

curl https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-software-8.6.0-x64.bin

Make it executable:

chmod a+x atlassian-jira-software-8.5.1-x64.bin

And drive it with sudo:

sudo ./atlassian-jira-software-8.5.1-x64.bin

Running as root will install Jira as a service, which is much easier to manage.

You have some installation options. The simplest method is “Express installation”, which keeps the default settings and installs as usual. Custom installation allows you to adjust these settings and “Upgrade an existing JIRA installation” simply updates your server.

For custom installation, you will be asked to select the folder where Jira will be installed and the location of Jira’s data. Most importantly, you can change the port that Jira runs on if you have another service that occupies port 8080.

custom installation jira

You want to make sure that you install Jira as a service that runs on startup automatically.

The installation takes a few minutes and installs everything on your server. When done, Jira will be available on port 8080 on your server.

If you want to get it on a subdomain you can add nginx in front of and proxy_pass with the following configuration:

server {

     server_name jira.example.com;

     location / {

         proxy_set_header X-Forwarded-Host $host;
         proxy_set_header X-Forwarded-Server $host;
         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
         proxy_pass http://localhost:8080;
         client_max_body_size 10M;
     }

     listen [::]:80;
     listen 80;
}

You will probably want to run certbot or install your SSL certificates manually so that you can also connect securely.

Go to the end point to complete the installation. You can either choose to make a quick setting for evaluation or set it manually.

select installation options

If you set up manually, you will need to connect to a database. You can use the built-in database or connect to your own database. This does not have to be on the same server as Jira, so you can use your existing DB servers for this.

connect to the database

Once connected, you need to configure the base address to match what you’re worth Jira on, so that it can format links correctly.

enter custom URL

Next, you will need to enter your license key associated with your MyAtlassian account. You can create a 30-day trial license from the link below. If you set up for less than ten users, you will have to pay the $ 10 license fee.

enter license

From here, you can set up your user accounts and start using Jira as usual.


Source link