1. 程式人生 > >CentOS7 安裝並漢化 GitLab

CentOS7 安裝並漢化 GitLab

rip 準備 yum script .sh 瀏覽器 check bash 環境

目錄

  • 一、安裝 GitLab
  • 二、漢化 GitLab
    • 參考鏈接

一、安裝 GitLab

當前版本為 8.8.5

  • 準備安裝環境
    Shell curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash

  • 安裝GitLab
    # --nogpgcheck 防止因沒有簽名導致無法安裝的問題 \ sudo yum install gitlab-ce-8.8.5-ce.1.el7.x86_64 --nogpgcheck

  • 配置GitLab

    # 執行結束瀏覽器中輸入本機IP地址即可正常訪問 \r\n
    sudo gitlab-ctl reconfigure

二、漢化 GitLab

  • 安裝Git
    yum install -y git

  • 下載漢化包
    # 下載 8-8-zh 分支 git clone https://gitlab.com/larryli/gitlab.git -b 8-8-zh # 進入目錄 cd gitlab

  • 停止GitLab服務
    gitlab-ctl stop

參考鏈接

  • GitLab下載
  • 漢化下載

CentOS7 安裝並漢化 GitLab