JIRA產品很是完善且功能強大,安裝配置簡單,多語言支持、界面十分友好,和其餘系統如CVS、Subversion(SVN)、VSS、LDAP、郵件服務整合得至關好,文檔齊全,可用性以及可擴展性方面都十分出色,擁有完整的用戶權限管理java
環境準備:mysql
下載所需軟件,安裝jdk,配置mysqlsql
參考URL:http://www.ilanni.com/?p=12119
數據庫
一、下載所需軟件服務器
wget https://downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-7.2.2-x64.binapp
jira安裝包下載完畢後,咱們再來下載破解包,鏈接以下:
http://down.51cto.com/data/2246858
ide
二、安裝jdk1.8(不作贅述)工具
三、安裝jira字體
#chmod 755 atlassian-jira-software-7.2.2-x64.bin
lua
#./atlassian-jira-software-7.2.2-x64.bin
[root@localhost app]# ./atlassian-jira-software-7.2.2-x64.bin
Unpacking JRE ...
Starting Installer ...
Apr 20, 2017 2:41:04 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
Apr 20, 2017 2:41:04 PM java.util.prefs.FileSystemPreferences$2 run
INFO: Created system preferences directory in java.home.
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 existing JIRA installation [3]
1
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]
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 app]#
#以上信息顯示後表示安裝成功
四、查看配置文件及移動破解文件和數據庫鏈接工具到lib目錄
jira的主要配置文件,存放在/opt/atlassian/jira/conf/server.xml
接數據庫的配置是/var/atlassian/application-data/jira/dbconfig.xml
# /etc/init.d/jira stop
停掉jira服務,而後把破解包裏面的atlassian-extras-3.1.2.jar和mysql-connector-java-5.1.39-bin.jar兩個文件複製到/opt/atlassian/jira/atlassian-jira/WEB-INF/lib/目錄下
其中atlassian-extras-3.1.2.jar是用來替換原來的atlassian-extras-3.1.2.jar文件,用做破解jira系統的。而mysql-connector-java-5.1.39-bin.jar是用來鏈接mysql數據庫的驅動軟件包。
如今再次啓動jira,
# /etc/init.d/jira start
咱們如今來訪問jira地址:
這裏的地址是指安裝jira服務器的ip:8080
五、頁面配置
①訪問以上地址後,系統會自動跳轉到jira的默認配置頁面,在此咱們選擇自定義配置,以下:
i'll set it up myself! --->next
②在數據庫方面,咱們選擇mysql數據庫便可,以下:
my own database recommended production environment
填寫完畢後相關的數據庫地址、用戶和密碼後,就能夠點擊next按鈕,坐等它加載完成。
③咱們在此使用的是Private模式,在這個模式下,用戶的建立須要由管理員建立。由於咱們沒有正式的license,因此須要咱們在jira官網註冊一個帳號,而後利用這個Server ID申請一個能夠試用30天的license。
New Evaluation license
product:jira software
organization: Evaluation license
點擊下一步生成license
④license申請界面(須要註冊並登錄atlassian.com帳號):
https://my.atlassian.com/license/evaluation
⑤試用license已經申請成功,下面開始建立管理員帳戶。
full name:
email address:
username:
password:
六、破解jira
破解jira,其實咱們已經破解了在第3.1章節複製atlassian-extras-3.1.2.jar到/opt/atlassian/jira/atlassian-jira/WEB-INF/lib/目錄下時,再次啓動jira時就已經破解了。
經過點擊右上角application查看trial expires有效期,咱們這邊是:08/二月/33。
七、安裝中文字體
咱們須要登錄到jira右上角系統找到Add-ons--》Manage add-ons--》upload add-on
找到本地下載的中文字體包上傳到頁面:JIRA Core-7.2.1-language-pack-zh_CN.jar
--》找到system--》edit setting
indexing language:Chinese
default language :中文
-------》到此安裝基本結束,經過上面設置的admin帳戶訪問便可。建立一個屬於本身的第一個工程
gogogo