assian全家桶以及插件破解详细教程
浅时光 · 3月4日 · 2020年Atlassian 2508次已读
朗读本文
一、下载程序
登入Atlassian官网,下载Atlassian家的所有程序然后进行安装;安装教程请查看本博客的Atlassian程序的安装教程;本文以JIRA,Confluence,Bitbucket进行破解演示,包括第三方插件的破解。
注意:破解插件时不要选择免费试用版,不然生成的key会授权失败【安装付费插件,直接点击立即购买即可进行安装,弹出获取授权码直接关闭就行】
本文用到的激活工具以及驱动文件,请跳转到本站的【资源分享】页面下载获取!!!
二、环境准备
系统版本 | IP地址 | 程序名称 | 版本号 | 所需依赖程序 |
CentOS 7.6 | 192.168.66.15 | JIRA | 8.7.1 | JDK1.8,MySQL5.7 |
CentOS 7.6 | 192.168.66.16 | Confluence | 7.3.2 | JDK1.8,MySQL5.7 |
CentOS 7.6 | 192.168.66.17 | Bitbucket | 6.10.1 | JDK1.8,MySQL5来源(Source):www.dqzboy.com.7,Git2.11 |
本文不再赘述以上三个程序的详细安装流程,大家可以查看本博客中关于该三款程序的安装教程文章
三、部署破解JIRA程序
1、部署JIRA
[root@jira soft]# chmod +x atlassian-jira-software-8.7.1-x64.bin
|
|
[root@jira soft]# ./atlassian-jira-software-8.7.1-x64.bin
|
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-133.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-141.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-143.png?pt=5&ek=1&kp=1&sce=0-12-12)
- JIRA安装完成会自动启动,防火墙放通8080端口
[root@jira soft]# firewall-cmd --permanent --zone=public --add-port=8080/tcp
|
|
success
|
|
[root@jira soft]# firewall-cmd --reload
|
|
success
|
- 对JIRA所在目录授权
[root@jira ~]# chown -R jira:jira /var/atlassian/
|
|
[root@jira ~]# chown -R jira:jira /opt/atlassian/
|
2、配置Agent
- 先将JIRA停止,然后把破解程序放到服务器上的任意位置,保证该程序不被删除即可;我这里保存在了
/opt/atlassian-agent
目录下 - 由于本文用的数据库为MySQL,需要将对应的MySQL驱动文件放在JIRA的
/opt/atlassian/jira/atlassian-jira/WEB-INF/lib
目录下;驱动包和破解程序请跳转至资源分享页面下载
#把破解程序放入到/opt/atlassian-agent目录下
|
|
[root@jira ~]# mkdir /opt/atlassian-agent
|
|
#对目录进行授权,改为jira用户
|
|
[root@jira ~]# chown -R jira. /opt/atlassian-agent
|
|
[root@jira ~]# /etc/init.d/jira stop
|
|
[root@jira ~]# cd /opt/soft
|
|
[root@jira soft]# tar -xf mysql-connector-java-5.1.48.tar.gz
|
|
[root@jira soft]# cp mysql-connector-java-5.1.48/*.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib
|
- 将Agent加入到系统环境变量中,保证系统中无其他JAVA运行程序,不然不要将下面的参数添加到
/etc/profile
;则需要添加至用户环境变量文件中.bashrc
- 注:
/etc/profile
、.bashrc
和${jira_home}/bin/setenv.sh
;在这3个文件中任意一个文件中添加即可;注意不要三个文件都进行添加!!!
[root@jira ~]# cd /opt/atlassian/jira/bin/
|
|
[root@jira bin]# vim setenv.sh
|
|
export JAVA_OPTS="-javaagent:/opt/atlassian-agent/atlassian-agent.jar ${JAVA_OPTS}"
|
![](https://www.dqzboy.com/wp-content/uploads/2020/05/jira-agent.png?pt=5&ek=1&kp=1&sce=0-12-12)
- Windoor环境下修改setenv.bat,修改如下
- 参数说明:
D:\jira\
:激活程序所存放的目录
export JAVA_OPTS="-javaagent:D:\jira\atlassian-agent\atlassian-agent.jar %{JAVA_OPTS}%
|
![](https://www.dqzboy.com/wp-content/uploads/2020/05/jira-win-agent.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 最后右键管理员运行
start-jira.bat
启动
激活Win环境下的Atlassian家的其他产品的方式与此类似,请按照该方式激活即可!!!
3、启动JIRA
[root@jira ~]# /etc/init.d/jira start
|
- 检查启动进程中是否包含-javaagent参数
[root@jira ~]# ps -aux|grep java
|
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-144.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 检查日志是否有下图输出的日志信息,
[root@jira ~]# cat /opt/atlassian/jira/logs/catalina.out | grep "agent working"
|
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-145.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 如果以上都在日志中有,且日志中没有ERROR级别的,则可以浏览器访问JIRA进行接下来的配置
4、配置JIRA
- 浏览器访问: http://192.168.66.15:8080/
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-146.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-147.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 这里需要等待程序进行数据初始化,需要一段时间
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-148.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-149.png?pt=5&ek=1&kp=1&sce=0-12-12)
5、获取KEY
- 上面得到服务器ID后,下面通过以下命令进行获取到key
- 通过
java -jar /opt/atlassian-agent/atlassian-agent.jar
来获取对应的参数
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-150.png?pt=5&ek=1&kp=1&sce=0-12-12)
[root@jira ~]# java -jar /opt/atlassian-agent/atlassian-agent.jar -m dqzboy@xxxx -n dqzboy.com -p jc -o http://192.168.66.15:8080 -s BD77-K35P-74WP-HANA
|
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-151.png?pt=5&ek=1&kp=1&sce=0-12-12)
参数说明:
-m
:指定邮箱-n
:授权给的用户-p
:需要获取key的程序, jira为Jira Software;jc为jira Core的缩写-o
:jira的url地址-s
:服务器ID
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-152.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-153.png?pt=5&ek=1&kp=1&sce=0-12-12)
6、设置管理员
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-154.png?pt=5&ek=1&kp=1&sce=0-12-12)
7、最后配置
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-155.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-156.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-157.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 这里你可以先随便建立一个项目进行测试
8、验证状态
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-158.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-159.png?pt=5&ek=1&kp=1&sce=0-12-12)
[root@jira ~]# java -jar /opt/atlassian-agent/atlassian-agent.jar -m dqzboy@xxxx -n dqzboy.com -p jira -o http://192.168.66.15:8080 -s BD77-K35P-74WP-HANA
|
- 这里的服务器ID不变,只需要将-p后的参数改为jira即可
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-160.png?pt=5&ek=1&kp=1&sce=0-12-12)
- jira中更新许可证
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-161.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-162.png?pt=5&ek=1&kp=1&sce=0-12-12)
9、获取插件KEY
- 现在我们获取下Portfolio插件的KEY
[root@jira ~]# java -jar /opt/atlassian-agent/atlassian-agent.jar -m dqzboy@xxxx -n dqzboy.com -p portfolio -o http://192.168.66.15:8080 -s BD77-K35P-74WP-HANA
|
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-163.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 点击【立即购买】不要点击免费试用,点击立即购买后会自动进行安装
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-164.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-165.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-166.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-167.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 可以看到该插件已经获取到许可证,并可以正常使用了
10、第三方插件
- 现在我们安装第三方的插件
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-168.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-169.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 在应用管理中找到该应用程序,并复制该应用程序的应用秘钥
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-170.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 获取KEY
[root@jira ~]# java -jar /opt/atlassian-agent/atlassian-agent.jar -m dqzboy@xxxx -n dqzboy.com -p com.docminer.jira.issue-links -o http://192.168.66.15:8080 -s BD77-K35P-74WP-HANA
|
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-171.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 更新KEY
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-172.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-173.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 至此JIRA和插件破解教程结束
四、部署破解Confluence
1、部署Confluence
[root@confluence soft]# chmod +x atlassian-confluence-7.3.2-x64.bin
|
|
[root@confluence soft]# ./atlassian-confluence-7.3.2-x64.bin
|
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-174.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-175.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 安装完成会自动启动,防火墙放通8090端口
[root@confluence ~]# firewall-cmd --permanent --zone=public --add-port=8090/tcp
|
|
success
|
|
[root@confluence ~]# firewall-cmd --reload
|
|
success
|
2、配置Agent
- 先将Confluence停止,然后把破解程序放到服务器上的任意位置,保证该程序不被删除即可;我这里保存在了
/opt/atlassian-agent
目录下 - 由于本文用的数据库为MySQL,需要将对应的MySQL驱动文件放在Confluenc的
/opt/atlassian/confluence/confluence/WEB-INF/lib
目录下;驱动包和破解程序请跳转至资源分享页面下载
#把破解程序放入到/opt/atlassian-agent目录下
|
|
[root@confluence ~]# mkdir /opt/atlassian-agent
|
|
[root@confluence ~]# chown -R confluence. /opt/atlassian-agent
|
|
[root@confluence ~]# /etc/init.d/confluence stop
|
|
[root@confluence ~]# cd /opt/soft
|
|
[root@confluence soft]# tar -xf mysql-connector-java-5.1.48.tar.gz
|
|
[root@confluence soft]# cp mysql-connector-java-5.1.48/*.jar /opt/atlassian/confluence/confluence/WEB-INF/lib
|
- 将Agent加入到系统环境变量中,保证系统中无其他JAVA运行程序,不然不要将下面的参数添加到
/etc/profile
;则需要添加至用户环境变量文件中.bashrc
- 注:
/etc/profile
、.bashrc
和${confluence_home}/bin/setenv.sh
;在这3个文件中任意一个文件中添加即可;注意不要三个文件都进行添加!!!
[root@confluence ~]# cd /opt/atlassian/confluence/bin/
|
|
[root@confluence bin]# vim setenv.sh
|
|
export JAVA_OPTS="-javaagent:/opt/atlassian-agent/atlassian-agent.jar ${JAVA_OPTS}"
|
![](https://www.dqzboy.com/wp-content/uploads/2020/05/wiki-agent.png?pt=5&ek=1&kp=1&sce=0-12-12)
3、启动Confluence
[root@confluence bin]# /etc/init.d/confluence start
|
- 检查启动进程中是否包含-javaagent参数
[root@confluence ~]# ps -ef|grep java
|
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-176.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 检查日志是否有下图输出的日志信息
[root@confluence ~]# cat /opt/atlassian/confluence/logs/catalina.out |grep "agent working"
|
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-177.png?pt=5&ek=1&kp=1&sce=0-12-12)
4、配置Confluence
- 浏览器访问: http://192.168.66.16:8090/
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-178.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-179.png?pt=5&ek=1&kp=1&sce=0-12-12)
5、获取KEY
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-180.png?pt=5&ek=1&kp=1&sce=0-12-12)
[root@confluence ~]# java -jar /opt/atlassian-agent/atlassian-agent.jar -m dqzboy@xxxx -n dqzboy.com -p conf -o http://192.168.66.16:8090 -s BDXK-ZZRT-LBSA-I3YV
|
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-181.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 复制KEY到Confluence中
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-182.png?pt=5&ek=1&kp=1&sce=0-12-12)
6、配置数据库
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-183.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-184.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 注意:需要等待一段时间
7、最后配置
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-185.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-186.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-187.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-188.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-189.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-190.png?pt=5&ek=1&kp=1&sce=0-12-12)
8、验证状态
- 检查激活状态
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-191.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-192.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-193.png?pt=5&ek=1&kp=1&sce=0-12-12)
9、获取插件KEY
- 现在我们获取一个付费插件的KEY
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-194.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 点击立即购买进行安装,不要点击免费试用
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-195.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-196.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-197.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-198.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 管理应用 ——> 获取应用秘钥
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-199.png?pt=5&ek=1&kp=1&sce=0-12-12)
[root@confluence ~]# java -jar /opt/atlassian-agent/atlassian-agent.jar -m dqzboy@xxxx -n dqzboy.com -p org.hotovo.sketch-confluence -o http://192.168.66.16:8090 -s BDXK-ZZRT-LBSA-I3YV
|
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-200.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 把KEY更新至插件中
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-201.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-202.png?pt=5&ek=1&kp=1&sce=0-12-12)
五、部署破解Bitbucket
1、部署Bitbucket
[root@bitbucket ~]# cd /opt/soft
|
|
[root@bitbucket soft]# chmod +x atlassian-bitbucket-6.10.1-x64.bin
|
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-203.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-204.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-205.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-206.png?pt=5&ek=1&kp=1&sce=0-12-12)
- bitbucket安装完成会自动启动,防火墙放通7990端口
[root@jira soft]# firewall-cmd --permanent --zone=public --add-port=7990/tcp
|
|
success
|
|
[root@jira soft]# firewall-cmd --reload
|
|
success
|
2、配置Agent
- 先将Bitbucket停止,然后把破解程序放到服务器上的任意位置,保证该程序不被删除即可;我这里保存在了
/opt/atlassian-agent
目录下 - 由于本文用的数据库为MySQL,需要将对应的MySQL驱动文件放在Bitbucket的
/opt/atlassian/bitbucket/6.10.1/app/WEB-INF/lib/
目录下;驱动包和破解程序请跳转至资源分享页面下载
[root@bitbucket ~]# mkdir /opt/atlassian-agent
|
|
[root@bitbucket ~]# chown -R atlbitbucket. /opt/atlassian-agent
|
|
[root@bitbucket ~]# chown -R atlbitbucket. /opt/atlassian/
|
|
[root@bitbucket ~]# chown -R atlbitbucket. /var/atlassian/
|
|
[root@bitbucket ~]# /etc/init.d/atlbitbucket stop
|
|
[root@bitbucket ~]# cd /opt/soft
|
|
[root@bitbucket soft]# tar -xf mysql-connector-java-5.1.48.tar.gz
|
|
[root@bitbucket soft]# cd mysql-connector-java-5.1.48/
|
|
[root@bitbucket soft]# cp mysql-connector-java-5.1.48/*.jar /opt/atlassian/bitbucket/6.10.1/app/WEB-INF/lib/
|
- 将Agent加入到系统环境变量中,保证系统中无其他JAVA运行程序,不然不要将下面的参数添加到
/etc/profile
[root@bitbucket ~]# vim /etc/profile
|
|
export JAVA_OPTS="-javaagent:/opt/atlassian-agent/atlassian-agent.jar ${JAVA_OPTS}"
|
|
[root@bitbucket ~]# source /etc/profile
|
3、启动Bitbucket
[root@bitbucket bin]# /etc/init.d/atlbitbucket start
|
- 检查启动进程中是否包含-javaagent参数
[root@bitbucket bin]# ps -ef|grep java
|
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-207.png?pt=5&ek=1&kp=1&sce=0-12-12)
4、配置Bitbucket
- 浏览器访问:http://192.168.66.17:7990/
- 注意:Bitbucket默认不能选择中文语言,需要自己下载中文包
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-208.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-209.png?pt=5&ek=1&kp=1&sce=0-12-12)
5、获取KEY
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-210.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-211.png?pt=5&ek=1&kp=1&sce=0-12-12)
6、配置管理员
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-212.png?pt=5&ek=1&kp=1&sce=0-12-12)
7、最后配置
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-213.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-214.png?pt=5&ek=1&kp=1&sce=0-12-12)
8、验证状态
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-215.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-216.png?pt=5&ek=1&kp=1&sce=0-12-12)
9、获取插件KEY
- 进入应用商店
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-217.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 点击立即购买进行安装,不要点击免费试用
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-218.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-219.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-220.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-221.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 获取该应用的秘钥,然后进行获取KEY
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-222.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-223.png?pt=5&ek=1&kp=1&sce=0-12-12)
[root@bitbucket ~]# java -jar /opt/atlassian-agent/atlassian-agent.jar -m dqzboy@xxxx -n dqzboy.com -p ch.mibex.stash.sonar4stash -o http://192.168.66.17:7990 -s BXJG-KTCY-Z2H8-1POG
|
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-224.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-225.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-226.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 授权成功
六、部署破解Crucible
1、部署Crucible
下载地址:https://www.atlassian.com/zh/software/crucible/download
- 上传至服务器并解压
[root@crucible ~]# unzip crucible-4.8.2.zip -d /usr/local
|
![](https://www.dqzboy.com/wp-content/uploads/2020/04/image-39.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 修改监听端口
[root@crucible ~]# cd /usr/local/fecru-4.8.2/
|
![](https://www.dqzboy.com/wp-content/uploads/2020/04/image-38.png?pt=5&ek=1&kp=1&sce=0-12-12)
2、配置Agent
- 上传破解程序到/opt/atlassian-agent/
[root@crucible ~]# mkdir -p /opt/atlassian-agent/
|
- 修改Crucible配置,添加agent程序至启动程序中
[root@crucible ~]# cd /usr/local/fecru-4.8.2/bin/
|
|
FISHEYE_JVM_FLAGS="-Dfisheye.library.path=$FISHEYE_LIBRARY_PATH -Dfisheye.inst=$FISHEYE_INST -Djava.awt.headless=true -Djava.endorsed.dirs=$FISHEYE_HOME/lib/endorsed -javaagent:/opt/atlassian-agent/atlassian-agent.jar"
|
![](https://www.dqzboy.com/wp-content/uploads/2020/04/image-40.png?pt=5&ek=1&kp=1&sce=0-12-12)
3、启动Crucible
[root@crucible bin]# pwd
|
|
/usr/local/fecru-4.8.2/bin
|
|
[root@crucible bin]# ./start.sh
|
- 验证Cruc来源(Source):www.dqzboy.comible启动程序中是否已经存在了agent程序
![](https://www.dqzboy.com/wp-content/uploads/2020/04/image-41.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 放通8060端口
[root@crucible bin]# firewall-cmd --permanent --zone=public --add-port=8060/tcp
|
|
[root@crucible bin]# firewall-cmd --reload
|
4、访问Crucible
- 通过浏览器访问:IP:8060
![](https://www.dqzboy.com/wp-content/uploads/2020/04/image-42.png?pt=5&ek=1&kp=1&sce=0-12-12)
5、生成激活密钥
[root@crucible ~]# java -jar /opt/atlassian-agent/atlassian-agent.jar -m dqzboy@xxxx -n dqzboy.com -p crucible -o http://192.168.66.15:8060 -s BYEL-FELN-VQVO-8QTW
|
![](https://www.dqzboy.com/wp-content/uploads/2020/04/image-43.png?pt=5&ek=1&kp=1&sce=0-12-12)
- 复制key到程序进行激活
![](https://www.dqzboy.com/wp-content/uploads/2020/04/image-44.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/04/image-45.png?pt=5&ek=1&kp=1&sce=0-12-12)
6、安装Crucible
![](https://www.dqzboy.com/wp-content/uploads/2020/04/image-46.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/04/image-47.png?pt=5&ek=1&kp=1&sce=0-12-12)
![](https://www.dqzboy.com/wp-content/uploads/2020/04/image-48.png?pt=5&ek=1&kp=1&sce=0-12-12)
七、注意事项
7.1:之前已经部署激活过程序
- 注意:
- 如果你之前已经通过其他方式破解了主程序,现在你添加本文中的java参数变量后程序会起不来,通常看日志里会报License问题,原因在于你之前已经录进了一些license,而这license与现在的agent冲突,解决的办法是:根据日志里报出的license,你去你的数据库里搜,找到并删除,之后重启程序进入系统后,用本文生成插件KEY的方法重新获取,然后输入就可以了
- 数据库中查询JIRA的授权许可证
mysql> use jira
|
|
#下面是针对的是JIRA 7.0.5及更高版本
|
|
mysql> SELECT * FROM productlicense\G;
|
|
*************************** 1. row ***************************
|
|
ID: 10100
|
|
LICENSE: xxxxx...
|
- 更新授权许可证
- 1、停止JIRA。
- 2、执行上面的语句找到要修改的ID
- 3、执行下面的语句进行更新授权
#JIRA 7.0.4及更高版本
|
|
mysql> update productlicense set license ='<license_string>' WHERE id= <id_from_step_2>;
|
7.2:日志提示MySQL是否需SSL连接
日志截图:
![](https://www.dqzboy.com/wp-content/uploads/2020/03/image-227.png?pt=5&ek=1&kp=1&sce=0-12-12)
解决方案:
#JIRA修改配置文件如下
|
|
[root@jira ~]# vim /var/atlassian/application-data/jira/dbconfig.xml
|
|
<url>jdbc:mysql://address=(protocol=tcp)(host=localhost)(port=3306)/jiradb?sessionVariables=default_storage_engine=InnoDB</url>
|
|
##改为##
|
|
<url>jdbc:mysql://address=(protocol=tcp)(host=localhost)(port=3306)/jiradb?useSSL=false&sessionVariables=default_storage_engine=InnoDB</url>
|
|
#confluence修改配置文件如下
|
|
[root@confluence ~]# vim /var/atlassian/application-data/confluence/confluence.cfg.xml
|
|
<property name="hibernate.connection.url">jdbc:mysql://localhost:3306/confluence</property>
|
|
##改为##
|
|
<property name="hibernate.connection.url">jdbc:mysql://localhost:3306/confluence?useSSL=false</property>
|
|
#更改之后重启服务
|
声明:
- 本文所使用的破解程序为大佬【Neo Peng】开源的atlassian-agent项目。该项目为个人学习研究之⽤,不得用于商业用途!
- 本文提供的破解方法和程序只做个人学习研究之⽤,不得⽤于商业用途!
- 商业使⽤请向Atlassian购买正版,谢谢合作!
浅时光博客 版权所有,如未注明,均为原创,转载请注明
本文链接:https://www.dqzboy.com/atlassian全家桶以及插件破解详细教程/
本文标题:Atlassian全家桶以及插件破解详细教程
如有疑问:请转到这里联系我
本文链接:https://www.dqzboy.com/atlassian全家桶以及插件破解详细教程/
本文标题:Atlassian全家桶以及插件破解详细教程
如有疑问:请转到这里联系我