Jire破解安装手册

JIRA 介绍


JIRA 是目前比较流行的基于Java架构的管理系统,由于Atlassian公司对很多开源项目实行免费提供缺陷跟踪服务,因此在开源领域,其认知度比其他的产品要高得多,而且易用性也好一些。

JIRA的主要功能


问题追踪和管理:用它管理项目,跟踪任务、bug、需求,通过jira的邮件通知功能进行协作通知,在实际工作中使工作效率提高很多
问题跟进情况的分析报告:可以随时了解问题和项目的进展情况
项目类别管理功能:可以将相关的项目分组管理
组件/模块负责人功能:可以将项目的不同组件/模块指派相应的负责人,来处理所负责的组件的Issues
项目email地址功能:每个项目可以有不同的email(该项目的通知邮件从该地址发出)
无限制的工作流:可以创建多个工作流为不同的项目使用

下载安装包


本教程所用安装包

https://download.csdn.net/download/leenhem/20606795

atlassian-jira-software-8.18.1-x64.bin

# 官网安装包
https://www.atlassian.com/zh/software/jira/download-archives

mysql-connector-java-8.0.26.jar

# 官网安装包
https://downloads.mysql.com/archives/c-j/

安装atlassian-jira


[root@code404.icu confluence]# ./atlassian-jira-software-8.18.1-x64.bin 
Unpacking JRE ...
Starting Installer ...

This will install Jira Software 8.18.1 on your computer.
OK [o, Enter], Cancel [c]
o
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]
1

Details on where Jira Software will be installed and the settings that will be used.
Installation Directory: /opt/atlassian/jira 
Home Directory: /var/atlassian/application-data/jira 
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.18.1 is complete
Start Jira Software 8.18.1 now?
Yes [y, Enter], No [n]
y

Please wait a few moments while Jira Software starts up.
Launching Jira Software ...

Installation of Jira Software 8.18.1 is complete
Your installation of Jira Software 8.18.1 is now ready and can be accessed
via your browser.
Jira Software 8.18.1 can be accessed at http://localhost:8080
Finishing installation ...
#安装完成

配置 Jire


把数据库驱动 mysql-connector 复制到 atlassian/jira/atlassian-jira/WEB-INF/lib/

[root@code404.icu opt]# cp mysql-connector-java-5.1.39-bin.jar atlassian/jira/atlassian-jira/WEB-INF/lib/

把 破解包 atlassian-extras-3.2.jar 复制到 atlassian/jira/atlassian-jira/WEB-INF/lib/ 覆盖原有的 atlassian-extras

[root@code404.icu opt]# cp atlassian-extras-3.2.jar  atlassian/jira/atlassian-jira/WEB-INF/lib/

重启jira


重新启动Jira

[root@code404.icu opt]# /etc/init.d/jira stop
[root@code404.icu opt]# /etc/init.d/jira start

Jira页面安装


  • 打开Jira地址http://xxx.xxx.xxx.xxx:8080/
  • 语言选择 中文
  • 下一步
    在这里插入图片描述

配置完成后,重启jira


重新启动Jira

[root@code404.icu opt]# /etc/init.d/jira stop
[root@code404.icu opt]# /etc/init.d/jira start

回到页面,配置Jira


在这里插入图片描述
  • 设置Title:Jira
  • 设置Mode:Private
  • BaseURL:自己的服务地址
  • 下一步
    在这里插入图片描述

设置管理员


在这里插入图片描述

安装完成


在这里插入图片描述

驱动问题


配置数据库,如果上面的mysql-connector 没有复制到 atlassian/jira/atlassian-jira/WEB-INF/lib/
就会报错 找不到驱动:com.mysql.cj.jdbc.Driver
在这里插入图片描述

数据库 不为空问题


您指定的数据库, 不为空, 请指定空数据库。如果您要升级现有的安装, 请按照< a target=”_blank” href=”https://docs.atlassian.com/jira/jadm-docs-0818/Connecting+Jira+applications+to+a+Database#ConnectingJiraapplicationstoadatabase-UpgradingJiraormigratingJiratoanotherserver?”的这些说明。
这个问题的解决方式 在下面有
在这里插入图片描述

解决数据库 不为空问题


这个数据库配置需要在服务器上来完成
执行 config.sh,根据提示一步一步来配置

[root@oa-redis bin]# sh config.sh 
Loading application properties from /opt/atlassian/jira/atlassian-jira/WEB-INF/classes/jira-application.properties
DB config file '/var/atlassian/application-data/jira/dbconfig.xml' is not created yet - loading database settings as blank.
No graphics display available; using console.
----------------------
JIRA Configurator v1.1
----------------------

--- Main Menu ---
  [H] Configure JIRA Home
  [D] Database Selection
  [W] Web Server (incl. HTTP/HTTPs configuration)
  [A] Advanced Settings
  [S] Save and Exit
  [X] Exit without Saving

Main Menu> d

--- Database Selection ---
  Database Type : H2
  Instance      : (unused)
  Connect As    : sa / (no password)

* [H] H2 (not for production use)
  [M] MySQL 8.0
  [N] MySQL 5.7
  [O] Oracle
  [P] PostgreSQL
  [A] Aurora PostgreSQL 9.6 (DC Only)
  [S] SQL Server (MS-SQL)

  [X] Return to Main Menu

Database Selection [H]> M
MySQL 8.0 Database Configuration.
Hostname ()> 192.168.65.119
Port ()> 3306
Database ()> jire
Username ()> root
Password ()> 
Test Connection  ([Y]/N)? > y
Attempting to connect to 192.168.65.119:3306/jire
Connection successful!

--- Database Selection ---
  Database Type : MySQL 8.0
  Instance      : 192.168.65.119:3306/jire
  Connect As    : root / *****

  [H] H2 (not for production use)
* [M] MySQL 8.0
  [N] MySQL 5.7
  [O] Oracle
  [P] PostgreSQL
  [A] Aurora PostgreSQL 9.6 (DC Only)
  [S] SQL Server (MS-SQL)

  [X] Return to Main Menu

Database Selection [M]> x

--- Main Menu ---
  [H] Configure JIRA Home
  [D] Database Selection
  [W] Web Server (incl. HTTP/HTTPs configuration)
  [A] Advanced Settings
  [S] Save and Exit
  [X] Exit without Saving

Main Menu> s
Storing database configuration in /var/atlassian/application-data/jira/dbconfig.xml
Settings saved successfully.

版权声明:本文为作者原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。

原创文章,作者:老C,如若转载,请注明出处:https://www.code404.icu/1023.html

发表评论

登录后才能评论