Jira 破解版 Docker 部署

> [关注我的个人BLOG,查看更详细的文章信息](http://zkheo.top)
# 初始化数据库
```sql
mysql> CREATE DATABASE jiradb CHARACTER SET utf8mb4 COLLATE utf8mb4_bin;
mysql> CREATE USER 'jira'@'%' IDENTIFIED BY 'jira';
mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,REFERENCES,ALTER,INDEX on jiradb.* TO 'jira'@'%';
mysql> flush privileges;
```
# 下载破解文件
[前往下载](https://www.aliyundrive.com/s/ha8jiTLY7rY)
# 制作Docker镜像
```bash
FROM cptactionhank/atlassian-jira-software:latest
USER root
# 将代理破解包加入容器
COPY "atlassian-agent.jar" /opt/atlassian/jira/
# 设置启动加载代理包
RUN echo 'export CATALINA_OPTS="-javaagent:/opt/atlassian/jira/atlassian-agent.jar ${CATALINA_OPTS}"' >> /opt/atlassian/jira/bin/setenv.sh
```
> 将Dockerfile与破解文件放在同一目录
# 构建镜像
```bash
docker build -t wangzan18/jira:latest .
```
# 启动容器
```bash
docker run -d --name jira \
    --restart always \
    -p 8088:8080 \
    -e TZ="Asia/Shanghai" \
    -v /root/jira/data:/var/atlassian/jira \
    wangzan18/jira:latest
```
## 访问 Jira
访问: [ip:8088]{.label}
![](https://gitee.com/zkphone/img-bed/raw/master/img/20211109111401.png)

## 可选择自定义数据库
![](https://gitee.com/zkphone/img-bed/raw/master/img/20211109111422.png)
### Mysql驱动配置
> 将Mysql驱动 [mysql-connector-java-8.0.26.jar]{.label .info} 拷贝到容器

[前往下载](https://www.aliyundrive.com/s/PsqSaVTrA4k)
#### 将MySQL驱动拷贝到容器
```bash
docker cp mysql-connector-java-8.0.26.jar jira:/opt/atlassian/jira/lib
```
配置完成后重启容器
```bash
docker restart jira
```
刷新页面,再次尝试连接即可成功

# 授权破解
![](https://gitee.com/zkphone/img-bed/raw/master/img/20211109111436.png)
:::warning no-icon
复制服务器ID,在存放atlassian-agent.jar的目录下执行命令,生成许可证:
[邮箱 -m]{.label .info}:随意
[名称 -n]{.label .info}:随意
[访问地址 -o]{.label .info}:你的jira访问地址
[服务器ID -s]{.label .info}:刚刚复制的服务器ID
:::
```bash
java -jar atlassian-agent.jar \
    -d -m [email protected] -n DEV -p jira \
    -o http://116.196.xxx.xxx:8080/ -s BKRG-CCI9-7V19-1M3C

====================================================
=======        Atlassian Crack Agent         =======
=======           https://zhile.io           =======
=======          QQ Group: 30347511          =======
====================================================

Your license code(Don't copy this line!!!):

AAABrQ0ODAoPeJyNkltvm0AQhd/5FUh93jXrCzGWkJIutKIFuwqO39d4HLbCC51dnDi/voshai6WV
YmXRXPOfHNmvnxD6f4QymUzl/mLibdgU5fna3fsjZnziACqrJsGkKayAKVhfWpgKQ4Q8lWWxfc8u
UsdjiCMrFUkDISdkHiMsJlzRRKBLlA2nSp8UJU8SAM7t+oF7vbklsY0ejEavZSyAiprJxNSGVBCF
RA/NxJPQ7d5QLwb+zm/JYpXyngne+tlmmTJOo6cZXvYAq72DxpQh4S9wl3xarDetYWh3YPoem+eB
AL9ZHSlVhRGHiE02MK7LN/+vyK3VIKDnRr70iGejW3cDTd28nb7L8ZzSXwUVXteRrgXlR7sPxqt8
FEoqfu6LmkbNGM+ZYFP/RkdT+eLuTf3Rg6vlbGwsQ2/Cp9A/mkVLeHW7uG5qOp2R4v60Le4HMt/D
pobgR1cjzxsJonCNInyeElS5jPPD4Ipm3r+5N2iL91WDngEtPKvP++/E86TgNxsWEBYNuGXTvrzs
fxqsSiFho8H/VZ8jrNBqYfxLGh4AXZI8MwYxZu/MDEraDAsAhRSj05h4SNNiYw3KTM1pV2N1P6zo
QIUHlNSQqah665emljexRRdKhfkAj8=X02kk
```
> 将生成的许可证复制到页面,完成破解。

![](https://gitee.com/zkphone/img-bed/raw/master/img/20211109111514.png)
 

你可能感兴趣的:(部署搭建,后端,前端,jira,docker,容器)