Redhat Linux 7.9 GitLab CE 설치
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