环境:
centos7.3
jdk 1.8
jira6.3.6.tar.gz
mysql-connector-java-5.1.5.bin.jar
atlassian-extras-2.2.2.jar
首先安装mysql,参见:http://blog.csdn.net/jeamking/article/details/76446010
然后开始安装jira。
下载http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-6.3.6.tar.gz
mkdir-p /opt/app
解压
tar zxvf atlassian-jira-6.3.6.tar.gz
修改端口
vi atlassian-jira-6.3.6-standalone/conf/server.xml
修改jira属性配置文件
atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/classes/jira-application.properties
修改:jirahome=/opt/app/atlassian-jira-6.3.6-standalone/bin
默认的jira是不支持MySQL的,需要手动添加jar包
将 mysql-connector-java-5.1.25-bin.jar拷贝至/opt/app/atlassian-jira-6.3.6-standalone/atlassian-jira/WEB-INF/lib目录。
创建数据库
CREATE DATABASE jira DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
默认conf/server.xml中的端口为8080,本次安装中为防止端口冲突,我将其修改端口为28080。通过bin/start-jira.sh启动jira。
浏览器访问:99.12.156.47:28080开始安装jira。
按照操作步骤输入数据库连接信息,最后需要输License,如无账号,则需要先到jira官网申请一个账号并申请一个临时的试用期为30天的License。
破解:
1、bin/stop-jira.sh停止应用
2、用atlassian-extras-2.2.2.jar替换你的JIRA的安装目录的\atlassian-jira\WEB-INF\lib同名jar包并重启
3、依次进入设置>系统>授权菜单,将以下内容输入至授权输入框。
Description=JIRA: Commercial,
CreationDate=2017-05-16,
jira.LicenseEdition=ENTERPRISE,
Evaluation=false,
jira.LicenseTypeName=COMMERCIAL,
jira.active=true,
licenseVersion=2,
MaintenanceExpiryDate=2099-12-31,
Organisation=newbanker,
SEN=SEN-L9726378,
ServerID=B6AE-GOHB-XFIL-M91K,
jira.NumberOfUsers=-1,
LicenseID=AAABdg0ODAoPeNp9kU1TwjAQhu/5FZ3xoocwlI8izGRGaKNWW2AoOh68hLJAFNLOJuXj31soKihw3
E323ed992qYgRWKjWU7VrnWqlVbZdtyvaFVKdsNMkUANUvSFLAUyBiUBj6WRiaK8e6QD/oDP+Kkm
y1GgL3JiwbUjNrkQ6Io/ev2M4xnQoMnDLCtPC3Xqe2QvfBwk0JXLIC5vTDkA9dvB99PfJ1K3BzMO
dSuEzdRRsSGh0LO2TqDCciVUNM7BauRUJ85cqxIBLgE9D3WcdqcPvQeO/Tt3g9o2LSfC84Uk3EWm
9K2oDqZmJVAKOXCcgnMYAbFt/P2T4R0ykuOqQwooeIzfi7Q/Mtyvyf3FfhexLs0aDYqTrVxS/KCH
TUuyEZGoAFkEzHXQHo4FUpqsfP3EyJxEXatv2ebFwivOdF2oHKUA+RWMUWp9xF6oGOU6U76yR+0r
WjPYF0XF7p5b1l8KebZblcBfe4Gp9I9XH4496tZ1F9J6wFOMC0CFQCAkBUpoe/0nnsRBDeJUffsz
6u8dAIUZHIN2iwTD+woMT4ZdittOpCU564=X02ia,
LicenseExpiryDate=2099-12-31,
PurchaseDate=2017-05-16