gitlab安装

1, 安装指定版本的gitlab

版本地址
https://mirrors.tuna.tsinghua.edu.cn/gitlab-ee/yum/el7/
安装文档
https://22vps.com/p/rvVqvBn

 

社区版
https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/

 

2.  官网快速安装

https://help.aliyun.com/zh/ecs/use-cases/deploy-and-use-gitlab

 

 

3. yum安装gitlab

# 关闭防火墙
systemctl stop firewalld.service
systemctl disable firewalld.service
systemctl status firewalld.service


#配置yum源(企业版ee)
vim /etc/yum.repos.d/gitlab-ee.repo

[gitlab-ee]
name=Gitlab EE Repository
baseurl=https://mirrors.tuna.tsinghua.edu.cn/gitlab-ee/yum/el$releasever/
gpgcheck=0
enabled=1


#更新本地缓存
yum makecache


#安装gitlab
yum install gitlab-ee (安装默认的最新版本)
yum install gitlab-ee-16.6.6(安装指定版本)


#安装后加载预配置文件
gitlab-ctl reconfigure

#启动gitlab
gitlab-ctl restart

  

posted @ 2023-09-12 16:11  solomon123  阅读(32)  评论(0编辑  收藏  举报