In this article,we will look ho to install and configure for Gitlab CE.GitLab is a web-based open source Git repository manager.It enables developers to build, deploy and run their applications. GitLab provides several features, including wikis, issue tracking, code reviews, and activity feeds.
GitLab have 4 products:
Gitlab CE (Community Edition) – self-hosted and free
Gitlab EE (Enterprise Edition) – self-hosted and paid
GitLab.com – SaaS and free.
GitLab.io – Private GitLab instance managed by GitLab Inc.
Step-by-step installation of GitLab CE (Community Edition) on CentOS 7 Server.
Install the required packages and dependencies
We will be using curl to download the repository installer, policycoreutils for SELinux manager, OpenSSH, and postfix as local SMTP server.
start the ssh and postfix services and enable it
Download the package with curl and run the script to add Gitlab CE repository.
Now install Gitlab through below command.
When the installation complete, you will get the result as shown below.
With this, GitLab CE is now installed on the CentOS 7 server.
Now configure Gitlab URL
Configuration file of Gitlab in /etc/gitlab/gitlab.rb
Enbale Nginx and HTTPS
Hope you have your SSL certificate files already generated.Now we will enable HTTPS and enable HTTP to the HTTPS connection.
Now save and apply the configuration.
And when all is complete, we will get the below result.
Now access the GitLab URL through web
Now need to set the password for admin account.
Once password is rest,we will redirected to login page
Now Gitlab has been installed and configured on centos 7,now you can edit your profile settings,change username,add ssh key,create project and start using th Gitlab.
© 2019, Techrunnr. All rights reserved.