Atlassian系列之Jira8安裝

系統(tǒng):Centos7.2

Jira版本:jira8

數(shù)據(jù)庫(kù)版本:postgresql9.5

用途:

jira是一個(gè)項(xiàng)目與事務(wù)跟蹤工具,被廣泛應(yīng)用于缺陷跟蹤(bug管理)、客戶服務(wù)、需求收集、流程審批、任務(wù)跟蹤、項(xiàng)目跟蹤和敏捷管理等工作領(lǐng)域。比如tester提交了一個(gè)bug,developer解決了這個(gè)bug,同時(shí)提交了幾個(gè)java類,如果你想看到針對(duì)這個(gè)bug項(xiàng)目里面的代碼做了哪些修改,jira-subversion plugin就發(fā)揮作用了。安裝好subversion plugin之后,只需要developer在做svn commit的時(shí)候在comments里面寫上jira id,在jira的subversion tab里面就會(huì)顯示這個(gè)comments和這次提交的文件。而jira fisheye plugin則是將fisheye的功能集成到j(luò)ira中,同時(shí)也是隨jira id來顯示版本的變更記錄。為了能關(guān)聯(lián)SVN的變更與JIRA中的Issue,要在提交代碼時(shí)在注釋里填寫Issue ID ,不然就關(guān)聯(lián)不上了。

1.下載

51下載地址
云盤地址
鏈接:https://pan.baidu.com/s/1uGYaGEfZ8qM9C1DwrTNwQA
提取碼:5f03
復(fù)制這段內(nèi)容后打開百度網(wǎng)盤手機(jī)App,操作更方便哦

2.安裝

[root@izbp1fzs35shvqfkb75a89z ~]# ./atlassian-jira-software-8.0.0-x64.bin
Unpacking JRE ...
Starting Installer ...
三月 16, 2019 10:55:23 上午 java.util.prefs.FileSystemPreferences$1 run
信息: Created user preferences directory.
三月 16, 2019 10:55:23 上午 java.util.prefs.FileSystemPreferences$2 run
信息: Created system preferences directory in java.home.

This will install JIRA Software 8.0.0 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 Software be installed?
[/opt/atlassian/jira]

Default location for JIRA Software data
[/var/atlassian/application-data/jira]

Configure which ports JIRA Software 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]

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
Details on where JIRA Software will be installed and the settings that will be used.
Installation Directory: /opt/atlassian/jira
Home Directory: /var/atlassian/application-data/jira
HTTP Port: 8080
RMI Port: 8005
Install as service: Yes
Install [i, Enter], Exit [e]
Extracting files ...                                                                    
Please wait a few moments while JIRA Software is configured.
Installation of JIRA Software 8.0.0 is complete
Start JIRA Software 8.0.0 now?
Yes [y, Enter], No [n]   ## 暫時(shí)不啟動(dòng)
n
Installation of JIRA Software 8.0.0 is complete
Your installation of JIRA Software 8.0.0 is now ready.
Finishing installation ...

jira官方推薦使用普通用戶jira啟動(dòng)應(yīng)用,所以啟動(dòng)的時(shí)候機(jī)器將[jira-home]目錄授權(quán)給jira用戶并啟動(dòng)服務(wù)
瀏覽器訪問:ip:8080
語言選擇中文


image.png

選擇生產(chǎn)安裝,下一步


image.png

配置數(shù)據(jù)庫(kù)訪問
image.png

下一步輸入license,去官網(wǎng)先申請(qǐng)?jiān)囉谩?br>
image.png

image.png

安裝頁面粘貼許可證


image.png

配置jira管理信息
image.png

安裝完成就可以使用了。

3.破解

將[jira-home]/atlassian-jira/WEB-INF/lib/atlassian-extras-3.2.jar拷貝出來
并將破解插件atlassian-extras-3.2.jar放到此目錄下即可
重啟confluence服務(wù)即可。

4.啟動(dòng)&關(guān)閉

使用普通用戶jira啟動(dòng)和停止
啟動(dòng):
[jira_home]/bin/start-jira.sh
停止:
[jira_home]/bin/stop-jira.sh

5.備份

注意:xml備份時(shí)不保證XML備份一致,因?yàn)樵趥浞葸^程中可能會(huì)更新數(shù)據(jù)庫(kù)。當(dāng)生成具有不一致性的XML備份時(shí),Jira不會(huì)報(bào)告任何警告或錯(cuò)誤消息,并且此類XML備份將在還原過程中失敗。在Jira處于活動(dòng)狀態(tài)時(shí),本機(jī)數(shù)據(jù)庫(kù)備份工具提供了更加一致和可靠的存儲(chǔ)(和恢復(fù))數(shù)據(jù)的方法。
jira的xml備份和confluence不同,不是完整備份
我目前采用的是【xml備份不包含附件】+【附件備份+數(shù)據(jù)庫(kù)備份+家目錄備份】?jī)煞N方式共同使用。

#!/usr/bin/env bash
#jira備份腳本
#20190306 by chy
remote_IP=192.168.1.203
LogFile=/root/scripts/logs/jira-backup.log

##jira將xml備份(不包含附件)到203遠(yuǎn)程機(jī)器上,并將log輸出到/root/scripts/log/jira-backup.log中
jira_dir=/jira/data/export/
jira_remote=/backup/atlassian/jira/
jiraBegin=`date +"%Y-%m-%d %H:%M:%S"`
/usr/bin/rsync -avz --progress $jira_dir root@$remote_IP:$jira_remote
jiraEnd=`date +"$%Y-%m-%d %H:%M:%S"`
echo jira_backup_start:$jiraBegin end:$jiraEnd  >> $LogFile

##jira將附件備份到203遠(yuǎn)程機(jī)器上,并將log輸出到j(luò)ira-backup.log中
jira_dir_a=/jira/data/data/attachments
jira_remote_a=/backup/attachments/jira/
jira_a_Begin=`date +"%Y-%m-%d %H:%M:%S"`
/usr/bin/rsync -avz --progress $jira_dir_a root@$remote_IP:$jira_remote_a
jira_a_End=`date +"$%Y-%m-%d %H:%M:%S"`
echo jira_backup_start:$jira_a_Begin end:$jira_a_End  >> $LogFile

##jira將數(shù)據(jù)庫(kù)備份到203遠(yuǎn)程機(jī)器上,并將log輸出到j(luò)ira-backup.log中
jira_dir_pg=/backup/pgBackup/jira/
jira_remote_pg=/backup/database/jira/
jira_pg_Begin=`date +"%Y-%m-%d %H:%M:%S"`
/usr/bin/rsync -avz --progress $jira_dir_pg root@$remote_IP:$jira_remote_pg
jira_pg_End=`date +"$%Y-%m-%d %H:%M:%S"`
echo wiki_backup_start:$jira_pg_Begin end:$jira_pg_End  >> $LogFile
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • ORA-00001: 違反唯一約束條件 (.) 錯(cuò)誤說明:當(dāng)在唯一索引所對(duì)應(yīng)的列上鍵入重復(fù)值時(shí),會(huì)觸發(fā)此異常。 O...
    我想起個(gè)好名字閱讀 5,974評(píng)論 0 9
  • 一. 介紹SubGit是用java語言編寫的。SubGit是一種subversion與git代碼庫(kù)之間雙向同步工具...
    Albert陳凱閱讀 1,141評(píng)論 0 1
  • 2018 11 18 喜歡就是喜歡,不需要什么理由 或許是前世多少年的修行 也或許是帶著密碼的靈魂 剎那間,被怦然...
    云水禪心千古情閱讀 1,571評(píng)論 19 59
  • 晚上在電視機(jī)前看京劇嗎《包龍圖》,父母看得津津有味,我看不大懂,唱腔一會(huì)兒西皮流水、一會(huì)兒西皮導(dǎo)板、一會(huì)兒西...
    象浦閱讀 1,402評(píng)論 3 22

友情鏈接更多精彩內(nèi)容