jira-安装及破解

安装jira

JIRA是Atlassian公司出品的项目与事务跟踪工具,被广泛应用于缺陷跟踪、客户服务、需求收集、流程审批、任务跟踪、项目跟踪和敏捷管理等工作领域。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
下载包:

wget https://product-downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-7.13.0-x64.bin
[root@YZSJHL82-204 ~]# chmod +x atlassian-jira-software-7.13.0-x64.bin
[root@YZSJHL82-204 ~]# ./atlassian-jira-software-7.13.0-x64.bin
Unpacking JRE ...
Starting Installer ...
十月 23, 2018 4:38:25 下午 java.util.prefs.FileSystemPreferences$1 run
信息: Created user preferences directory.
十月 23, 2018 4:38:25 下午 java.util.prefs.FileSystemPreferences$2 run
信息: Created system preferences directory in java.home.
This will install JIRA Software 7.4.1 on your computer.
OK [o, Enter], Cancel [c]
o #按o安装
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]
2 #2为自定义安装
Where should JIRA Software be installed?
[/opt/atlassian/jira]
/usr/local/atlassina/jira #自定义安装目录
Default location for JIRA Software data
[/var/atlassian/application-data/jira]
/usr/local/atlassina/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]
2 #2为自定义端口
HTTP Port Number
[8080] #8080为默认端口
8050 #http连接端口
Control Port Number
[8005]
8040 #控制端口
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]
y #是否开机自启
Details on where JIRA Software will be installed and the settings that will be used.
Installation Directory: /usr/local/atlassina/jira
Home Directory: /usr/local/atlassina/jira_data
HTTP Port: 8050
RMI Port: 8040
Install as service: Yes
Install [i, Enter], Exit [e]
i #确认已选配置
Extracting files ...
Please wait a few moments while JIRA Software is configured.
Installation of JIRA Software 7.4.1 is complete
Start JIRA Software 7.4.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 7.4.1 is complete
Your installation of JIRA Software 7.4.1 is now ready and can be accessed
via your browser.
JIRA Software 7.4.1 can be accessed at http://localhost:8050
Finishing installation ...

浏览器访问jira,地址为:http://IP:8050 请自行修改IP和端口。如果可以访问,说明安装成功。

配置数据库及密码


在mySQL上创建用户及库做授权

1
2
3
create database jira_new;
grant all privileges on *.* to jira@'10.4.82.204' identified by 'jira';
flush privileges;

在授权完用户我们不可以马上填写信息,需要添加MySQL的一个jra包,否则下一步会提示找不到mysql的驱动

wget https://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.1.46.zip

1
2
3
4
5
6
7
停止jira
[root@YZSJHL82-204 ~]# /etc/init.d/jira stop
上传软件包
[root@YZSJHL82-204 ~]# cp mysql-connector-java-5.1.46-bin.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/
启动jira
[root@YZSJHL82-204 ~]# /etc/init.d/jira start
注意防火墙

安装完数据库插件即可下一步:

设置jira主题

因为第一次安装,我们需要去jira官网注册用户,获取授权码 (免费30天,安装后更换破解即可)

保存好服务器ID,进入atlassian官网获取试用许可证,下边附上注册地址:

注册官网:https://my.atlassian.com

或使用以下地址:

https://id.atlassian.com/signup?application=mac&continue=https://my.atlassian.com

登陆账号后,选择New Evaluation License

设置管理员用户:


官网注册的账号只可以免费试用30天,所以当我们安装完需要尽快进行破解

破解jira

https://download.csdn.net/download/lbwahoo/10030807

1
2
3
4
5
6
7
停止jira
[root@YZSJHL82-204 ~]# /etc/init.d/jira stop
进入安装目录下的atlassian-jira/WEB-INF/lib/目录下,用破解包atlassian-extras-3.2.jar替换原来的包。并将mysql连接驱动复制到此目录下。
[root@YZSJHL82-204 ~]# cp atlassian-extras-3.2.jar /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/
启动jira
[root@YZSJHL82-204 ~]# /etc/init.d/jira start
注意防火墙

配置数据库连接地址

1
2
/var/atlassian/application-data/jira/dbconfig.xml
#此路径为默认路径
Donate