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
相關文章
相關標籤/搜索