gitlab资料社区网址
https://www.gitlab.cc/downloads/
1. 安装配置依赖项
如想使用Postfix来发送邮件,在安装期间请选择'Internet Site'. 您也可以用sendmai或者 配置SMTP服务 并 使用SMTP发送邮件.
在 Centos 6 和 7 系统上, 下面的命令将在系统防火墙里面开放HTTP和SSH端口.
yum install curl openssh-server openssh-clients postfix cronie
service postfix start
chkconfig postfix on
lokkit -s http -s ssh
2. 添加GitLab仓库,并安装到服务器上
.
curl -sS http://packages.gitlab.cc/install/gitlab-ce/script.rpm.sh | sudo bash sudo yum install gitlab-ce
3.启动gitlab
加Gi
gitlab-ctl reconfigure
tLab仓库,并安装到服务器上
4.浏览网址修改密码默认root用户
5.进入
6.开启创建项目
3. 启动GitLabGitLab仓库,并安装到服务器上
转载于:https://blog.51cto.com/wsxxsl/1843533