标签:jira
安装JDK
tar zxvf jdk-7u45-linux-x64.tar.gz
mv jdk1.7.0_45/ /usr/local/jdk
vim /etc/profile
JAVA_HOME=/usr/local/jdk
PATH=$PATH:$JAVA_HOME/bin
CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib
export JAVA_HOME PATH CLASSPATH
source /etc/profile
安装jira
tar -zxvf atlassian-jira-6.3.6.tar.gz
配置jira_home
vim /home/jira/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/classes/jira-application.properties
jira.home = /home/jira_home
需要将jdbc驱动包mysql-connector-java-5.1.25-bin.jar复制到/home/jira/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/lib目录下面
启动jira
[root@name01 bin]# /home/jira/atlassian-jira-6.3.6-standalone/bin/start-jira.sh
先建立jira数据库以及账号密码:
mysql> CREATE DATABASE `jira636` /*!40100 DEFAULT CHARACTER SET utf8*/;
Query OK, 1 row affected (0.13 sec)
mysql> GRANT ALL ON jira.* TO jira@‘%‘ IDENTIFIED BY ‘jira_user‘;
Query OK, 0 rows affected (0.38 sec)
JIRA安装完成之后,关闭JIRA,然后将atlassian-extras-2.2.2.jar和atlassian-universal-plugin-manager-plugin-2.17.13.jar中得两个class文件都进行替换
破解的核心是替换2个License验证类
com\atlassian\extras\decoder\v2\Version2LicenseDecoder.class
com\atlassian\license\LicenseManager.class
这2个类同时存在于一下两个包中,必须全部替换才可以:
JIRA的安装目录/atlassian-jira/WEB-INF/lib/atlassian-extras-2.2.2.jar
JIRA的安装目录/atlassian-jira/WEB-INF/atlassian-bundled-plugins/atlassian-universal-plugin-manager-plugin-2.17.13.jar
换完成之后,将JIRA和Agile的key文件分别修改后进行更新
本次安装授权码实例为:
Description=JIRA: Commercial,
CreationDate=2014-09-20,
jira.LicenseEdition=ENTERPRISE,
Evaluation=false,
jira.LicenseTypeName=COMMERCIAL,
jira.active=true,
licenseVersion=2,
MaintenanceExpiryDate=2099-12-31,
Organisation=tidy,
SEN=SEN-L4572887,
ServerID=BPT3-4QRK-FCRR-HEP3,
jira.NumberOfUsers=-1,
LicenseID=AAABBw0ODAoPeNptkFtLxDAQhd/zKwI+R9Kwy66FPKxthGhvtF0p4kuso0a6sUwvuP/edissyj4MD
HPOfHOYqzu0tICWeoJy4a+FzzkNwpIK7q1ICF2Ntu3tl5P3Ot89+1SNphnMPCEBwqkJTQ9y9jN+w
zxBPi2a68jW4DpQr/a0rZJS5VmuC0XOBNnjAH/s5bGFxBxABmkcqzzQu2jRTd3bEZaFZvE+AnYzR
JDYWNeDM64G9d1aPJ4TeXxOlOK7cbZbjrbNgkyGwwtg+rbvJpBkHikAR0Adytt0XzFV7R5Y+qQzV
kWZIoVK5FQsWq03YrvdkN/Ekz3S4SXlcpRswPrDdPD/aT+P1nzDMC0CFQCM9+0LlHVNnZQnSTwuR
O3eK+2gVgIUCteTs4Q3khIgrnsY64hxYB/d8bM=X02dh,
LicenseExpiryDate=2099-12-31,
PurchaseDate=2014-09-20
汉化
JIRA安装部署完成之后,重新启动系统之后,管理员登录,找到插件add on,Upload,选择JIRA-6.3.3-language-pack-zh_CN.jar,观察日志是否有报错,如果报错,重启JIRA之后,重新上传汉化文件
汉化插件安装成功之后,找到JIRA系统配置,选择中文配置
标签:jira
原文地址:http://johnchow.blog.51cto.com/3517015/1703235