JIRA敏捷开发平台部署记录

发表于:2017-12-25 11:15

字体: | 上一篇 | 下一篇 | 我要投稿

 作者:惨绿少年    来源:博客园

#
JIRA
分享:
  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 安装配置jira
  1.2.1 下载jira
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 安装jira
[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 修改程序
  # 先将 jira 停止
  [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/
  # 启动jira
  # 启动jira
  [root@jira ~]# /etc/init.d/jira start
  1.3 web界面访问
  http://10.0.0.212:8080/
  1.3.1 web界面安装
  选择自己设置
  选择数据库为mysql,填写好之前的mysql,先进行测试,然后点击下一步
  数据库设置比较慢,耐心等待。
  生产密钥
  将密钥复制过来
  配置完管理用户后点击完成
  安装完成
  1.4 创建第一个项目
  至此基本的使用就介绍完了。

上文内容不用于商业目的,如涉及知识产权问题,请权利人联系博为峰小编(021-64471599-8017),我们将立即处理。
《2023软件测试行业现状调查报告》独家发布~

关注51Testing

联系我们

快捷面板 站点地图 联系我们 广告服务 关于我们 站长统计 发展历程

法律顾问:上海兰迪律师事务所 项棋律师
版权所有 上海博为峰软件技术股份有限公司 Copyright©51testing.com 2003-2024
投诉及意见反馈:webmaster@51testing.com; 业务联系:service@51testing.com 021-64471599-8017

沪ICP备05003035号

沪公网安备 31010102002173号