Thursday, February 21, 2013

Installing Jira in Centos

Login as root
cd /opt
Download Jira for linux from http://www.atlassian.com/software/jira/download
chmod a+x atlassian-jira.bin
./atlassian-jira
I choose express install

Access URL http://ip:8080
/etc/init.d/jira start
/etc/init.d/jira stop

Then we have to run the wizard

I then created a mysql DB,user and password.
Give necessary permissions.

CREATE DATABASE jiradb CHARACTER SET utf8 COLLATE utf8_bin;
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER,INDEX on <JIRADB>.* TO '<USERNAME>'@'<JIRA_SERVER_HOSTNAME>' IDENTIFIED BY '<PASSWORD>';
flush privileges;

Then we need to copy the mysql JDBC driver to jira
Download the driver from http://dev.mysql.com/downloads/connector/j
Untar the package
cd to that folder
Copy mysql-connector-java-5.x.x-bin.jar to /opt/jira/lib

Stop Jira
Start Jira

Give it as a public site
Give name of the site
Admin user details
Email notification etc.


No comments:

Post a Comment