Jira安装破解

Jira 安装破解

下载 Jira 并安装

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
[root@VM-16-8-centos web]# sh atlassian-jira-software-8.22.0-x64.bin 
Unpacking JRE ...
Starting Installer ...

This will install Jira Software 8.22.0 on your computer.
OK [o, Enter], Cancel [c]
o # 确认安装
Click Next to continue, or Cancel to exit Setup.

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 # 自定义安装

Select the folder where you would like Jira Software to be installed.
Where should Jira Software be installed?
[/opt/atlassian/jira]
/usr/local/atlassian/jira # 安装目录

Default location for Jira Software data
[/var/atlassian/application-data/jira]
/usr/local/atlassian/application-data/jira # 数据存储目录

Configure which ports Jira Software will use.
Jira requires two TCP ports that are not being used by any other
applications on this machine. The HTTP port is where you will access 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]
2 # 自定义端口
HTTP Port Number
[8080]
9100 # 浏览器访问端口
Control Port Number
[8005]
9105 # 控制端口

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 # 安装 Jira 服务

Details on where Jira Software will be installed and the settings that will be used.
Installation Directory: /usr/local/atlassian/jira
Home Directory: /usr/local/atlassian/application-data/jira
HTTP Port: 9100
RMI Port: 9105
Install as service: Yes
Install [i, Enter], Exit [e]
i # 安装

Extracting files ...


Please wait a few moments while Jira Software is configured.

Installation of Jira Software 8.22.0 is complete
Start Jira Software 8.22.0 now?
Yes [y, Enter], No [n]
n # 不启动

Installation of Jira Software 8.22.0 is complete
Your installation of Jira Software 8.22.0 is now ready.
Finishing installation ...

下载对应的 MySQL 驱动包并配置(放到 /jira/lib 中)

1
2
3
4
5
drop database jiradb816;
create user 'jira'@'localhost' IDENTIFIED BY 'jira';
CREATE DATABASE jiradb816 CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,REFERENCES,ALTER,INDEX on jiradb816.* TO 'jira'@'localhost';
flush privileges;

下载 atlassian-agent 破解包

  1. 在 jira/bin/setenv.sh 中追加命令后启动 jira,/jira/bin/startup.sh
1
export JAVA_OPTS="-javaagent:/usr/local/atlassian/data/atlassian-agent.jar ${JAVA_OPTS}"
  1. 访问 ip:9100 后按提示操作即可

  2. 获取到 Server ID 后,回到服务器执行 java -jar atlassian-agent.jar -p jira -m chenkaixin12121@163.com -n test -o wenqu -s BZ3X-3JAN-GV35-3UJG(注意替换 Server ID),复制 License Key 到页面继续验证即可

问题处理