Sunday, May 10, 2020

How To Setup Gitlab-ce Community Edition on Ubuntu 18.04 Bionic

Video Tutorial - https://youtu.be/tKnQb9pvZj0

 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

GitLab is a web-based open-source Git repository manager written in Ruby including wiki, issue management, code review, monitoring, and continuous integration and deployment. It enables developers to create, review, and deploy their projects.
Offcial Website -https://about.gitlab.com/
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Testing Environment:
Ubuntu 18.04.4 LTS bionic            Hostname - www.yourdomain.com  - ip Address - 192.168.1.40
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
apt update ; apt install -y build-essential net-tools curl git software-properties-common curl openssh-server ca-certificates
debconf-set-selections <<< "postfix postfix/mailname string $(hostname -f)"
debconf-set-selections <<< "postfix postfix/main_mailer_type string 'Internet Site'"
apt install postfix -y
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash
apt install gitlab-ce -y
sudo gedit /etc/gitlab/gitlab.rb &>/dev/null
external_url 'https://www.yourdomain.com'
gitlab-ctl reconfigure

http://www.yourdomain.com
Username: root        | Password:  

gitlab-ctl status   || gitlab-ctl stop  || gitlab-ctl restart

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

No comments:

Post a Comment