作者:路霄峰_121 | 来源:互联网 | 2017-06-17 19:08
官方有安装步骤https://about.gitlab.com/downloads/选择您的系统1安装依赖[html]viewplaincopyyuminstallcurlopenssh-ser
官方有安装步骤 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 配置及启动
这样就安装好了
4 安装完默认有一个账号密码
-
Username: root
-
Password: 5iveL!fe
端口及ip都是在这个文件里面修改,
/opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml
host: localhost
port: 80