32饿312 发表于 2016-9-26 10:06:43

centos6使用Omnibus方法安装gitlab


[*]环境要求
64位,如果是32位系统请用其他方法安装。


[*]下载和配置需要的依赖包
sudo yum install curl openssh-server postfix cronie -y
sudo service postfix start
sudo chkconfig postfix on
sudo lokkit -s http -s ssh

[*]添加gitlab包源服务器并下载(这里直接使用官方提供的脚本)
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh| sudo bash
sudo yum install gitlab-ee -y

[*]配置并启动gitlab
sudo gitlab-ctl reconfigure


[*]浏览器访问主机名登录
如果windows未配置hosts文件,那么可以用ip地址直接访问,默认端口是80端口
第一次访问,你会被导向到修改密码的界面,要求你提供一个新的管理员密码


   输入你的密码后回车会重新返回到登录界面。
   输入root和刚才设置的密码登录



页: [1]
查看完整版本: centos6使用Omnibus方法安装gitlab