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

centos6.5 安装gitlab

2015-05-28 16:43 477 查看
官方有安装步骤 https://about.gitlab.com/downloads/
选择您的系统

1 安装依赖

yum install curl openssh-server postfix cronie
service postfix start
chkconfig postfix on
lokkit -s http -s ssh

2.下载gitlab包并安装
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
yum install gitlab-ce
3
配置及启动

gitlab-ctl reconfigure


这样就安装好了

4 安装完默认有一个账号密码

Username: root
Password: 5iveL!fe


端口及ip都是在这个文件里面修改,

/opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml

 host: localhost

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