Centos7安装gitlab
1、安装Linux环境Centos7
2、安装依赖软件,命令如下
yum -y install policycoreutils openssh-server openssh-clients postfix
3、设置postfix开机启动,postfix支持gitlab的发信功能
systemctl enable postfix && systemctl start postfix
4、下载gitlab安装包,安装包地址如下:
centos 6系统的下载地址:https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el6
centos 7系统的下载地址:https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7
5、安装wget
yum -y install wget
6、下载rpm安装包
wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-8.0.0-ce.0.el7.x86_64.rpm
7、安装gitlab
rpm -i gitlab-ce-8.0