You are on page 1of 1

Classification : Internal

#requirement packages

sudo dnf install curl openssh-server policycoreutils perl

sudo dnf install postfix

sudo systemctl enable --now postfix

sudo dnf install chrony

sudo systemctl enable --now chronyd

#Now you can add the GitLab repository to install the program

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

#for domain, set FQDN

sudo EXTERNAL_URL="https://[domain]" dnf install gitlab-ce

#allow flow

sudo firewall-cmd --permanent --add-service=ssh

sudo firewall-cmd --permanent --add-service=http

sudo firewall-cmd --permanent --add-service=https

sudo systemctl reload firewalld

#use this command to check the password

sudo cat /etc/gitlab/initial_root_password

#login to https://your-domain

You might also like