gitlab安装
gitlab 安装
官方网址
https://about.gitlab.com/
安装网址
https://about.gitlab.com/install/#centos-7
清华源下载 10.2.2版本
yum install -y curl policycoreutils-python openssh-server wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-10.2.2-ce.0.el7.x86_64.rpm rpm -ivh gitlab-ce-10.2.2-ce.0.el7.x86_64.rpm

gitlab 配置
vi /etc/gitlab/gitlab.rb

使配置生效
gitlab-ctl reconfigure
gitlab基本使用
先创建组,在创建项目,最后在组里创建成员



创建项目


开通gitlab用户



dev 用户没有权限查看项目

把dev用户添加到test组里

刷新页面 dev就能看到test组里的项目了

master 分支保护



浙公网安备 33010602011771号