在Linux下配置Jira

用到的软件及程序包

tomcat
atlassian-jira-3.8.war
mysql-connector-java-3.1.12-bin.jar
carol-1.5.2.jar
carol-properties.jar
hsqldb-1.8.0.5.jar
jonas_timer-1.4.3.jar
jotm-1.4.3.jar
jotm-iiop_stubs-1.4.3.jar
jotm-jrmp_stubs-1.4.3.jar
jta-1.0.1.jar
jtds-1.1.jar
objectweb-datasource-1.4.3.jar
ots-jts_1.0.jar
xapool-1.3.1.jar
commons-logging.jar
log4j-1.2.8.jar
1 把上面的jar包放到tomcat/lib/目录下
2 在/usr/local/下新建jira目录及attach backup index三个子目录,把atlassian-jira-3.8.war也放在此目录下
3 在/usr/local/tomcat/conf/下新建目录Catalina/localhost子目录,把jira.xml复制进去
4 在mysql里新建jira数据库,以及jira用户
create database jira;
grant all privileges on jira.* to ‘jira’@’localhost’ identified by ‘passwd’ with grant option;
grant all privileges on jira.* to ‘jira’@’%’ identified by ‘passwd’ with grant option;
5 可能需要修改/usr/local/tomcat/webapps/jira/WEB-INF/classes/目录下的entityengine.xml文件中的“<datasource name=”defaultDS” field-type-name=”mysql”..>”