Tuesday, September 1, 2015

Installing Atlassian Jira on an AWS EC2 instance

instance size: t2.micro
set storage to 30GB (that’s the max for the free tier)

update yum:
yum update

install wget:
yum install wget

install nano (because life is better with nano):
yum install nano

Change directories to tmp:
cd /tmp

Download the 64-bit Jira Linux installer from here: http://ift.tt/1ami0rs

Make that thing executable:
chmod u+x atlassian-jira-*.bin

Run the installer:
./atlassian-jira-*.bin

Hit ‘enter’ to select all the default options. This installs it to run on an HSQL database, which is perfectly fine for 10 users (or even more really). This installs Jira as a service too, so you can easily set it to start on boot.

Set it to start on boot:
chkconfig jira on

Turn off iptables (assumes you are using some other firewall, like AWS security groups):
service iptables stop
chkconfig iptables off

Browse to the instance on port 8080 to run the initialization stuff

wow… talk about a slick and utterly painless setup. Holy…. cow…. Just keep your team under 11 people 😉

notes:
you’ll get this error if you’re trying to install the 32-bit version of Jira on a 64-bit OS: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
(from http://ift.tt/1raWaiF)

Not sure right now if you’ll need to disable selinux or set it to permissive, but if you do:
nano



No comments:

Post a Comment