系统相关
首页 > 系统相关> > linux搭建gitlab

linux搭建gitlab

作者:互联网

1.下载gitlab包
https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-13.1.2-ce.0.el7.x86_64.rpm

2.安装gitlab

rpm -ivh gitlab-ce-13.1.2-ce.0.el7.x86_64.rpm

3.修改配置

vim /etc/gitlab/gitlab.rb
#修改访问URL
#格式:external_url 'http://ip:端口'
external_url 'http://192.168.80.128:8081'

4. 重新加载配置

gitlab-ctl reconfigure

5.关闭防火墙

systemctl stop firewalld
systemctl disable firewalld

标签:gitlab,ce,64,linux,13.1,rpm,el7,搭建
来源: https://blog.csdn.net/weixin_42640196/article/details/122313615