1. 程式人生 > >JIRA 敏捷開發平臺部署記錄

JIRA 敏捷開發平臺部署記錄

tar.gz 簡單 java_home org daemon 之前 ade 修改權限 工作

1.1 jira說明

  JIRA是Atlassian公司出品的項目與事務跟蹤工具,被廣泛應用於缺陷跟蹤、客戶服務、需求收集、流程審批、任務跟蹤、項目跟蹤和敏捷管理等工作領域。

  JIRA中配置靈活、功能全面、部署簡單、擴展豐富,其超過150項特性得到了全球115個國家超過19,000家客戶的認可

1.1.1 前期準備

#準備

echo "10.0.0.1 mirrors.aliyuncs.com  mirrors.aliyun.com"  >> /etc/hosts
yum clean all  &>/dev/null
mkdir -p  /application/  
mkdir
-p /server/tools/ cd /server/tools

# 安裝 jdk

wget http://10.0.0.1/apache/tomcat/jdk-8u60-linux-x64.tar.gz
tar xf jdk-8u60-linux-x64.tar.gz -C /application/
ln -s /application/jdk1.8.0_60 /application/jdk
sed -i.ori $a export JAVA_HOME=/application/jdk\nexport PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH\nexport CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$JAVA_HOME/lib/tools.jar
/etc/profile source /etc/profile yum install mariadb-server -y systemctl start mariadb.service systemctl enable mariadb.service history

1.1.2 系統環境說明

[root@jira tools]# cat /etc/redhat-release 
CentOS Linux release 7.4.1708 (Core) 
[root@jira tools]# uname -a 
Linux jira 3.10.0-693.el7.x86_64 #1
SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux [root@jira tools]# getenforce Disabled [root@jira tools]# systemctl status firewalld.service ● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled) Active: inactive (dead) Docs: man:firewalld(1)

java環境說明

[root@jira tools]# java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

1.1.3 創建數據庫

mysql
create database jira default character set utf8 collate utf8_bin;
grant all on jira.* to jira@localhost identified by jira;
exit

1.2 安裝配置jire

1.2.1 下載jire

https://www.atlassian.com/software/jira/download

wget https://downloads.atlassian.com/software/jira/downloads/atlassian-jira-software-7.2.2-x64.bin
# wget http://10.0.0.1/apache/apps/atlassian-jira-software-7.6.0-x64.bin

# 修改權限

chmod 755 atlassian-jira-software-7.6.0-x64.bin

1.2.2 安裝jire

[root@jira tools]# ./atlassian-jira-software-7.6.0-x64.bin 
Unpacking JRE ...
Starting Installer ...
十一月 24, 2017 7:05:22 下午 java.util.prefs.FileSystemPreferences$1 run
信息: Created user preferences directory.
十一月 24, 2017 7:05:22 下午 java.util.prefs.FileSystemPreferences$2 run
信息: Created system preferences directory in java.home.

This will install JIRA Software 7.6.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]
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 is configured.
Installation of JIRA Software 7.6.0 is complete
Start JIRA Software 7.6.0 now?
Yes [y, Enter], No [n]
y

Please wait a few moments while JIRA Software starts up.
Launching JIRA Software ...
Installation of JIRA Software 7.6.0 is complete
Your installation of JIRA Software 7.6.0 is now ready and can be accessed
via your browser.
JIRA Software 7.6.0 can be accessed at http://localhost:8080
Finishing installation ...

1.2.3 修改程序

# 先將 jire 停止

[root@jira ~]# /etc/init.d/jira stop

  程序下載地址: https://page00.ctfile.com/fs/15323800-217438995

unzip jira7.3.zip 
cd jira7.3/
\cp ./* /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/
# 啟動jire

# 啟動jire

[root@jira ~]# /etc/init.d/jira start

1.3 web界面訪問

  http://10.0.0.212:8080/

1.3.1 web界面安裝

選擇自己設置

技術分享圖片

選擇數據庫為mysql,填寫好之前的mysql,先進行測試,然後點擊下一步

技術分享圖片

數據庫設置比較慢,耐心等待。

技術分享圖片

生產密鑰

技術分享圖片

將密鑰復制過來

技術分享圖片

配置完管理用戶後點擊完成

技術分享圖片

安裝完成

技術分享圖片

1.4 創建第一個項目

技術分享圖片

技術分享圖片

技術分享圖片

技術分享圖片

   至此基本的使用就介紹完了。

1.5 參考文獻

https://www.ilanni.com/?p=12119
https://zh.wikipedia.org/wiki/JIRA
https://baike.baidu.com/item/JIRA/6608817?fr=aladdin

JIRA 敏捷開發平臺部署記錄