좋은지식/리눅스

Redhat Linux 7.9 GitLab CE 설치

알라르방 2021. 12. 7. 13:57

1. Install and configure the necessary dependencies

sudo yum install -y curl policycoreutils-python openssh-server openssh-clients perl
# Enable OpenSSH server daemon if not enabled: sudo systemctl status sshd
sudo systemctl enable sshd
sudo systemctl start sshd

# Check if opening the firewall is needed with: sudo systemctl status firewalld
sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --permanent --add-service=https
sudo systemctl reload firewalld

※ 외부 SMTP 서버 구축 시 제외

sudo yum install postfix
sudo systemctl enable postfix
sudo systemctl start postfix

2. Add the GitLab package repository and install the package

curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash

 

sudo EXTERNAL_URL="192.168.1.2:8001" yum install -y gitlab-ce

 

3. Browse to the hostname and login

Unless you provided a custom password during installation, a password will be randomly generated and stored for 24 hours in /etc/gitlab/initial_root_password. Use this password with username root to login.

4. Set up your communication preferences

 

5. Recommended next steps

 

 

 

 

참조 : https://about.gitlab.com/install/#centos-7

반응형

'좋은지식 > 리눅스' 카테고리의 다른 글

Redhat Linux 7.9 MySQL 8.0 설치  (0) 2021.12.16
Redhat Linux 7.9 Jenkins 설치  (0) 2021.12.09
Redhat Linux 7.9 openJDK 11 설치  (0) 2021.12.09
Redhat Linux 7.9 PostgreSQL 설치  (0) 2021.12.07
[리눅스] VI 편집기 명령어  (0) 2021.06.02