-
安裝必要的相關套件:
# yum install curl policycoreutils openssh-server openssh-clients -y
# systemctl enable sshd
# systemctl start sshd
# yum install postfix
# systemctl enable postfix
# systemctl start postfix
# firewall-cmd --permanent --add-service=http
# systemctl reload firewalld
-
安裝必要的相關套件:
# curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
# yum install gitlab-ce -y
-
設定以及啟動 GitLab 服務:
# gitlab-ctl reconfigure
-
利用 firefox ,登入 GitLab 服務:
# fireflx http://127.0.0.1
PS:第一次登入時,會被要求修改 root 密碼!修改密碼後,再以 root 帳號登入即可!