CentOS安装JIRA+破解与汉化(带shell自动安装脚本)

本文的破解文件在 JIRA-5.1.5 和 JIRA-5.1.8版本上测试通过,其它版本尚未测试,估计也是可以破解的。
注意:电脑内存要大。最起码2G 。要不然安装的时候很慢或者根本安装不上

jira 官方网站 http://www.atlassian.com/software/jira/overview
jira 中文演示平台:http://www.jira.cn/secure/Dashboard.jspa
jira 官方中文论坛:http://www.fangwai.net/bbs/forum-1-1.html

首先到官网(http://www.atlassian.com/software/jira/download)下载atlassian-jira-5.1.5.tar.gz(JIRA 5.1.5 (Linux 64 Bit Installer installer版本自带了 java和Tomcat环境,在这里我们选择这个版本),JIRA 5.1.5 (TAR.GZ Archive)版本自带Tomcat环境,JIRA 5.1.5 WAR (TAR.GZ Archive)版本无 java也没Tomcat环境)。

安装中会出现如下选择,根据自己的需求做相应的选择即可:

[root@localhost soft]# ./jira.sh
Unpacking JRE ...
Starting Installer ...

This will install JIRA 5.1.5 on your computer.
OK [o, Enter], Cancel 
o【选择o,进行安装】
Choose the appropriate installation or upgrade option.
Please choose one of the following:
Express Install (use default settings) [1], Custom Install (recommended for advanced users) [2, Enter], Upgrade an existing JIRA installation [3]
1【选择1,使用默认设置】
See where JIRA will be installed and the settings that will be used.
Installation Directory: /opt/atlassian/jira【这是JIRA程序目录】
Home Directory: /var/atlassian/application-data/jira【这是JIRA数据目录】
HTTP Port: 8080
RMI Port: 8005
Install as service: Yes
Install [i, Enter], Exit [e]
i【选择i,进行安装】

Extracting files ...

JIRA5破解包:JIRA5Crack.tar
破解包使用方法:
1.将atlassian-extras-2.2.2.jar 覆盖至%JIRA_HOME%/atlassian-jira/WEB-INF/lib/atlassian-extras-2.2.2.jar

2.将atlassian-extras-2.2.2.crack 这个文件复制到%JIRA_HOME%/atlassian-jira/WEB-INF/classes下,然后把文件中的MaintenanceExpiryDate项修改到你想要的日期

重启Jira....

当配置到需要输入授权码的地方,先到官方申请一个试用30天的授权码(授权码表单下边有申请链接,直接点击即可),安装成功后再进行破解。有些破解方式可以直接把atlassian-extras-2.2.2.crack中的内容复制到授权码的地方,然后提交即可,不过我的破解方法不支持这种方式,需要先到官方申请一个试用30天的授权码。

atlassian-extras-2.2.2.crack文件中的授权码格式参考:

Description=JIRA:商业
CreationDate=2009-10-25(创建时间
ContactName=xxx(管理员的名字
jira.LicenseEdition=ENTERPRISE
ContactEMail=xxx@xxx.xxx(管理员的邮箱
Evaluation=false
jira.LicenseTypeName=COMMERCIAL
jira.active=true
licenseVersion=2
MaintenanceExpiryDate=2099-10-24(维护过期时间
Organisation=xxx(组织名称
jira.NumberOfUsers=-1
ServerID=B6FW-B4KW-J1A3-4DQB
LicenseID=LID
LicenseExpiryDate=2099-10-24(授权过期时间
PurchaseDate=2009-10-25(购买时间

汉化包下载和汉化方法请参考:
中国代理:http://www.confluence.cn/pages/viewpage.action?pageId=16908366

官方:https://translations.atlassian.com/dashboard/download?lang=zh_CN#/JIRA/5.1.5
如果安装汉化包后,JIRA没有自动刷新显示中文,则直接到管理员后台,设置JIRA的默认语言为中文即可。如果没有相应版本的汉化包,可以随便安装一个低一点的版本,然后再到管理后台点击自动升级即可。

shell自动安装脚本:

#!/bin/bash

# -------------------------------------------------------------------------------
# Filename:    jira.sh
# Revision:    1.0
# Date:        2012/11/07
# Author:      三木
# Email:       linmaogan#gmail.com
# Website:     www.3mu.me
# Description: CentOS6.3 64位系统安装jira5.1.5版本,破解文件仅对本版本有效
# Notes:       需要切换到root运行
# -------------------------------------------------------------------------------
# Copyright:   2012 (c) 三木
# License:     GPL
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# you should have received a copy of the GNU General Public License
# along with this program (or with Nagios);
#
# Credits go to Ethan Galstad for coding Nagios
# If any changes are made to this script, please mail me a copy of the changes
# -------------------------------------------------------------------------------
#Version 1.0
#2012-11-07 三木 初始版本建立
#Version 1.1
#优化设置
# -------------------------------------------------------------------------------

#定义软件下载存放目录###############################################################
downloadDir=/home/soft
#进入软件存放目录###################################################################
if [ ! -e $downloadDir ]
then
	mkdir $downloadDir
fi
cd $downloadDir
#下载JIRA###########################################################################
#JIRA安装文件
#wget http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-5.1.8-x64.bin
#破解补丁
wget http://www.3mu.me/wp-content/uploads/2012/11/JIRA5Crack.tar.gz
#安装
chmod +x atlassian-jira-5.1.8-x64.bin
./atlassian-jira-5.1.8-x64.bin
#解压缩文件#########################################################################
tar -zxvf ${downloadDir}/JIRA5Crack.tar.gz
#破解###############################################################################
\cp -f atlassian-extras-2.2.2.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/
cp atlassian-extras-2.2.2.crack /opt/atlassian/jira/atlassian-jira/WEB-INF/classes/
#启动JIRA###########################################################################
sh /opt/atlassian/jira/bin/startup.sh
#输出成功安装信息###################################################################
echo '安装JIRA成功!请通过http://IP地址:8080访问,进行数据库的安装和输入密钥:'
发表评论?

1 条评论。

  1. 已经收藏 希望有用哈

发表评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据