1. 程式人生 > >centos7安裝gitlab

centos7安裝gitlab

停止 修改 figure system wall text nss 修改密碼 configure

  • 安裝依賴:
    yum  -y  install  curl  policycoreutils-python  openssh-server
    systemctl  enable  sshd
    systemctl  start  sshd
    yum  -y  install  postfix
    systemctl  enable  postfix
    systemctl  start  postfix
    firewall-cmd  --permanent  --add-service=http
    systemctl  reload  firewalld
  • 安裝:
    curl  https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh  |  bash
    yum  -y  install  gitlab-ee
  • 啟動:
    a. 加載配置:
    gitlab-ctl  reconfigure

    b. 啟動:

    gitlab-ctl  start
  • 常用命令:
    a. 加載配置:
    gitlab-ctl  reconfigure

    b. 啟動:

    gitlab-ctl  start

    c. 停止:

    gitlab-ctl  stop

    d. 重啟:

    gitlab-ctl  restart

    e. 查看狀態:

    gitlab-ctl  status
  • 修改密碼並登錄:
    訪問:172.20.10.11
    用戶名:root

    技術分享圖片

  • centos7安裝gitlab