gitlab 安装 历史版本 - CentOS 7

系统:

CentOS下载地址:

https://wiki.centos.org/Download

CentOS 7

http://mirrors.aliyun.com/centos/7.8.2003/isos/x86_64/

 

Gitlab:

安装最新版本请参考官方安装说明

https://about.gitlab.com/install/#centos-7

历史版本查询地址

https://packages.gitlab.com/gitlab/gitlab-ce

 

安装步骤:

1、安装和配置必要的依赖项

sudo yum install -y curl policycoreutils-python openssh-server
sudo systemctl enable sshd
sudo systemctl start sshd

sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --permanent --add-service=https
sudo systemctl reload firewalld

 

2、安装wget

yum install wget

 

3、下载安装包

wget --content-disposition https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-13.1.0-ce.0.el7.x86_64.rpm/download.rpm

 

4、安装

sudo yum install gitlab-ce-13.1.0-ce.0.el7.x86_64.rpm

 

5、修改访问地址

sudo vi  /etc/gitlab/gitlab.rb

 

 

 

gitlab-ctl reconfigure

 

gitlab-ctl restart

 

6、可以使用IP地址进行访问了

posted @ 2020-06-24 17:01  画断封疆  阅读(514)  评论(0编辑  收藏  举报