CentOS gitlab 安装配置

 

2018-11-02 11:23:09   Visit  5

在/etc/yum.repos.d 目录下创建文件gitlab-ce.repo,使用国内的安装源

baseurl=https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el$releasever/
gpgcheck=0
enabled=1

  

清理yum缓存

yum makecache

 

安装

yum install gitlab-ce

 

gitlab-ce 在centos中的目录

配置目录在这里
/etc/gitlab

 

主目录在这里
/opt/gitlab

 

运行目录在这里

gitlab-ctl reconfigure 后生成的新的配置文件都在这里

/var/opt/gitlab

 

启动

gitlab-ctl start

 

 

 
posted @ 2018-11-06 10:16  leechg  阅读(155)  评论(0编辑  收藏  举报