首页:https://www.atlassian.com/
https://www.atlassian.com/software/jira/core
JIRA Core各个版本下载地址(目前最新版是7.3.6):https://www.atlassian.com/software/jira/core/update
JIRA7.2 for Linux官方安装手册:https://confluence.atlassian.com/adminjiraserver072/installing-jira-applications-on-linux-828787555.html
安装前准备
环境:
Centos 6.8
JIRA Core server 7.2.2
mysql 5.6.36
服务器内存建议大于3G
安装JIRA7.2所需要的系统配置:https://confluence.atlassian.com/adminjiraserver072/supported-platforms-828787550.html
#安装JIRA对环境的要求 Mysql = 5.5,5.6 JDK = 1.8 ≠ Java 1.8.0_25 and 1.8.0_31 and Java 1.8.0_45 Tomcat = 8.0.33 #不支持单个tomcat部署多个Atlassian应用
JIRA需要依赖JAVA环境,因此我们需要安装jdk,且需要jdk 1.8以上
[root@localhost ~]# java -version java version "1.8.0_20" Java(TM) SE Runtime Environment (build 1.8.0_20-b26) Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode) [root@localhost ~]#
JIRA关于Mysql的配置说明:https://confluence.atlassian.com/adminjiraserver072/connecting-jira-applications-to-mysql-828787562.html除此之外,JIRA需要使用外部数据库,JIRA支持PostgreSQL, Oracle, MySQL, SQL Server,这里我们选择Mysql
Mysql 5.6 Yum源(rpm):点击下载
#安装并配置Mysql数据库 [root@localhost ~]# yum -y install http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm [root@localhost ~]# yum -y install mysql-community-server.x86_64 mysql-community-devel.x86_64 mysql-community-client.x86_64 [root@localhost ~]# /etc/init.d/mysqld start [root@localhost ~]# /usr/bin/mysqladmin -u root password \'123456\' [root@localhost ~]# chkconfig mysqld on [root@localhost ~]# grep -iA6 confluence /etc/my.cnf [mysqld] ... #confluence configure character-set-server=utf8 collation-server=utf8_bin default-storage-engine=INNODB max_allowed_packet=256M innodb_log_file_size=2GB transaction-isolation=READ-COMMITTED [root@localhost ~]# [root@localhost ~]# /etc/init.d/mysqld restart
[root@localhost ~]# mysql -uroot -p123456 mysql> CREATE DATABASE jiradb CHARACTER SET utf8 COLLATE utf8_bin; mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER,INDEX on jiradb.* TO \'jir a\'@\'localhost\' IDENTIFIED BY \'jirapass\'; mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER,INDEX on jiradb.* TO \'jir a\'@\'192.168.31.117\' IDENTIFIED BY \'jirapass\'; mysql> FLUSH PRIVILEGES; mysql> SHOW GRANTS FOR \'jira\'@\'localhost\'; +-------------------------------------------------------------------------------------------------------------+ | Grants for jira@localhost | +-------------------------------------------------------------------------------------------------------------+ | GRANT USAGE ON *.* TO \'jira\'@\'localhost\' IDENTIFIED BY PASSWORD \'*F6300EC05CFE78CF8A64ADD7EB065178DEC0B866\' | | GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON `jiradb`.* TO \'jira\'@\'localhost\' | +-------------------------------------------------------------------------------------------------------------+ 2 rows in set (0.00 sec) mysql> SHOW GRANTS FOR \'jira\'@\'192.168.31.117\'; +------------------------------------------------------------------------------------------------------------------+ | Grants for jira@192.168.31.117 | +------------------------------------------------------------------------------------------------------------------+ | GRANT USAGE ON *.* TO \'jira\'@\'192.168.31.117\' IDENTIFIED BY PASSWORD \'*F6300EC05CFE78CF8A64ADD7EB065178DEC0B866\' | | GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON `jiradb`.* TO \'jira\'@\'192.168.31.117\' | +------------------------------------------------------------------------------------------------------------------+ 2 rows in set (0.00 sec) mysql> \\q [root@localhost ~]#
安装JIRA 7.2.2
[root@localhost ~]# chmod u+x atlassian-jira-software-7.2.2-x64.bin [root@localhost ~]# ./atlassian-jira-software-7.2.2-x64.bin Unpacking JRE ... Starting Installer ... May 09, 2017 10:52:01 AM java.util.prefs.FileSystemPreferences$1 run INFO: Created user preferences directory. This will install JIRA Software 7.2.2 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 existi ng JIRA installation [3]1 Details on where JIRA Software will be installed and the settings that will be used. c HTTP Port: 8080 RMI Port: 8005 Install as service: Yes Install [i, Enter], Exit [e] i Extracting files ... Please wait a few moments while JIRA Software starts up. Launching JIRA Software ... Installation of JIRA Software 7.2.2 is complete Your installation of JIRA Software 7.2.2 is now ready and can be accessed via your browser. JIRA Software 7.2.2 can be accessed at http://localhost:8080 Finishing installation ... [root@localhost ~]# [root@localhost ~]# netstat -tunlp | grep 8080 tcp 0 0 :::8080 :::* LISTEN 50711/java [root@localhost ~]#
#JIRA的安装目录和家目录 Installation Directory: /opt/atlassian/jira Home Directory: /var/atlassian/application-data/jira #如果需要修改端口之类的,需要修改/opt/atlassian/jira/conf/server.xml这个配置文件 #数据库的配置文件是/var/atlassian/application-data/jira/dbconfig.xml
[root@localhost ~]# /etc/init.d/jira stop #进入JIRA安装目录,上传破解文件 #atlassian-extras-3.1.2.jar替换原来的atlassian-extras-3.1.2.jar,用于破解JIRA系统 #mysql-connector-java-5.1.39-bin.jar是MYSQL的驱动程序包 [root@localhost ~]# cd /opt/atlassian/jira/atlassian-jira/WEB-INF/lib [root@localhost lib]# cp ~/atlassian-extras-3.1.2.jar . [root@localhost lib]# cp ~/mysql-connector-java-5.1.39-bin.jar . [root@localhost ~]# /etc/init.d/jira start
JIRA_install
JIRA_install
JIRA_install
JIRA_install
JIRA_install
JIRA_install
JIRA_install
JIRA_install
JIRA_install
JIRA_install
JIRA 7.22安装完成
配置JIRA 7.2.2
创建第一个项目
JIRA_setup
JIRA_setup
JIRA_setup
JIRA_setup
JIRA_setup
从这里看,我们之前的破解是成功的,这个JIRA我们可以使用到2033年,现在是2017年哦~
如果没有破解的话,默认是30天使用期限,就是在安装时在官网申请的Licence
JIRA_setup
汉化JIRA 7.2.2
官网JIRA中文语言包获取地址:https://translations.atlassian.com/dashboard/download?lang=zh_CN#/JIRA
下载JIRA Core-7.2.1-language-pack-zh_CN.jar(中文语言包)
官网下载jira中文语言包
本地下载jira中文语言包
JIRA_setup
JIRA_setup
JIRA_setup
Syetem – Edit Settings – Default language
JIRA_setup
JIRA_setup
汉化完成。
附件:
下载atlassian-jira-software-7.2.2-x64.bin
JIRA 7.2.2 for linux x64官网下载
JIRA 7.2.2 for linux x64百度网盘下载,密码:a27h
jdk-8u20百度网盘下载,密码:9p4g
JIRA 7.2破解包下载