# jira-confluence-mysql **Repository Path**: simo/jira-confluence-mysql ## Basic Information - **Project Name**: jira-confluence-mysql - **Description**: jira confluence破解部署 docker-compose 启动 在v1.0.0 tag上 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 5 - **Created**: 2022-04-28 - **Last Updated**: 2022-04-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 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://gitee.com/leoss/jira/raw/master/img/hack.jpg) ![设置](https://gitee.com/leoss/jira/raw/master/img/set-key.jpg) ### 参考文章 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