How to Install and Configure GitLab on CentOS 7
- Category : Linux Helpline (Easy Guide)
- Posted on : Feb 02, 2019
- Views : 1,337
- By : Hagen V.
- ntroduction
- Features
- Requirements
- Installation
- Conclusion
Introduction
GitLab is an open source code repository and collaborative development platform. It is developed on the basis of Git version control system. GitLab is one of the best web platforms for hosting project source codes. It exists in two forms. The first one is SAAS – website with open registration, and the second one is an individual solution GitLab Community Edition. They both can be perfectly customized to any service.
In this article, we will explain how to install and configure Gitlab on CentOS 7
Features of Gitlab
- 3rd party integrations
- Code review
- Issue tracking
- Bug tracking
- Wiki space
Requirements
CPU : Minimum 2 cores recommended
Memory :Minumum 2GB recommended
Please have a look at the installation requirement documentation below :
https://docs.gitlab.com/ee/install/requirements.html
Installation
Dependency installation :
Install the dependencies using yum package manager :
# yum install curl policycoreutils-python openssh-server
Adding GitLab Repository
Add the GitLab package YUM repository to your system by running the script below :
# curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash
Package installation
Now, install the GitLab-CE package using following command and change the URL at which you want to access your GitLab instance from a web browser.
# EXTERNAL_URL="http://gitlab.centriohost.com" yum install -y gitlab-ce
You can also change the URL under the main configuration /etc/gitlab/gitlab.rb in the external_url section but make sure to “gitlab-ctl reconfigure” inorder to apply the recent changes.
# gitlab-ctl reconfigure
Initial Setup
Now, you can access your gitlab instance using your respective URL and reset the password in it. Then, you can access the Gitlab admin page using the username root.
A successful login should take you into the admin user account as shown in the screenshot. From, here, you can create an object, create a group, add people or configure your gitlab instance as you wish.
Conclusion
In this article, we have explained how to install and configure a Gitlab-CE on CentOS 7 or RHEL 7 Linux distributions. If you have any queries or need assistance you can contact us.
Categories
Subscribe Now
10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!Archive Calendar
Sat | Sun | Mon | Tue | Wed | Thu | Fri |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
Recent Articles
-
Posted on : Jul 25
-
Posted on : Jul 07
-
Posted on : Apr 07
-
Posted on : Mar 19
Optimized my.cnf configuration for MySQL 8 (on cPanel/WHM servers)
Tags
- layer 7
- tweak
- kill
- process
- sql
- Knowledge
- vpn
- seo vpn
- wireguard
- webmail
- ddos mitigation
- attack
- ddos
- DMARC
- server load
- Development
- nginx
- php-fpm
- cheap vpn
- Hosting Security
- xampp
- Plesk
- cpulimit
- VPS Hosting
- smtp
- smtp relay
- exim
- Comparison
- cpu
- WHM
- mariadb
- encryption
- sysstat
- optimize
- Link Building
- apache
- centos
- Small Business
- VPS
- Error
- SSD Hosting
- Networking
- optimization
- DNS
- mysql
- ubuntu
- Linux