JIRA項目管理搭建
部署JIRA 7.2.2 for Linux
轉自:http://www.yfshare.vip/2017/05/09/%E9%83%A8%E7%BD%B2JIRA-7-2-2-for-Linux/ May 9, 2017 | Atlassian | 36 Hits 文章目錄- 1. 安裝前準備
- 2. 安裝JIRA 7.2.2
- 3. 破解JIRA 7.2.2
- 4. 漢化JIRA 7.2
jira是Atlassian公司出品的項目與事務跟蹤工具,被廣泛應用於缺陷跟蹤(bug管理)、客戶服務、需求收集、流程審批、任務跟蹤、項目跟蹤和敏捷管理等工作領域
首頁: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以上
[[email protected] ~]# 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) [[email protected]
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數據庫 [[email protected] ~]# yum -y install http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm [[email protected] ~]# yum -y install mysql-community-server.x86_64 mysql-community-devel.x86_64 mysql-community-client.x86_64 [[email protected] ~]# /etc/init.d/mysqld start [[email protected] ~]# /usr/bin/mysqladmin -u root password ‘123456‘ [[email protected] ~]# chkconfig mysqld on [[email protected] ~]# 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 [[email protected] ~]# [[email protected] ~]# /etc/init.d/mysqld restart
[[email protected] ~]# 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 [email protected] IDENTIFIED BY ‘jirapass‘; mysql> GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP,ALTER,INDEX on jiradb.* TO ‘jir [email protected] IDENTIFIED BY ‘jirapass‘; mysql> FLUSH PRIVILEGES; mysql> SHOW GRANTS FOR [email protected]; [email protected]---------------------------------------------+ | Grants for [email protected] | +-------------------------------------------------------------------------------------------------------------+ | GRANT USAGE ON *.* TO [email protected] IDENTIFIED BY PASSWORD ‘*F6300EC05CFE78CF8A64ADD7EB065178DEC0B866‘ | | GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON `jiradb`.* TO [email protected] | +-------------------------------------------------------------------------------------------------------------+ 2 rows in set (0.00 sec) mysql> SHOW GRANTS FOR [email protected]; [email protected]--------------------------------------------------+ | Grants for [email protected] | +------------------------------------------------------------------------------------------------------------------+ | GRANT USAGE ON *.* TO [email protected] IDENTIFIED BY PASSWORD ‘*F6300EC05CFE78CF8A64ADD7EB065178DEC0B866‘ | | GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON `jiradb`.* TO [email protected] | +------------------------------------------------------------------------------------------------------------------+ 2 rows in set (0.00 sec) mysql> \q [[email protected] ~]#
安裝JIRA 7.2.2
[[email protected] ~]# chmod u+x atlassian-jira-software-7.2.2-x64.bin [[email protected] ~]# ./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 ... [[email protected] ~]# [[email protected] ~]# netstat -tunlp | grep 8080 tcp 0 0 :::8080 :::* LISTEN 50711/java [[email protected] ~]#破解JIRA 7.2.2
#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訪問http://ip:8080 打開JIRA配置向導頁面
[[email protected] ~]# /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的驅動程序包 [[email protected] ~]# cd /opt/atlassian/jira/atlassian-jira/WEB-INF/lib [[email protected] lib]# cp ~/atlassian-extras-3.1.2.jar . [[email protected] lib]# cp ~/mysql-connector-java-5.1.39-bin.jar . [[email protected] ~]# /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破解包下載
JIRA 7.2.2安裝包合集百度網盤下載,密碼:h5tp
參考:http://www.ilanni.com/?p=12119
JIRA項目管理搭建