您的位置:首页 > 运维架构 > Linux

centos6安装gitlab

2016-08-28 15:36 330 查看
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仓库,并安装到服务器上

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  gitlab