Jira 8.5 for Windows:安装与使用技巧


1 安装

 ​https://confluence.atlassian.com/adminjiraserver/installing-jira-applications-on-windows-938846835.html​​

1.1 配置数据库

https://confluence.atlassian.com/adminjiraserver/connecting-jira-applications-to-sql-server-2012-938846858.html 本次安装使用数据库 SQL Server2017

1)打开SQL Server配置管理器,启用TCP/IP。

2)防火墙开启1433端口。

3)打开SQL Server Management Studio,连接数据库。

4)创建名为"jiradb"的数据库,collation type选择"Latin1_General_CI_AI”。

5)创建"jiradbuser"用户,给予"db_owner"角色。

6)进入Tools > Options > Query Execution > SQL Server > Advanced, 取消勾选"SET NOCOUNT"。

7)右键Server Instance > Properties > Connections > Default Connections取消勾选"no count"。

8)右键jiradb->创建查询,执行以下脚本(如果这时有其他数据库连接,需要等待几分钟)。

ALTER DATABASE jiradb SET READ_COMMITTED_SNAPSHOT ON;
  • 1.

1.2 安装Jira本体

1)支持平台与软件

 ​https://confluence.atlassian.com/adminjiraserver/supported-platforms-938846830.html​​

1.2)下载

https://www.atlassian.com/software/jira/download 下载windows版本

1.3) 执行安装程序

用“管理员身份”运行安装程序,填写安装路径,web服务端口号(记得防火墙打开端口),勾选"作为windows服务安装"。

1.4)初始化

浏览器打开 http://[ip]:[port]


  • 选择生产环境
  • 选择数据库,输入数据库配置
  • 官网注册账户,输入试用Lisence
  • 创建管理员账号
  • 初始化成功后,进入系统修改以下内容:

配置邮件服务器

用户外观-时间格式

1.5)破解

  • 破解本体

替换文件

atlassian/jira/atlassian-jira/WEB-INF/lib/atlassian-extras-3.2.jar

  • 破解插件管理器

a、下载jd-gui.exe反编译工具,载入jar包:

Atlassian\JIRA\atlassian-jira\WEB-INF\atlassian-bundled-plugins\atlassian-universal-plugin-manager-plugin-4.0.8.jar

b、反编译class文件:

com\atlassian\extras\decoder\v2\Version2LicenseDecoder.class

c、新建java项目,创建package:

com\atlassian\extras\decoder\v2,

新建Version2LicenseDecode.java,拷贝反编译后的代码,修改下面方法:

private Properties loadLicenseConfiguration(Reader text) {
try {
Properties props = new Properties();
(new DefaultPropertiesPersister()).load(props,text);
if (props.containsKey("Description")) {
String desc = props.getProperty("Description");
props.put("Description", desc.replace("Evaluation", "Commercial"));
if (desc.contains("Confluence")) {
props.put("conf.LicenseTypeName", "COMMERCIAL");
} else if (desc.contains("JIRA")) {
props.put("jira.LicenseTypeName", "COMMERCIAL");
} else if (desc.contains("FishEye")) {
props.put("fisheye.LicenseTypeName", "COMMERCIAL");
} else if (desc.contains("Bitbucket")) {
props.put("stash.LicenseTypeName", "COMMERCIAL");
}
props.put("Evaluation", "false");
props.put("MaintenanceExpiryDate", "2033-06-06");
props.put("LicenseExpiryDate", "2033-06-06");
}
return props;
} catch (IOException var4) {
throw new LicenseException("Could NOT load properties from reader", var4);
}}
  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.

d、反编译class文件:

com\atlassian\license\LicenseManager.class

e、创建package:

com\atlassian\license,

新建LicenseManager.java,拷贝反编译后的代码,修改下面方法:

public boolean hasValidLicense(String licenseKey) { return true;}
  • 1.

f、删除原始jar中上面两个class文件,打jar包,java项目导入此jar包;

g、java项目导入Atlassian\JIRA\atlassian-jira\WEB-INF\lib\commons-codec-1.9.jar

h、编译后,替换两个class文件,重新打插件管理器jar包,替换。

i、删除D:\Atlassian\Application Data\JIRA\plugins 文件夹下的“.XXX”文件夹。

j、重新启动。

Jira8.5 for Windows 安装&使用_sql

UP技术控

江东子弟多才俊,卷土重来未可知。——唐·杜牧

451篇原创内容

公众号



QR Code
微信扫一扫,欢迎咨询~

联系我们
武汉格发信息技术有限公司
湖北省武汉市经开区科技园西路6号103孵化器
电话:155-2731-8020 座机:027-59821821
邮件:tanzw@gofarlic.com
Copyright © 2023 Gofarsoft Co.,Ltd. 保留所有权利
遇到许可问题?该如何解决!?
评估许可证实际采购量? 
不清楚软件许可证使用数据? 
收到软件厂商律师函!?  
想要少购买点许可证,节省费用? 
收到软件厂商侵权通告!?  
有正版license,但许可证不够用,需要新购? 
联系方式 155-2731-8020
预留信息,一起解决您的问题
* 姓名:
* 手机:

* 公司名称:

姓名不为空

手机不正确

公司不为空