Chinaunix首页 | 论坛 | 博客
  • 博客访问: 672965
  • 博文数量: 220
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 1961
  • 用 户 组: 普通用户
  • 注册时间: 2014-11-04 21:54
文章分类

全部博文(220)

文章存档

2018年(1)

2015年(140)

2014年(79)

我的朋友

分类: LINUX

2014-12-08 15:37:49

一 搭建环境说明及准备

RedHat6 下,需要的安装包有:

1.mysql-server-5.1.66-2.el6_3.x86_64(yum)
2.jdk-7u51-linux-x64.tar.gz(redhat6.4 环境直接可用,可不用安装jdk,)
3.mysql-connector-java-5.1.32.tar.gz(下载)
4.atlassian-jira-6.0.1-x64.bin (下载)


下载地址:

.com/Downloads/Connector-J/mysql-connector--5.1.32.tar.gz
百度云盘下载地址:
atlassian-jira-6.0.1-x64.bin

jira_crack.zip





二 安装
2.1 安装JDK,(如果是redhat6.4的版本可以不用安装jdk,默认即可)
tar xf jdk-7u51-linux-x64.tar.gz -C /usr/local/
ln -s /usr/local/jdk1.7.0_15 /usr/local/jdk

vi /etc/profile
#================JAVA ENV===============
export JAVA_HOME=/usr/local/jdk
export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/lib
export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
export JIRA_HOME=/usr/local/jira/jira_home
#================JAVA ENV===============


source /etc/profile


2.2 安装Mysql
yum install -y mysql-server
# mysql
mysql> create database jiradb character set utf8;
mysql> grant all on jiradb.* to jira@'%' identified by 'homelink';
mysql> grant all on jiradb.* to jira@'localhost' identified by 'homelink';
> flush privileges;


2.3 安装JIRA
chmod 755 atlassian-jira-6.0.1-x64.bin
./atlassian-jira-6.0.1-x64.bin
需要输入几个选项看下就懂(可用默认,可自定义,可以看本文最下面,有我的选择)




2.4 修改配置文件(端口可以不用修改)
vi /usr/local/jira/server.xml,修改端口号为8090,并找到如下内容并修改:




三 破解
下载破解补丁 jira_crack.zip(包含atlassian-extras-2.2.2.jar  atlassian-universal-plugin-manager-plugin-2.10.1.jar  keytpl.txt )



unzip jira_crack.zip  
cp atlassian-extras-2.2.2.jar /usr/local/jira/atlassian-jira/WEB-INF/lib/atlassian-extras-2.2.2.jar
cp atlassian-universal-plugin-manager-plugin-2.10.1.jar  /usr/local/jira_data/plugins/.bundled-plugins/atlassian-universal-plugin-manager-plugin-2.10.1.jar


四 访问JIRA
打开浏览器,输入
依次输入信息后,填写账号密码后,就可以看到 License 信息
你可以根据自己的注册的jira 账号信息,获取一个license,然后修改相应信息后,替换当前license即可。
===================================================================
破解
Description=JIRA: Commercial, 
CreationDate=你的安装日期,格式(yyyy-mm-dd), 
jira.LicenseEdition=ENTERPRISE, 
Evaluation=false, 
jira.LicenseTypeName=COMMERCIAL, 
jira.active=true, 
licenseVersion=2, 
MaintenanceExpiryDate=你想设置的失效日期如:2099-12-31, 
Organisation=joiandjoin, 
SEN=你申请到的SEN注意没有前缀LID, 
ServerID=你申请到的ServerID, 
jira.NumberOfUsers=-1, 
LicenseID=LID你申请到的SEN,注意LID前缀不要丢掉, 
LicenseExpiryDate=你想设置的失效日期如:2099-12-31, 
PurchaseDate=你的日期,格式(yyyy-mm-dd)


下面是我修改的
==========================================================
Description=JIRA: Commercial, 
CreationDate=2014-08-29, 
jira.LicenseEdition=ENTERPRISE, 
Evaluation=false, 
jira.LicenseTypeName=COMMERCIAL, 
jira.active=true, 
licenseVersion=2, 
MaintenanceExpiryDate=2020-12-31, 
Organisation=joiandjoin, 
SEN=L4511466, 
ServerID=B05P-IU97-QMXO-T9Z2, 
jira.NumberOfUsers=-1, 
LicenseID=LIDL4511461, 
LicenseExpiryDate=2020-12-31, 
PurchaseDate=2014-08-29,
==========================================================


五 重启jira
进入/usr/local/jira/bin,执行
关闭 stop-jira.sh
启动 startup.sh 


到此破解安装完毕。可以正常使用。
到此破解安装完毕。可以正常使用。
到此破解安装完毕。可以正常使用。





六 汉化
百度云盘下载地址:language_zh_CN-6.0.jar 

然后拷贝到 
/usr/local/jira/atlassian-jira/WEB-INF/lib/language_zh_CN-6.0.jar










下面是信息时候  我的选择
================================================================
[root@hdserver5 jira]# ./atlassian-jira-6.0.1-x64.bin 
Unpacking JRE ...
Starting Installer ...
Aug 29, 2014 3:29:28 PM java.util.prefs.FileSystemPreferences$2 run
INFO: Created system preferences directory in .home.


This will install JIRA 6.0.1 on your computer.
OK [o, Enter], Cancel [c]
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]
2


Where should JIRA 6.0.1 be installed?
[/opt/atlassian/jira]
/usr/local/jira
Default location for JIRA data
[/var/atlassian/application-data/jira]
/usr/local/jira_data
Configure which ports JIRA will use.
JIRA requires two TCP ports that are not being used by any other
applications on this . The HTTP port is where you will  JIRA
through your browser. The Control port is used to Startup and Shutdown JIRA.
Use default ports (HTTP: 8080, Control: 8005) - Recommended [1, Enter], Set custom value for HTTP and Control ports [2]
1
JIRA can be run in the background.
You may choose to run JIRA as a service, which means it will start
automatically whenever the computer restarts.
Install JIRA as Service?
Yes [y, Enter], No [n]
y


Extracting files ...
                                                                           


Please wait a few moments while JIRA starts up.
Launching JIRA ...
Installation of JIRA 6.0.1 is complete
Your installation of JIRA 6.0.1 is now ready and can be accessed via your
browser.
JIRA 6.0.1 can be ed at
阅读(1293) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~