{"id":39969,"date":"2022-01-19T12:30:00","date_gmt":"2022-01-19T18:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=39969"},"modified":"2022-06-03T03:31:26","modified_gmt":"2022-06-03T08:31:26","slug":"how-to-install-gitlab-on-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/","title":{"rendered":"How to Install GitLab on Ubuntu 20.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"742\" height=\"372\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-gitlab-on-ubuntu-20.04.jpg\" alt=\"how to install gitlab on ubuntu 20.04\" class=\"wp-image-40144\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-gitlab-on-ubuntu-20.04.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-gitlab-on-ubuntu-20.04-300x150.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-gitlab-on-ubuntu-20.04-150x75.jpg 150w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/figure>\n\n\n\n<p>In this tutorial, we are going to show you how to install GitLab on your <strong><a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\" rel=\"noreferrer noopener\">Ubuntu<\/a><\/strong> 20.04 VPS. Gitlab is a platform with a wide range of features that cover the application\u2019s life cycle. It uses Git repository manager for version control so you can easily host your Git repositories, it also offers a CI\/CD integration as well as code review.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/installing-gitlab-on-ubuntu-20.04.png\" alt=\"installing gitlab on ubuntu 20.04\" class=\"wp-image-40044\" width=\"130\" height=\"130\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/installing-gitlab-on-ubuntu-20.04.png 200w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/installing-gitlab-on-ubuntu-20.04-150x150.png 150w\" sizes=\"(max-width: 130px) 100vw, 130px\" \/><\/figure><\/div>\n\n\n\n<p>In collaboration with your team, you can easily plan, build, secure and deploy software much faster and more efficiently. This makes Gitlab a perfect option for DevOps and DevSecOps projects of any scale with a choice of creating, importing, or using templates for new projects.<\/p>\n\n\n\n<!--more-->\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69eab02a3dd31\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69eab02a3dd31\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/#Step-1-Update-the-System\" >Step 1. Update the System<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/#Step-2-Install-dependencies\" >Step 2. Install dependencies<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/#Step-3-Install-GitLab\" >Step 3. Install GitLab<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\" id=\"h-prerequisites\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before we start with the installation there are a few requirements that need to be fulfilled:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>A VPS with at least 4GB of RAM (Our SSD 4 VPS plan)<\/li><li>Fresh install of Ubuntu 20.04<\/li><li>User privileges: root or non-root user with sudo privileges<\/li><li>Pointed A record of domain or subdomain to your server IP address<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-1-update-the-system\"><span class=\"ez-toc-section\" id=\"Step-1-Update-the-System\"><\/span>Step 1. Update the System<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Fresh installation of Ubuntu 20.04 requires the latest software updates. Execute the following command to update the system to its latest version:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt update -y &amp;&amp; apt upgrade -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-2-install-dependencies\"><span class=\"ez-toc-section\" id=\"Step-2-Install-dependencies\"><\/span> Step 2. Install dependencies <span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>After you update the system, you should now install the needed dependencies for the Gitlab installation.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get install -y curl openssh-server ca-certificates tzdata perl<\/code><\/pre>\n\n\n\n<p>Next, you need to install postfix for the notification emails that you would be sent from GitLab. Note, you should have a domain or subdomain pointed to your server before continuing with the installation.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get install -y postfix<\/code><\/pre>\n\n\n\n<p>If the configuration screen appears during the installation you can select the &#8216;Internet site&#8217; option and enter the external DNS &#8216;mail name&#8217; of your server in the next screen. For the next options, you can use the defaults by pressing enter.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-step-3-install-gitlab\"><span class=\"ez-toc-section\" id=\"Step-3-Install-GitLab\"><\/span>  Step 3. Install GitLab  <span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>If the previous installations were successful you now continue with your installation by adding the GitLab package repository with the following command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl https:\/\/packages.gitlab.com\/install\/repositories\/gitlab\/gitlab-ee\/script.deb.sh | sudo bash<\/code><\/pre>\n\n\n\n<p>You are now ready to install GitLab, but before continuing, make sure again that you set up the DNS correctly for your domain or subdomain because you will be using it for the automatic installation. You can now run your GitLab installation with the command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo EXTERNAL_URL=\"https:\/\/example.domain.com\" apt-get install gitlab-ee<\/code><\/pre>\n\n\n\n<p>Note that you should change the EXTERNAL_URL value with your domain or subdomain that you previously set up before starting the installation. During the installation, GitLab will automatically request a certificate from Let&#8217;s Encrypt if you used https:\/\/ in the EXTERNAL_URL value, you can also install with HTTP or use your own certificate.<\/p>\n\n\n\n<p>A random password will be generated for the root user during the installation, you can find the path for the password file at the end of the installation. Usually, you should be able to find the password file at <code>\/etc\/gitlab\/initial_root_password<\/code>. Remember that this password will be stored only for 24 hours.<\/p>\n\n\n\n<p>After the installation is finished you can check the service status with the command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo gitlab-ctl status<\/code><\/pre>\n\n\n\n<p>And you should get similar output if all the services are running.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>run: crond: (pid 50291) 9059s; run: log: (pid 47093) 9462s\nrun: gitaly: (pid 50515) 9043s; run: log: (pid 46688) 9675s\nrun: gitlab-exporter: (pid 50330) 9057s; run: log: (pid 47359) 9356s\nrun: gitlab-workhorse: (pid 50261) 9060s; run: log: (pid 47163) 9423s\nrun: grafana: (pid 50463) 9047s; run: log: (pid 49444) 9136s\nrun: logrotate: (pid 120962) 2510s; run: log: (pid 46614) 9707s\nrun: nginx: (pid 47288) 9386s; run: log: (pid 47207) 9412s\nrun: node-exporter: (pid 50310) 9059s; run: log: (pid 47338) 9374s\nrun: postgres-exporter: (pid 50451) 9047s; run: log: (pid 47800) 9287s\nrun: postgresql: (pid 46828) 9647s; run: log: (pid 46845) 9643s\nrun: prometheus: (pid 50346) 9056s; run: log: (pid 47406) 9325s\nrun: puma: (pid 47097) 9458s; run: log: (pid 47105) 9455s\nrun: redis: (pid 46642) 9694s; run: log: (pid 46653) 9691s\nrun: redis-exporter: (pid 50338) 9057s; run: log: (pid 47379) 9342s\nrun: registry: (pid 50278) 9060s; run: log: (pid 47272) 9390s\nrun: sidekiq: (pid 47115) 9442s; run: log: (pid 47127) 9439s<\/code><\/pre>\n\n\n\n<p>Now you should be able to access your GitLab application from your browser with the domain or subdomain that you previously set up.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"476\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-set-up-gitlab-on-ubuntu-20.04.png\" alt=\"how to set up gitlab on ubuntu 20.04\" class=\"wp-image-40045\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-set-up-gitlab-on-ubuntu-20.04.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-set-up-gitlab-on-ubuntu-20.04-300x139.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-set-up-gitlab-on-ubuntu-20.04-150x70.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-set-up-gitlab-on-ubuntu-20.04-768x357.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You can log in with root and the randomly generated password from  <code>\/etc\/gitlab\/initial_root_password<\/code>.<\/p>\n\n\n\n<p>You can start, stop or restart all the GitLab components with the following commands.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo gitlab-ctl start\n\nsudo gitlab-ctl stop\n\nsudo gitlab-ctl restart<\/code><\/pre>\n\n\n\n<p>You can also start, stop or restart individual components of GitLab. For example, if you want to restart grafana you can do that with the following command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># sudo gitlab-ctl restart grafana\nok: run: grafana: (pid 151924) 1s\n<\/code><\/pre>\n\n\n\n<p>By default, GitLab will allow new user signups, for secure access it is advised to disable it. You can disable it from the GitLab web console &#8211; Menu &gt; Admin -&gt;  Uncheck the Sign-up enabled box.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/setting-up-gitlab-on-ubuntu-20.04-1024x928.png?v=1640163402\" alt=\"setting up gitlab on ubuntu 20.04\" class=\"wp-image-40046\" width=\"155\" height=\"140\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/setting-up-gitlab-on-ubuntu-20.04-1024x928.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/setting-up-gitlab-on-ubuntu-20.04-300x272.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/setting-up-gitlab-on-ubuntu-20.04-150x136.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/setting-up-gitlab-on-ubuntu-20.04-768x696.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/setting-up-gitlab-on-ubuntu-20.04-1536x1392.png 1536w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/setting-up-gitlab-on-ubuntu-20.04-1320x1197.png 1320w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/setting-up-gitlab-on-ubuntu-20.04.png 2000w\" sizes=\"(max-width: 155px) 100vw, 155px\" \/><\/figure><\/div>\n\n\n\n<p>Of course, you don\u2019t have to install GitLab on Ubuntu 20.04. If you find it difficult, by using our <strong><a href=\"https:\/\/www.rosehosting.com\/linux-vps-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">Linux hosting<\/a><\/strong> plans, you can simply ask our expert Linux admins to install GitLab on Ubuntu 20.04 for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n\n\n\n<p>PS. If you liked this post on how to install GitLab on Ubuntu 20.04, please share it with your friends on the social networks using the buttons below or simply leave a reply. Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we are going to show you how to install GitLab on your Ubuntu 20.04 VPS. Gitlab is &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install GitLab on Ubuntu 20.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/#more-39969\" aria-label=\"Read more about How to Install GitLab on Ubuntu 20.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":40144,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,1698],"tags":[286,1603,1839],"class_list":["post-39969","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-ubuntu","tag-gitlab","tag-how-to-install","tag-ubuntu-20-04","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install GitLab on Ubuntu 20.04 | RoseHosting<\/title>\n<meta name=\"description\" content=\"This simple guide explains to the users how to install GitLab on Ubuntu 20.04 OS, for beginners and professionals.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install GitLab on Ubuntu 20.04 | RoseHosting\" \/>\n<meta property=\"og:description\" content=\"This simple guide explains to the users how to install GitLab on Ubuntu 20.04 OS, for beginners and professionals.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-19T18:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:31:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-gitlab-on-ubuntu-20.04.jpg?v=1640596690\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Install GitLab on Ubuntu 20.04 | RoseHosting\" \/>\n<meta name=\"twitter:description\" content=\"This simple guide explains to the users how to install GitLab on Ubuntu 20.04 OS, for beginners and professionals.\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-ubuntu-20-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-ubuntu-20-04\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install GitLab on Ubuntu 20.04\",\"datePublished\":\"2022-01-19T18:30:00+00:00\",\"dateModified\":\"2022-06-03T08:31:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-ubuntu-20-04\\\/\"},\"wordCount\":682,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-ubuntu-20-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/how-to-install-gitlab-on-ubuntu-20.04.jpg\",\"keywords\":[\"gitlab\",\"how to install\",\"Ubuntu 20.04\"],\"articleSection\":[\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-ubuntu-20-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-ubuntu-20-04\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-ubuntu-20-04\\\/\",\"name\":\"How to Install GitLab on Ubuntu 20.04 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-ubuntu-20-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-ubuntu-20-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/how-to-install-gitlab-on-ubuntu-20.04.jpg\",\"datePublished\":\"2022-01-19T18:30:00+00:00\",\"dateModified\":\"2022-06-03T08:31:26+00:00\",\"description\":\"This simple guide explains to the users how to install GitLab on Ubuntu 20.04 OS, for beginners and professionals.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-ubuntu-20-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-ubuntu-20-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-ubuntu-20-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/how-to-install-gitlab-on-ubuntu-20.04.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/how-to-install-gitlab-on-ubuntu-20.04.jpg\",\"width\":742,\"height\":372,\"caption\":\"how to install gitlab on ubuntu 20.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-ubuntu-20-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install GitLab on Ubuntu 20.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install GitLab on Ubuntu 20.04 | RoseHosting","description":"This simple guide explains to the users how to install GitLab on Ubuntu 20.04 OS, for beginners and professionals.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install GitLab on Ubuntu 20.04 | RoseHosting","og_description":"This simple guide explains to the users how to install GitLab on Ubuntu 20.04 OS, for beginners and professionals.","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2022-01-19T18:30:00+00:00","article_modified_time":"2022-06-03T08:31:26+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-gitlab-on-ubuntu-20.04.jpg?v=1640596690","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_title":"How to Install GitLab on Ubuntu 20.04 | RoseHosting","twitter_description":"This simple guide explains to the users how to install GitLab on Ubuntu 20.04 OS, for beginners and professionals.","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install GitLab on Ubuntu 20.04","datePublished":"2022-01-19T18:30:00+00:00","dateModified":"2022-06-03T08:31:26+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/"},"wordCount":682,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-gitlab-on-ubuntu-20.04.jpg","keywords":["gitlab","how to install","Ubuntu 20.04"],"articleSection":["Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/","name":"How to Install GitLab on Ubuntu 20.04 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-gitlab-on-ubuntu-20.04.jpg","datePublished":"2022-01-19T18:30:00+00:00","dateModified":"2022-06-03T08:31:26+00:00","description":"This simple guide explains to the users how to install GitLab on Ubuntu 20.04 OS, for beginners and professionals.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-gitlab-on-ubuntu-20.04.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-gitlab-on-ubuntu-20.04.jpg","width":742,"height":372,"caption":"how to install gitlab on ubuntu 20.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-ubuntu-20-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install GitLab on Ubuntu 20.04"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/39969","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=39969"}],"version-history":[{"count":8,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/39969\/revisions"}],"predecessor-version":[{"id":40145,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/39969\/revisions\/40145"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/40144"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=39969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=39969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=39969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}