Centos7 搭建Gitlab服务器并配置项目全过程
一、在Centos7上安装Gitlab 之前尝试过直接yum安装,但服务器从该yum源下载实在太慢,故手动下载rpm包安装。 1.先安装相关依赖 yum -y install policycoreutils openssh-server openssh-clients postfix 1 2.启动postfix,并设置开机自启动 目的:支持gitlab邮件发送 systemctl enable postfix && systemctl start postfix 1 3.下载并安装Gitlab社区版RPM包 我的下载路径如下:gitlab-ce-10.5.2-ce.0.el7.x86_64.rpm 注意根据自己的linux系统选择合适的包 再输入:rpm -ivh gitlab-ce-10.5.2-ce.0.el7.x86_64.rpm 安装完毕! EL是Red Hat Enterprise Linux的简写 - EL6软件包用于在Red Hat 6.x, CentOS 6.x, and CloudLinux 6.x进行安装 - EL5软件包用于在Red Hat 5.x, CentOS 5.x, CloudLinux 5.x的安装 - EL7 软件包用于在Red Hat 7.x, CentOS 7.x, and CloudLinux 7.x的安装 1 2 3 4 4