Installing JIRA on Ubuntu

Just walking through some of the steps as the JIRA documentation is a little too skimpy in parts for my liking. First … go get the Linux version of JIRA. IMPORTANT: Make sure you click “Show All” and download the 32-bit version if you’re unsure. I tried this whole nonsense with the 64-bit version and got a mind-boggling error (Syntax error: “(” unexpectedMore here. I’d say this whole process can be done in 15-20 minutes including all the Googlin’ and head scratching.

  1. Download the Linux distribution (.bin file) from above. Place it in /home/Mike/ directory. Obviously you will have your own username folder.
  2. You can’t follow the normal install procedures because Ubuntu comes with OpenJDK for Java, replace this with Sun (Oracle) JDK. Otherwise I think the install will fail (not sure, but this is a safe bet and it definitely works). I found the solution on this link. But changes are summarized here, so no need to open a new tab.
    1. Check version by doing: java -version. If you read some stuff about OpenJDK, you gotta follow this.
    2. sudo add-apt-repository ppa:sun-java-community-team/sun-java6
    3. If the line above fails (as mine did on Ubuntu Server) you will need to run: sudo apt-get install python-software-properties
    4. sudo apt-get  update
    5. sudo apt-get  install sun-java6-jdk
      1. Weird. Go through License and press “right arrow” key to click OK. Probably because it’s closed source. Takes a while to download and install. Sit tight.
    6. sudo apt-get  install sun-java6-plugin
    7. Set default version: sudo update-java-alternatives -s java-6-sun
    8. Check version by doing: java -version. Ahhhh bask in the Sun. I read:
      1. Java(TM) SE Runtime Environment (build 1.6.0_21-b06)
        Java HotSpot(TM) Client VM (build 17.0-b16, mixed mode, sharing)

        Java(TM) SE Runtime Environment (build 1.6.0_21-b06)Java HotSpot(TM) Client VM (build 17.0-b16, mixed mode, sharing)

  3. In terminal navigate to /home/Mike and run: sudo chmod 777 [your downloaded version].bin. This gives everyone execute rights on this bin file (not a big deal because you can delete it afterwards)
  4. Enter your password
  5. Run sudo ./[your downloaded version].bin. Make sure you have the “./” in front. This executes the bin rather than tries to read it.
    1. Go through all of the options. Nothing too freaky. I chose a new installation. Only thing I changed was the ports … from 8080 to 9090 and from 8005 to 9005.
    2. I chose to run it as a service.

Set up

Next I went to http://localhost:9090 in my browser and started the set up. I chose External database.

Before continuing I went to MySQL (I use the MySQL Workbench GUI) and make a new schema (database) with the default name. Made a new user as well and gave full rights to this schema. Read more here. Followed through the rest of it without much of a hitch. Couldn’t get the mail server set up but I’ll do that another day. The rest is easy as pie!

Final Notes

JIRA has been in place for a couple of days now and our developers, testing staff, and support desk are in LOVE! The software is fantastic-ly simple to use, the functionality is spot on and exactly what we need out of a bug and project tracking system. Combining JIRA with Bonfire was one of the best decisions we made. Basically you have a browser plugin which when you click on it takes a screenshot which can be annotated and automatically fills in a bug report with your URL, user agent. A picture is worth a thousand lines of code!

Happy trackin’

-Mike