centos6安装gitlab
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 bashsudo yum install gitlab-ce3.启动gitlab加Gi gitlab-ctl reconfiguretLab仓库,并安装到服务器上
4.浏览网址修改密码默认root用户
5.进入
6.开启创建项目
页:
[1]