介绍有关jira的相关安装与破解。
jdk安装1.8版本以上
安装mysql之后,要为jira创建对应的数据库、用户名和密码:
mysql -u root -p 'root用户密码' -e “create database jira default character set utf8 collateutf8_bin;grant all on jira.* to 'jira'@'%' identified by 'jira用户密码';”
或者
mysql -u root -p ‘root用户密码’ :mysql的root账户登录
mysql>create database jira default character set utf8 collateutf8_bin; :创建一个jira数据库
mysql>grant all on jira.* to 'jira'@'%' identified by 'jira用户密码'; :jira用户可以通过任何主机连接到jira数据库
mysql>flush privileges; :使修改生效
1)jira7.2.2安装包下载:
jira7.2.2安装包下载:
wget https://downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-7.2.2-x64.bin
jira7.2破解包下载:
https://page00.ctfile.com/fs/15323800-217439079
jira7.3.8 版本已经不需要下载中文语言包安装包里面已经包含中文,而且jira7.2.2版本的中文语言包,官方已经取消不再提供。
jira7.3.8安装包下载:
wget https://downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-7.3.8-x64.bin
jira7.3.8破解包下载:
https://page00.ctfile.com/fs/15323800-217438995
jira7.3.8破解方法和jira7.2.2一样。
2)开始安装与破解
chmod 755 ./atlassian-jira-software-7.2.2-x64.bin
./atlassian-jira-software-7.2.2-x64.bin
-----------------------------------------------------下面是安装选择:----------------------------------------------------
[root@hdserver5 jira]# ./atlassian-jira-software-7.2.2-x64.bin
Unpacking JRE ...
Starting Installer ...
Aug 29, 2014 3:29:28 PM java.util.prefs.FileSystemPreferences$2 run
INFO: Created system preferences directory in java.home.
This will install JIRA 6.0.1 on your computer.
OK [o, Enter], Cancel [c]
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 (自定义安装)
Where should JIRA 6.0.1 be installed?
[/opt/atlassian/jira]
/usr/local/jira (安装目录)
Default location for JIRA data
[/var/atlassian/application-data/jira]
/usr/local/jira_data (主目录、home目录)
Configure which ports JIRA 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]
1 (使用默认端口,若端口被占用可更改。http端口登陆网页用)
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
Extracting files ...
Please wait a few moments while JIRA starts up.
Launching JIRA ...
Installation of JIRA 6.0.1 is complete
Your installation of JIRA 6.0.1 is now ready and can be accessed via your
browser.
JIRA 6.0.1 can be accessed at http://localhost:8080
--------------------------------------------------------------------------------------------------------------------------------------
现在我们先关闭jira,然后把破解包里面的atlassian-extras-3.1.2.jar和mysql-connector-java-5.1.39-bin.jar(mysql驱动器)两个文件复制到/opt/atlassian/jira/atlassian-jira/WEB-INF/lib/目录下。
其中atlassian-extras-3.1.2.jar是用来替换原来的atlassian-extras-3.1.2.jar文件,用作破解jira系统的。
而mysql-connector-java-5.1.39-bin.jar是用来连接mysql数据库的驱动软件包。
现在再次启动jira
可通过:jira安装目录/bin/start-jira.sh,启动jira服务
3)可登陆 http://localhost:8080 到jira配置页面
登陆配置页面的一些报错:
1.无法显示该网页:
1)可能是服务器防火墙设置过高
2)如果是云上面的系统,也可能是服务器所在的云没有开设8080这个端口,这个要自己添加
2.Configured jira.home '/opt/atlassian/jira' must not be a parent directory of the webapp servlet path '/opt/atlassian/jira/jira-5.2.6/atlassian-jira'.
jira-application.properties
文件并将' jira.home
'属性的值设置 为JIRA主目录所需的位置
server.xml
文件
...
...
3)配置环境变量 export JIRA_HOME=
请注意:如果您为文件和环境变量中jira.home
的属性指定了不同的值,则环境变量的值优先。 3)覆盖2),2)覆盖1)
请注意: 最后将
chmod 777 ./
3.选择自己的Mysql数据库的时候,报错Could not find driver with class name: com.mysql.jdbc.Driver
将 mysql-connector-java-5.1.39-bin.jar(mysql驱动器)两个文件复制到 安装目录/lib 目录下,再重启JIRA后连接试一下。
若还是无法连接,则换一个数据库连接驱动器。
https://github.com/yurii-github/mysql-connector-j/blob/release/5.1/mysql-connector-java-5.1.38-SNAPSHOT-bin.jar
4)jira配置页面破解
参考后半部分: 点击打开链接