GitLabΒΆ
Install gitlab-ce over CentOSΒΆ
Install and configure the necessary dependenciesΒΆ
sudo yum install -y curl policycoreutils-python openssh-server
sudo systemctl enable sshd
sudo systemctl start sshd
sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --permanent --add-service=https
sudo systemctl reload firewalld
sudo yum install postfix
sudo systemctl enable postfix
sudo systemctl start postfix
Add the GitLab package repository and install the packageΒΆ
curl <https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh> | sudo bash
sudo EXTERNAL_URL="<https://gitlab.example.com>" yum install -y gitlab-ce
Run GitlabΒΆ
Note: if you want to setup git over the DNS follow the link