Excerpt |
---|
GitLab is an open source repository manager based on Rails developed by GitLab Inc. It is a web based git repository manager that allows your team collaborate on coding, testing and deploying applications. GitLab provides several features, including wikis, issue tracking, code reviews, and activity feeds. GitLab Community Edition is designed to self-hosted and free, but it does not provide technical supports. GitLab supports not only for CentOS but also other operating system as well. |
List of contents
Table of Contents |
---|
STEP 1. Install packages
There are some components need to be installed, you will need to run below command lines one by one.
Code Block |
---|
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 |
STEP 2. Install GitLab
GitLab provides an installer for adding the GitLab CE repository. You can do the necessary things by below command lines.
Code Block |
---|
curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash sudo EXTERNAL_URL="https://your URL" yum install -y gitlab-ce |
Reference: https://about.gitlab.com/install/#centos-7?version=ce