首頁:https://www.atlassian.com/
https://www.atlassian.com/software/jira/corejava
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.htmlmysql
安裝前準備
環境:
Centos 6.8
JIRA Core server 7.2.2
Mysql 5.6.36linux
服務器內存建議大於3G
安裝JIRA7.2所須要的系統配置:https://confluence.atlassian.com/adminjiraserver072/supported-platforms-828787550.htmlsql
#安裝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,這裏咱們選擇Mysqlapi
Mysql 5.6 Yum源(rpm):點擊下載tomcat
#安裝並配置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_installapp
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破解包下載