JIRA是Atlassian公司出品的项目与事务跟踪工具,被广泛应用于缺陷跟踪、客户服务、需求收集、流程审批、任务跟踪、项目跟踪和敏捷管理等工作领域。
JIRA中配置灵活、功能全面、部署简单、扩展丰富,其超过150项特性得到了全球115个国家超过19,000家客户的认可。
一、本实验环境
centos6.8
jira6.3.6
mysql-5.6
jdk1.7
service iptables stop //关闭防火墙
sed -i "s/enforcing/disabled/g" /etc/selinux/config //关闭selinux
安装包下载链接:https://pan.baidu.com/s/1CYV6vWJodMKtqj_QJxGHZQ
1. 安装jdk环境
[root@centos6 tools]# rpm -ivh jdk-7u79-linux-x64.rpm
[root@jira tools]# java -version
java version "1.7.0_79"
Java(TM) SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
2.安装mysql
采用yum源安装
[root@jira tools]# rpm -ivh mysql-community-release-el6-5.noarch.rpm
[root@jira tools]# yum -y install mysql-server
[root@jira tools]# rpm -qa|grep mysql
mysql-community-release-el6-5.noarch
mysql-community-libs-5.6.45-2.el6.x86_64
mysql-community-client-5.6.45-2.el6.x86_64
mysql-community-common-5.6.45-2.el6.x86_64
mysql-community-libs-compat-5.6.45-2.el6.x86_64
mysql-community-server-5.6.45-2.el6.x86_64
###修改root密码
mysql> set password for 'root'@'localhost'=PASSWORD('Password123');
mysql> flush privileges;
###创建jira数据库,以及授权
mysql> create database jira default character set utf8;
mysql> grant all privileges on jira.* to jira @'localhost' identified by '123456';mysql> flush privileges;
3.安装JIRA
###下载安装jira6.3.6
[root@jira tools]# mkdir /opt/tools/ //创建软件包存放目录
[root@jira tools]# wget http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-6.3.6.tar.gz
[root@jira tools]# tar xf atlassian-jira-6.3.6.tar.gz
[root@jira tools]# mv atlassian-jira-6.3.6-standalone /usr/local/jira
###创建JIRA安装目录
[root@jira tools]# mkdir -p /data/jira
###配置JIRA-home
[root@jira tools]# cd /usr/local/jira
[root@jira jira]# vi atlassian-jira/WEB-INF/classes/jira-application.properties jira.home = /data/jira
###安装mysql的JDBC驱动
上传mysql-connector-java-5.1.25-bin.jar包到/usr/local/jira/atlassian-jira/WEB-INF/lib目录下
启动jira
/usr/local/jira/bin/start-jira.sh
停止jira
/usr/local/jira/bin/stop-jira.sh
Web界面配置
1. 在浏览器中访问http://ip:8080
2.配置完数据库后点击next,需要点时间,不要慌耐心等待。
如上图所示,填写邮箱信息后显示unable to reach my.atlassian.com
进入链接my.arlassian.com,创建账号,生成license
复制License Key 到下图
邮箱稍后设置
安装完成了!!!
汉化
如上图所示,选择文件JIRA-6.3.6-language-pack-zh_CN上传
上传完成之后,观察是否有报错(我部署的时候没有报错),如果有报错的话,重启jira服务。
汉化完成!!!
破解(破解文件见链接内)
/usr/local/jira/bin/stop-jira.sh ##停掉服务
将破解文件atlassian-extras-2.2.2.jar ,atlassian-universal-plugin-manager-plugin-2.17.13.jar
替换/atlassian-jira/WEB-INF/lib/atlassian-extras-2.2.2.jar
替换/atlassian-jira/WEB-INF/atlassian-bundled-plugins/atlassian-universal-plugin-manager-plugin-2.17.13.jar
[root@jira pojie]# cp atlassian-extras-2.2.2.jar /usr/local/jira/atlassian-jira/WEB-INF/lib/
cp: overwrite `/usr/local/jira/atlassian-jira/WEB-INF/lib/atlassian-extras-2.2.2.jar'?
y
[root@jira pojie]# cp atlassian-universal-plugin-manager-plugin-2.17.13.jar /usr/local/jira/atlassian-jira/WEB-INF/atlassian-bundled-plugins/atlassian-universal-plugin-manager-plugin-2.17.13.jar
cp: overwrite `/usr/local/jira/atlassian-jira/WEB-INF/atlassian-bundled-plugins/atlassian-universal-plugin-manager-plugin-2.17.13.jar'?
y####重启服务
[root@jira pojie]# /usr/local/jira/bin/stop-jira.sh
[root@jira pojie]# /usr/local/jira/bin/start-jira.sh
[root@jira pojie]# netstat -antp |grep :8080
tcp 0 0 :::8080 :::* LISTEN 53119/java
刷新网页
进入到系统===> 授权
将下文的KEY复制到授权码的框里,记得更改相应信息。
Key:
Description=JIRA: Commercial,
CreationDate=2019-07-31, ##创建的日期
jira.LicenseEdition=ENTERPRISE,
Evaluation=false,
jira.LicenseTypeName=Commercial,
jira.active=true,
licenseVersion=2,
MaintenanceExpiryDate=2099-12-31, ##到期时间
Organisation=1246927005@qq.com,
SEN=SEN-L14014886, ##需要与上图显示的一致
ServerID=BNC9-RQ29-5Z1F-K6BR, ##需要与上图显示的一致
jira.NumberOfUsers=-1,LicenseID=AAABWA0ODAoPeNp1kVFPgzAQx9/5FCS+6EMXqAzHkiZuUBOUsQnog/GldrethgGWsrhvbwdOp9uSvlzv7n+//91FtmrMUbM0LdvEeOjg4bVr+kFmYsv2jLhZv4GcLp5qkDVBtuGXhWJcxWwNxMaO6+Eby+rffnz0eLk23oVkvUqW84ar3i5AvJTQO1Jp645+Z43kK1ZDwBSQ3XhkDZCFjUhwKGrIthW0c/3pZEITPxxF+xT9rITcHvTp98NKJ0zkJ2BTkBuQYUDGse+h5BF7qP9i36EHd5ycc5IqJhVIsmB5DV3RHmEulCgLQuOMJrMkTOk5DY0kNkCUbMDQaIWCghX8jIdvdU0ZhUFKYxTZjmU7g4Fr6Ij8/ZnKJStEzVqQY8O+hDb1f795N+NZn2HXiI0Aai5F1crca27T19zmZbewq9ehSTcsb1qtzuShpcOlnDrZb29X/wW379BDMCwCFE/v2TKsNdviRIBe6/2XuEU6XPczAhRFRVEe7mG4Eh+Y+WMsoI+zNHCx/A==X02h1, ##需要与上图显示的一致
LicenseExpiryDate=2099-12-31,
PurchaseDate=2019-07-31
如下图所示破解完成: