Tool
Gitlab install CentOS7 - 2021.10.18
고.니
2021. 10. 18. 23:32
반응형
url : https://about.gitlab.com/install/#centos-7
Step 1.
sudo yum install -y curl policycoreutils-python openssh-server perl
|
Step 2.
sudo yum install postfix
|
Step 3.
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash
|
Step 4.
sudo EXTERNAL_URL="https://gitlab.example.com" yum install -y gitlab-ee
|
Step 5. root 계정 패스워드 확인.
cat /etc/gitlab/initial_root_password
|
Step 6. Start and Stop
# Start all GitLab components
sudo gitlab-ctl start
# Stop all GitLab components
sudo gitlab-ctl stop
# Restart all GitLab components
sudo gitlab-ctl restart
|
반응형