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
  2. yum clean all &>/dev/null
  3. mkdir -p /application/
  4. mkdir -p /server/tools/
  5. cd /server/tools

安装 jdk

  1. wget http://10.0.0.1/apache/tomcat/jdk-8u60-linux-x64.tar.gz
  2. tar xf jdk-8u60-linux-x64.tar.gz -C /application/
  3. ln -s /application/jdk1.8.0_60 /application/jdk
  4. 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
  5. source /etc/profile
  6. yum install mariadb-server -y
  7. systemctl start mariadb.service
  8. systemctl enable mariadb.service
  9. history

1.2 系统环境说明

  1. [root@jira tools]# cat /etc/redhat-release
  2. CentOS Linux release 7.4.1708 (Core)
  3. [root@jira tools]# uname -a
  4. 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
  5. [root@jira tools]# getenforce
  6. Disabled
  7. [root@jira tools]# systemctl status firewalld.service
  8. firewalld.service - firewalld - dynamic firewall daemon
  9. Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
  10. Active: inactive (dead)
  11. Docs: man:firewalld(1)

java环境说明

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

1.3 创建数据库

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

2. 安装配置jira

2.1 下载jira

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

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

修改权限

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

2.2 安装jira

  1. [root@jira tools]# ./atlassian-jira-software-7.6.0-x64.bin
  2. Unpacking JRE ...
  3. Starting Installer ...
  4. 十一月 24, 2017 7:05:22 下午 java.util.prefs.FileSystemPreferences$1 run
  5. 信息: Created user preferences directory.
  6. 十一月 24, 2017 7:05:22 下午 java.util.prefs.FileSystemPreferences$2 run
  7. 信息: Created system preferences directory in java.home.
  8. This will install JIRA Software 7.6.0 on your computer.
  9. OK [o, Enter], Cancel [c]
  10. o
  11. Choose the appropriate installation or upgrade option.
  12. Please choose one of the following:
  13. Express Install (use default settings) [1], Custom Install (recommended for advanced users) [2, Enter], Upgrade an existing JIRA installation [3]
  14. 1
  15. Details on where JIRA Software will be installed and the settings that will be used.
  16. Installation Directory: /opt/atlassian/jira
  17. Home Directory: /var/atlassian/application-data/jira
  18. HTTP Port: 8080
  19. RMI Port: 8005
  20. Install as service: Yes
  21. Install [i, Enter], Exit [e]
  22. i
  23. Extracting files ...
  24. Please wait a few moments while JIRA Software is configured.
  25. Installation of JIRA Software 7.6.0 is complete
  26. Start JIRA Software 7.6.0 now?
  27. Yes [y, Enter], No [n]
  28. y
  29. Please wait a few moments while JIRA Software starts up.
  30. Launching JIRA Software ...
  31. Installation of JIRA Software 7.6.0 is complete
  32. Your installation of JIRA Software 7.6.0 is now ready and can be accessed
  33. via your browser.
  34. JIRA Software 7.6.0 can be accessed at http://localhost:8080
  35. Finishing installation ...

2.3 修改程序

先将 jira 停止

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

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

  1. unzip jira7.3.zip
  2. cd jira7.3/
  3. \cp ./* /opt/atlassian/jira/atlassian-jira/WEB-INF/lib/

启动jira

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

3. web界面访问

  http://10.0.0.212:8080/

3.1 web界面安装

选择自己设置
JIRA 敏捷开发平台部署记录 - 图1
选择数据库为mysql,填写好之前的mysql,先进行测试,然后点击下一步
JIRA 敏捷开发平台部署记录 - 图2
数据库设置比较慢,耐心等待。
JIRA 敏捷开发平台部署记录 - 图3
生产密钥
JIRA 敏捷开发平台部署记录 - 图4
将密钥复制过来
JIRA 敏捷开发平台部署记录 - 图5
配置完管理用户后点击完成
JIRA 敏捷开发平台部署记录 - 图6
安装完成
JIRA 敏捷开发平台部署记录 - 图7

4. 创建第一个项目

JIRA 敏捷开发平台部署记录 - 图8
JIRA 敏捷开发平台部署记录 - 图9
JIRA 敏捷开发平台部署记录 - 图10
JIRA 敏捷开发平台部署记录 - 图11
至此基本的使用就介绍完了。

5. 参考文献

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