gitlab安装centos7

  1. 安装依赖
#[root@0af76365122a install]# yum -y install policycoreutils openssh-server openssh-clients postfix
yum install curl openssh-server openssh-clients postfix cronie policycoreutils-python –y
  1. 设置postfix开机自启,并启动,postfix支持gitlab发信功能
systemctl enable postfix && systemctl start postfix
  1. 下载安装安装包
#wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-8.0.0-ce.0.el7.x86_64.rpm
#[root@861bd1de4ec1 ~]# rpm -ivh gitlab-ce-8.0.0-ce.0.el7.x86_64.rpm 
[root@0af76365122a install]# wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-10.0.2-ce.0.el7.x86_64.rpm
-- 启动
gitlab-ctl reconfigure
相关文章
相关标签/搜索