Rebol > Jira


Table of contents
No headers


Install Ubuntu server - select openssh server only.  Do not install Tomcat or Mysql or LAMP yet.

update your server 

sudo apt-get update && sudo apt-get upgrade

install Sun's Java6 JDK ( don't need the JRE ) - about 60Mb see,id,35104,nodeid,146.html

sudo apt-get install sun-java6-jdk 

setup JAVA_HOME ( you might have to change the numbers depending on what version you have )

export  JAVA_HOME=/usr/lib/jvm/java-6-sun-
export PATH=$PATH:$JAVA_HOME/bin

confirm that the path is set correctly


and that java is installed correctly

java -version

Now install mysql

sudo apt-get install mysql-server

and provide the password for the Mysql root user

now move to your home directory .. which is where we will install Jira


create home directory for jira

mkdir jirahome 

Download jira for linux and store the tar.gz file in this directory

Download this modified bash script ( updated for the latest jdbc

version for mysql )


And make it executable

chmod +x ./jira.bash

Now install curl

sudo apt-get install curl 

And lynx, the text based browser

sudo apt-get install lynx-cur 

Now run the bash script  .. it will download the jdbc driver and unpack it.


Answer jira for the database user, and create a password.  
Next give the answer for the root mysql password

Now, we need to edit the jira/conf/server.xml file at around line 50, but don't touch the username and password.

          <Resource name="jdbc/JiraDS" auth="Container" type="javax.sql.DataSource"






validationQuery="select 1"


And finally we need to setup jira home ...

cd jira/atlassian-jira/WEB-INF/classes

 and find the line that says


and complete it to


where you substitute graham with the user that is running jira

Now start up Jira by



for trouble shooting


Retrieved from ""

Tag page
You must login to post a comment. portal where you can upload your ideas and interests and educational mind set for a free website account please apply here