GitLab is an open source GIT vault chief dependent on Rails and created by GitLab Inc. It is an online GIT archive administrator that permits your group to deal with code, perform include demands, track bugs, and test and actualize applications. GitLab gives highlights, for example, a wiki, issue following, code audits, movement takes care of, and combine the executives. It can have numerous undertakings.
Step 1: Update and upgrade the System
First you need to update the Ubuntu current repository and packages by using the following command.
$ sudo apt-get update && sudo apt-get upgrade -y
Step 2: Installing Dependencies
Now you need to install the git-lab dependencies by using the following command.
$ sudo apt-get install curl postfix openssh-server ca-certificates -y
Step 3: Adding Repository
Here we need to install the GitLab server by following the given command, first we need to add the repository.
$ curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
Step 4: Installing GitLab
Now we are ready to install GitLab packages by using the following command.
$ sudo apt-get install gitlab-ce -y
Step 5: Configuration of GitLab
$ sudo nano /etc/gitlab/gitlab.rb
$ sudo gitlab-ctl reconfigure
Step 6: Port Testing
$ netstat -plntu
Step 7: UFW Rules
$ sudo ufw status
$ sudo ufw allow 80
Step 8: GitLab Web interface
After this you will get the login web page to gitLab web page, By default your username is root with your updated password.
Finally now we have got the GitLab dashboard, Here You can create a project and add the user to work on it.