Jira8.x版本安装与破解
目录
[TOC]
1、软件下载
[root@ecs-9b93-0009 mnt]# wget -f https://product-downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-8.5.1-x64.bin
2、软件安装
[root@ecs-9b93-0009 ~]# ./atlassian-jira-software-8.5.1-x64.bin
Unpacking JRE ...
Starting Installer ...
This will install JIRA Software 8.5.1 on your computer.
OK [o, Enter], Cancel [c]
Click Next to continue, or Cancel to exit Setup.
Choose the appropriate installation or upgrade option.
Please choose one of the following:
Express Install (use default settings) [1], Custom Install (recommended for advanced users) [2, Enter], Upgrade an existing JIRA installation [3]
Select the folder where you would like JIRA Software to be installed.
Where should JIRA Software be installed?
[/opt/atlassian/jira]
/data/home/jira/soft
Default location for JIRA Software data
[/var/atlassian/application-data/jira]
/data/home/jira/data
Configure which ports JIRA Software will use.
JIRA requires two TCP ports that are not being used by any other
applications on this machine. The HTTP port is where you will access JIRA
through your browser. The Control port is used to startup and shutdown JIRA.
Use default ports (HTTP: 8080, Control: 8005) - Recommended [1, Enter], Set custom value for HTTP and Control ports [2]
JIRA can be run in the background.
You may choose to run JIRA as a service, which means it will start
automatically whenever the computer restarts.
Install JIRA as Service?
Yes [y, Enter], No [n]
Details on where JIRA Software will be installed and the settings that will be used.
Installation Directory: /data/home/jira/soft
Home Directory: /data/home/jira/data
HTTP Port: 8080
RMI Port: 8005
Install as service: Yes
Install [i, Enter], Exit [e]
Extracting files ...
Please wait a few moments while JIRA Software is configured.
Installation of JIRA Software 8.5.1 is complete
Start JIRA Software 8.5.1 now?
Yes [y, Enter], No [n]
Please wait a few moments while JIRA Software starts up.
Launching JIRA Software ...
Installation of JIRA Software 8.5.1 is complete
Your installation of JIRA Software 8.5.1 is now ready and can be accessed
via your browser.
JIRA Software 8.5.1 can be accessed at http://localhost:8080
Finishing installation ...
3、破解JIRA
3.1、下载破解文件
::: alert-info
打开 https://gitee.com/pengzhile/atlassian-agent/releases 下载 atlassian-agent.jar
将其下载到服务器某个目录下
:::
3.2、停止服务
[root@ecs-9b93-0009 mnt]# cd /data/home/jira/soft/bin/
[root@ecs-9b93-0009 bin]# ./shutdown.sh
`sMMMMMMMMMMMMMM+
MMMMMMMMMMMMMM
:sdMMMMMMMMMMM
MMMMMM
`sMMMMMMMMMMMMMM+ MMMMMM
MMMMMMMMMMMMMM +MMMMM
:sMMMMMMMMMMM MMMMM
MMMMMM `UOJ
`sMMMMMMMMMMMMM+ MMMMMM
MMMMMMMMMMMMMM +MMMMM
:sdMMMMMMMMMM MMMMM
MMMMMM `UOJ
MMMMMM
+MMMMM
MMMMM
`UOJ
Atlassian Jira
Version : 8.5.1
If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at https://docs.atlassian.com/jira/jadm-docs-085/Troubleshooting+installation
Server startup logs are located in /data/home/jira/soft/logs/catalina.out
Using CATALINA_BASE: /data/home/jira/soft
Using CATALINA_HOME: /data/home/jira/soft
Using CATALINA_TMPDIR: /data/home/jira/soft/temp
Using JRE_HOME: /data/home/jira/soft/jre/
Using CLASSPATH: /data/home/jira/soft/bin/bootstrap.jar:/data/home/jira/soft/bin/tomcat-juli.jar
Using CATALINA_PID: /data/home/jira/soft/work/catalina.pid
Tomcat stopped.
3.3、添加mysql驱动
# 下载mysql驱动包 mysql-connector-java-5.1.48-bin.jar
[root@ecs-9b93-0009 mysql-connector-java-5.1.48]# cp mysql-connector-java-5.1.48-bin.jar /data/home/jira/soft/atlassian-jira/WEB-INF/lib/
3.4、修改jira配置文件
[root@ecs-9b93-0009 mnt]# cd /data/home/jira/soft/bin/
[root@ecs-9b93-0009 bin]# vi setenv.sh
## 添加 export JAVA_OPTS="-javaagent:/data/home/jira/atlassian-agent.jar ${JAVA_OPTS}"
3.5、启动服务
[root@ecs-9b93-0009 mnt]# cd /data/home/jira/soft/bin/
[root@ecs-9b93-0009 bin]# ./start-jira.sh
To run JIRA in the foreground, start the server with start-jira.sh -fg
executing using dedicated user: jira
`sMMMMMMMMMMMMMM+
MMMMMMMMMMMMMM
:sdMMMMMMMMMMM
MMMMMM
`sMMMMMMMMMMMMMM+ MMMMMM
MMMMMMMMMMMMMM +MMMMM
:sMMMMMMMMMMM MMMMM
MMMMMM `UOJ
`sMMMMMMMMMMMMM+ MMMMMM
MMMMMMMMMMMMMM +MMMMM
:sdMMMMMMMMMM MMMMM
MMMMMM `UOJ
MMMMMM
+MMMMM
MMMMM
`UOJ
Atlassian Jira
Version : 8.5.1
If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at https://docs.atlassian.com/jira/jadm-docs-085/Troubleshooting+installation
Server startup logs are located in /data/home/jira/soft/logs/catalina.out
Using CATALINA_BASE: /data/home/jira/soft
Using CATALINA_HOME: /data/home/jira/soft
Using CATALINA_TMPDIR: /data/home/jira/soft/temp
Using JRE_HOME: /data/home/jira/soft/jre/
Using CLASSPATH: /data/home/jira/soft/bin/bootstrap.jar:/data/home/jira/soft/bin/tomcat-juli.jar
Using CATALINA_PID: /data/home/jira/soft/work/catalina.pid
Tomcat started.
4、配置
4.1、基础配置
image.png
image.png
image.png
image.png
4.2、授权配置
java -jar atlassian-agent.jar -p jira -m aaa@bbb.com -n my_name -o https://zhile.io -s ABCD-1234-EFGH-5678 # 生成的许可证,直接复制于jira页面提交即可
-p jira(安装的是jira产品),具体的可以根据-p进行参考
-m aaa@bbb.com(随意写)
-n my_name(随意写)
-o https://zhile.io (随意写)
-s B3N1-KDPW-IYEI-14CE (即jira显示的服务器ID)