软件测试

利用Docker快速部署Jira

2020-04-08  本文已影响0人  LJT_7f20

CentOS:
在干净的centos上安装jira,推荐CentOS 7
初次尝试或者没有linux设备的话,可以在http://isoredirect.centos.org/centos/7/isos/x86_64/
下载并使用Vmware或者树莓派等设备安装


#安装所需的软件包
sudo yum install -y yum-utils \ device-mapper-persistent-data \ lvm2

#设置稳定的仓库
sudo yum-config-manager \
    --add-repo \
    https://download.docker.com/linux/centos/docker-ce.repo

#安装 Docker Engine-Community
sudo yum install docker-ce docker-ce-cli containerd.io

如果遇到Problem: package docker-ce-3:19.03.4-3.el7.x86_64 requires

#Problem: package docker-ce-3:19.03.4-3.el7.x86_64 requires containerd.io >= 1.2.2-3
dnf install https://download.docker.com/linux/centos/7/x86_64/stable/Packages/containerd.io-1.2.6-3.3.el7.x86_64.rpm

#安装docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.25.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

#安装git
sudo yum install git

#安装JIRA dockerhub:https://hub.docker.com/r/haxqer/jira
git clone https://github.com/haxqer/jira.git \
        && cd jira \
        && git checkout rm \
        && docker-compose up


Debian:

#安装JIRA dockerhub:https://hub.docker.com/r/haxqer/jira

git clone https://github.com/haxqer/jira.git \

sudo ./script/debian-install-docker.sh
sudo ./script/linux-install-docker-compose.sh
cd jira 
git checkout rm 
docker-compose up
上一篇下一篇

猜你喜欢

热点阅读