【jira】jira8.22.0安装破解步骤
1. 官网
https://www.atlassian.com/software/jira/guides
https://docs.atlassian.com/software/jira/docs/api/
2. 安装mysql
https://www.cnblogs.com/fireblackman/p/15692363.html
3. 下载jira
wget https://downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-8.22.0-x64.bin
4. 创建jira数据库
mysql -h localhost -u root -p
create database jira default character set utf8 collate utf8_bin; CREATE USER 'jira'@'localhost' IDENTIFIED BY 'jirapasswd'; GRANT ALL PRIVILEGES ON jira.* TO 'jira'@'localhost' WITH GRANT OPTION; FLUSH PRIVILEGES;
如果配置的时候报错,不支持的编码和字符集,执行下面修改一下
ALTER DATABASE `jira` DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE utf8mb4_0900_ai_ci;
5. 安装jira, 根据提示对应选择即可
chmod 755 ./atlassian-jira-software-8.22.0-x64.bin sudo ./atlassian-jira-software-8.22.0-x64.bin
6. 初始化数据库
http://192.168.10.99:8070/secure/SetupDatabase.jspa
7. 查询mysql版本,下载mysql-connector-java-8.0.28.jar
(备注:建议要下载和数据库版本一致的驱动包,不然可能连不上数据库哦)
下载链接:https://repo1.maven.org/maven2/mysql/mysql-connector-java/
mysql --version sudo cp mysql-connector-java-8.0.28.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/
可能会有权限问题
sudo chmod 755 /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/mysql-connector-java-8.0.28.jar
8. 停止jira进程
cd /opt/atlassian/jira/ sudo ./bin/shutdown.sh
9. 下载破解文件, 并且解压放到home目录, 不要删除
https://gitee.com/pengzhile/atlassian-agent/releases/v1.3.1
https://github.com/qinyuxin99/atlassian-agent
上面破解文件失效了,需要自己去github或者gitee搜索下载
10. 修改jira安装目录bin目录下的setenv.sh, 加入
export JAVA_OPTS="-javaagent:/data/home/jira/atlassian-agent.jar ${JAVA_OPTS}"
sudo vim setenv.sh
11. 重新启动jira
sudo ./bin/start-jira.sh
12. 开始初始化配置
省略一些步骤
到这一步时,记住你的Server ID
13. 使用atlassian-agent.jar 生成license
参数介绍
$ java -jar atlassian-agent.jar ==================================================== ======= Atlassian Crack Agent v1.3.1 ======= ======= https://zhile.io ======= ======= QQ Group: 30347511 ======= ==================================================== KeyGen usage: java -jar /home/master/atlassian-agent-v1.3.1/atlassian-agent.jar [-d] [-h] -m <arg> [-n <arg>] -o <arg> -p <arg> -s <arg> -d,--datacenter Data center license[default: false] -h,--help Print help message -m,--mail <arg> License email -n,--name <arg> License name[default: <license email>] -o,--organisation <arg> License organisation -p,--product <arg> License product, support: [crowd: Crowd] [jsm: JIRA Service Management] [questions: Questions plugin for Confluence] [crucible: Crucible] [capture: Capture plugin for JIRA] [conf: Confluence] [training: Training plugin for JIRA] [*: Third party plugin key, looks like: com.foo.bar] [bitbucket: Bitbucket] [tc: Team Calendars plugin for Confluence] [bamboo: Bamboo] [fisheye: FishEye] [portfolio: Portfolio plugin for JIRA] [jc: JIRA Core] [jsd: JIRA Service Desk] [jira: JIRA Software(common jira)] -s,--serverid <arg> License server ID ================================================================================ # Crack agent usage: append -javaagent arg to system environment: JAVA_OPTS. # Example(execute this command or append it to setenv.sh/setenv.bat file): export JAVA_OPTS="-javaagent:/home/master/atlassian-agent-v1.3.1/atlassian-agent.jar ${JAVA_OPTS}" # Then start your confluence/jira server.
14. 将13步生成的license复制到12步的license框里,然后下一步验证
剩余步骤参考如下
https://www.cnblogs.com/fireblackman/p/15933344.html
至此完成
以上用于学习,请勿使用商业用途,如有侵权,请联系删除
参考链接:
https://www.jianshu.com/p/9ca92a191f36
https://gitee.com/pengzhile/atlassian-agent/releases/v1.3.1
https://github.com/qinyuxin99/atlassian-agent
https://www.cnblogs.com/fireblackman/p/15933344.html