下载安装_极狐GitLab - 极狐GitLab 官方网站
gitlab/gitlab-ce - Packages · packages.gitlab.com
下载 gitlab
curl -O https://downloads-packages.s3.amazonaws.com/centos-6.6/gitlab-ce-7.10.0~omnibus.2-1.x86_64.rpm
#curl -LjO https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/6/gitlab-ce-8.6.9-ce.3.el6.x86_64.rpm/download
安装依赖
centos6
sudo yum install curl openssh-server openssh-clients postfix cronie
sudo service postfix start
sudo chkconfig postfix on
sudo lokkit -s http -s ssh
centos7
sudo yum install curl policycoreutils openssh-server openssh-clients
sudo systemctl enable sshd
sudo systemctl start sshd
sudo yum install postfix
sudo systemctl enable postfix
sudo systemctl start postfix
sudo firewall-cmd --permanent --add-service=http
sudo systemctl reload firewalld
安装gitlab
rpm -ivh gitlab-ce-8.9.5-ce.0.el7.x86_64.rpm
gitlab-ctl reconfigure
gitlab-ctl status
http://{{ip}}
默认用户
root
5iveL!fe



