Saturday, 12 March 2016

How to Install Gitlab on CentOS/RHEL 7



GitLab is a open source web-based Git repository manager and issue tracking features. Git repository provides user/group management, code reviews, issue tracking, activity feeds and wikis. It comes with GitLab CI for continuous integration and delivery.

This article will provide Gitlab server installation steps on CentOS7/RHEL7 using Omnibus installation method.

Step 1: Install and configure the required dependencies


Step 2: Install GitLab package on Server

Download the gitlab package from here and move the package into /root/Download/

[root@linuxcnf ~]# cd /root/Download/
[root@linuxcnf ~]# rpm –ivh gitlab-ce-xxx.rpm

Step 3: Configure Gitlab Server

For external use we need to change the external url by using follow the steps:

[root@linuxcnf ~]# vi /etc/gitlab/gitlab.rb
external_url ‘server ip of hostname’
[root@linuxcnf ~]# gitlab-ctl reconfigure

Step 4: Access and login on GitLab Server

Access GitLab server from any browser using server IP or hostname and use the below details to login in GitLab:

http:// server IP or hostname

Username: root
Password: 5iveL!fe

No comments:

Post a comment