1 Star 10 Fork 5

wangjiang988/jira-confluence-mysql

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
img
Dockerfile
LICENSE
README.MD
atlassian-agent.jar
docker-compose.yml
克隆/下载
README.MD 2.73 KB
一键复制 编辑 原始数据 按行查看 历史
wangjiang988 提交于 3年前 . update README.MD.

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

Loading...
马建仓 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

搜索帮助