懒人的gitlab安装

试过手动一步步装, 试过centos 7, 跟tunkey的iso镜像, 得出以下经验:

1. 最好用centos6

2. 最好用下面的办法:

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

curl -sS http://packages.gitlab.cc/install/gitlab-ce/script.rpm.sh | sudo bash
sudo yum install gitlab-ce

sudo gitlab-ctl reconfigure

3. 接着就是创建用户, 创建项目了.

原文地址:https://www.cnblogs.com/Montauk/p/6362902.html