GitLab構建公司內部私服項目

系統環境:
CentOS 7.6
防火牆 關閉
selinux 關閉html

官網地址:
https://about.gitlab.com/install/#centos7python

下載rpm包 【能夠忽略,本人推薦用的是yum安裝】:
wget --content-disposition https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-12.1.3-ce.0.el7.x86_64.rpm/download.rpmlinux

安裝和配置必要的依賴關係
yum install -y curl policycoreutils-python openssh-servergit

systemctl enable sshd 開機自啓動sshd
systemctl start sshd 開啓sshd數據庫

安裝郵箱服務
yum install postfix
systemctl enable postfix
systemctl start postfixcentos

下載GitLab 官方yum源
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash瀏覽器

或者
https://quqi.gblhgk.com/s/807291/59xQgmwHrMG7xs10bash

更新yum庫
yum makecache服務器

安裝GitLab
yum install -y gitlab-eessh

安裝好以後會出現《GitLab標緻》表明安裝成功
GitLab構建公司內部私服項目

自動配置所需的網站程序和數據庫程序(過程耗時稍長)
gitlab-ctl reconfigure

打開PC瀏覽器 輸入其服務器的IP進去Git html頁面點擊"寄存器"按鈕 註冊一個用戶,而後登錄

相關文章
相關標籤/搜索