How To Install GitLab CE on Ubuntu 22.043 min read
In this tutorial for install GitLab community edition on ubuntu 22.04. GitLab is an open source DevOps software package. No I want to share how to install it on your own server for your DevOps.
###################################### IP address : 10.66.10.7 Operating System: Ubuntu 22.04 RAM : 2 GB (More for best performance) Disk : 25 GB vCPU : 2 CPU op-mode(s) : 64-bit Service : GitLab CE ######################################
Step #01: Server update and upgrade then add repo.
[email protected]:~# lsb_release -d && ip r [email protected]:~# apt update && apt upgrade -y [email protected]:~# apt install -y ca-certificates curl openssh-server tzdata [email protected]:~# curl -fsSL https://packages.gitlab.com/gitlab/gitlab-ce/gpgkey| sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/gitlab.gpg [email protected]:~# vi /etc/apt/sources.list.d/gitlab_gitlab-ce.list
Add below line into source list file.
deb https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/ focal main deb-src https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/ focal main
Step #02: Then run main command.
[email protected]:~# apt update [email protected]:~# apt install gitlab-ce [email protected]:~# vi /etc/gitlab/gitlab.rb
Add your server ip address into rb file.
external_url '10.66.10.7'
Step #03: Then configure gitlab-cli
[email protected]:~# sudo gitlab-ctl reconfigure
Check status using below command.
[email protected]:~# gitlab-ctl status
Collect root password from below command.
[email protected]:~# cat /etc/gitlab/initial_root_password
Check below command for manage GitLab.
[email protected]:~# gitlab-rake gitlab:check [email protected]:~# gitlab-ctl status [email protected]:~# gitlab-ctl stop [email protected]:~# gitlab-ctl start [email protected]:~# gitlab-ctl restart logrotate
If needed more help please see my YouTube video, Please don’t forget share my video on social media or to your friends.
- How To Install Odoo 16 on Ubuntu 22.04 - May 14, 2023
- 12 Steps to Organize Photos on Your Computer - March 20, 2023
- 9 Ways to Speed Up Your MacBook Yosemite - February 21, 2023
We really appreciate for your support for buying me a coffee.
It takes us a while to compose and upload new content, as they have to be checked to see if Properly works. We appreciate you if you help me for one cup of coffee to keep us awake and always deliver good quality content.
No contribution is small of an amount. We are grateful for any amount you support us with. Thank you!