1 Star 10 Fork 5

wangjiang988/jira-confluence-mysql

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

JIRA docker安装并破解

步骤

  1. 准备工作 如Dockerfile

    • JIRA --Dockerfile --atlassian-agent.jar
  2. 制作镜像

    docker build -t jira/jira:v7.12.0 .

    结果如下:

    Sending build context to Docker daemon 985.1kB Step 1/4 : FROM cptactionhank/atlassian-jira-software:7.12.0 ---> 1b29859343c2 Step 2/4 : USER root ---> Using cache ---> 31ea501d34b6 Step 3/4 : COPY "atlassian-agent.jar" /opt/atlassian/jira/ ---> ce3a1f7cd53d Step 4/4 : RUN echo 'export CATALINA_OPTS="-javaagent:/opt/atlassian/jira/atlassian-agent.jar ${CATALINA_OPTS}"' >> /opt/atlassian/jira/bin/setenv.sh ---> Running in 88440445ba9e ---> f247b9463dbb Removing intermediate container 88440445ba9e Successfully built f247b9463dbb Successfully tagged jira/jira:v7.12.0

  3. 启动容器

    docker run --detach --publish 8080:8080 jira/jira:v7.12.0

    或者使用

    docker-compose up -d

4 启动并破解

破解重点!!!

复制服务器ID:BY9B-GWD1-1C78-K2DE

在本地存放"atlassian-agent.jar"的目录下执行命令,生成许可证:

# 需替换邮箱(test@test.com)、名称(BAT)、
# 访问地址(http://192.168.0.89)、服务器ID(BY9B-GWD1-1C78-K2DE)
# 为你的信息

java -jar atlassian-agent.jar -d -m test@test.com -n BAT -p jira -o http://192.168.0.89 -s BY9B-GWD1-1C78-K2DE

破解1

设置

参考文章

https://www.jianshu.com/p/b95ceabd3e9d

添加了docker-compose方案

docker-compose up -d


--创建jira数据库及用户
create database jiradb character set 'UTF8';
create user jirauser identified by 'jira';
grant all privileges on *.* to 'jirauser'@'%' identified by 'jira' with grant option;
grant all privileges on *.* to 'jirauser'@'localhost' identified by 'jira' with grant option;
flush privileges;


--创建confluence数据库及用户
create database confdb character set 'UTF8';
create user confuser identified by 'conf';
alter database confdb default collate utf8_bin;
grant all privileges on *.* to 'confuser'@'%' identified by 'conf' with grant option;
grant all privileges on *.* to 'confuser'@'localhost' identified by 'conf' with grant option;
flush privileges;

-- 设置confdb事务级别
show variables like 'tx%';
set session transaction isolation level read committed;
show variables like 'tx%';

java -jar atlassian-agent.jar -d -m test@test.com -n BAT -p conf -o http://192.168.0.89 -s BZP7-KCTN-1F1L-NZUX

jdbc:mysql://mysql/confdb?useUnicode=true&characterEncoding=utf8&useSSL=false

MIT License Copyright (c) 2020 wangjiang988 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

jira confluence破解部署 docker-compose 启动 在v1.0.0 tag上 展开 收起
README
MIT
取消

发行版 (1)

全部
1年前

贡献者

全部

近期动态

不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/leoss/jira-confluence-mysql.git
git@gitee.com:leoss/jira-confluence-mysql.git
leoss
jira-confluence-mysql
jira-confluence-mysql
master

搜索帮助