{"id":15526,"date":"2025-08-08T12:53:37","date_gmt":"2025-08-08T07:23:37","guid":{"rendered":"https:\/\/www.skynats.com\/?p=15526"},"modified":"2025-09-01T16:49:15","modified_gmt":"2025-09-01T11:19:15","slug":"gitlab-installation-on-ubuntu-24-04","status":"publish","type":"post","link":"https:\/\/www.skynats.com\/blog\/gitlab-installation-on-ubuntu-24-04\/","title":{"rendered":"GitLab Installation on Ubuntu 24.04"},"content":{"rendered":"\n<p>GitLab is one of the most powerful <a href=\"https:\/\/devops.com\/\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-secondary-color\">DevOps<\/mark><\/a> tools available today. If you&#8217;re running a team or an enterprise that prefers self-hosting, GitLab Self-Managed is the way to go. This guide walks you through the process of GitLab installation on Ubuntu 24.04, ensuring a secure and fully functional setup.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\" id=\"h-prerequisites\">Prerequisites<\/h2>\n\n\n\n<p>Before starting the GitLab Installation, ensure the following requirements:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Supported Ubuntu versions: <strong>24.04<\/strong><\/li>\n\n\n\n<li>Server with Minimum 8 GB RAM<\/li>\n\n\n\n<li>DNS correctly configured for your server (e.g :- gitlab.codinol.top)<\/li>\n\n\n\n<li>Root or sudo access to the server<\/li>\n\n\n\n<li>Open ports: <strong>22 (SSH)<\/strong>, <strong>80 (HTTP)<\/strong>, <strong>443 (HTTPS)<\/strong><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\" id=\"h-step-1-login-via-ssh-to-the-server\">Step 1: Login via SSH to the server<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>ssh root@server_ip<\/code><\/pre>\n\n\n\n<p>Now Configure UFW to allow the necessary traffic:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo ufw allow 22\/tcp\n\nsudo ufw allow 80\/tcp\n\nsudo ufw allow 443\/tcp\n\nsudo ufw enable<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading has-small-font-size\">Step 2: Add the GitLab Package Repository<\/h2>\n\n\n\n<p>Install curl (if not already installed):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install curl<\/code><\/pre>\n\n\n\n<p>Now, add the GitLab <strong>Community Edition (CE)<\/strong> package repository:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl \"https:\/\/packages.gitlab.com\/install\/repositories\/gitlab\/gitlab-ce\/script.deb.sh\" | sudo bash<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\">Step 3: Install GitLab CE<\/h3>\n\n\n\n<p>Set the external URL where GitLab will be accessible. This is important for generating SSL certificates and proper routing<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo EXTERNAL_URL=\"https:\/\/gitlab.codinol.top\" apt install gitlab-ce<\/code><\/pre>\n\n\n\n<p>Replace \u201cgitlab.codinol.top\u201d with your domain or server IP. If you use HTTPS, GitLab will automatically attempt to get a Let&#8217;s Encrypt certificate.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-normal-font-size\">Step 4: Access and Configure GitLab<\/h3>\n\n\n\n<p>Once the GitLab Installation is complete:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Visit your GitLab instance at <strong>https:\/\/gitlab.codinol.top<\/strong><\/li>\n\n\n\n<li>The first time you log in, use the credentials generated for the root account.<\/li>\n<\/ol>\n\n\n\n<p>GitLab will store the default password in \/etc\/gitlab\/initial_root_password:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cat \/etc\/gitlab\/initial_root_password<\/code><\/pre>\n\n\n\n<p>This file is deleted automatically after 24 hours for security. Make sure to save the password somewhere secure.<\/p>\n\n\n\n<p>You can log in to GitLab using the username<strong> root<\/strong> and the password retrieved from the<strong> \/etc\/gitlab\/initial_root_password <\/strong>file in the previous step.<\/p>\n\n\n\n<p>Do you need help with your GitLab installation on Ubuntu 24.04? Our experts are here to assist! Contact us today for professional <a href=\"https:\/\/www.skynats.com\/server-management\/\">server management services<\/a> and seamless GitLab setup tailored to your infrastructure needs.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>GitLab is one of the most powerful DevOps tools available today. If you&#8217;re running a team or an enterprise that prefers self-hosting, GitLab Self-Managed is the way to go. This guide walks you through the process of GitLab installation on Ubuntu 24.04, ensuring a secure and fully functional setup. Prerequisites Before starting the GitLab Installation, [&hellip;]<\/p>\n","protected":false},"author":14,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[1077,302],"class_list":["post-15526","post","type-post","status-publish","format-standard","hentry","category-blog","tag-gitlab-installation","tag-server-management-services"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>GitLab Installation Made Easy on Ubuntu 24.04<\/title>\n<meta name=\"description\" content=\"Quick &amp; easy GitLab Installation on Ubuntu 24.04! Follow our guide to set up GitLab fast\u2014boost your DevOps today!\" \/>\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.skynats.com\/blog\/gitlab-installation-on-ubuntu-24-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"GitLab Installation on Ubuntu 24.04\" \/>\n<meta property=\"og:description\" content=\"Quick &amp; easy GitLab Installation on Ubuntu 24.04! Follow our guide to set up GitLab fast\u2014boost your DevOps today!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.skynats.com\/blog\/gitlab-installation-on-ubuntu-24-04\/\" \/>\n<meta property=\"og:site_name\" content=\"Server Management Services | Cloud Management | Skynats\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/skynats\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-08T07:23:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-01T11:19:15+00:00\" \/>\n<meta name=\"author\" content=\"Jishnu V\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@skynatstech\" \/>\n<meta name=\"twitter:site\" content=\"@skynatstech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jishnu V\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/gitlab-installation-on-ubuntu-24-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/gitlab-installation-on-ubuntu-24-04\\\/\"},\"author\":{\"name\":\"Jishnu V\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#\\\/schema\\\/person\\\/c63611da5e22d216e38d8658e5a605c5\"},\"headline\":\"GitLab Installation on Ubuntu 24.04\",\"datePublished\":\"2025-08-08T07:23:37+00:00\",\"dateModified\":\"2025-09-01T11:19:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/gitlab-installation-on-ubuntu-24-04\\\/\"},\"wordCount\":301,\"publisher\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#organization\"},\"keywords\":[\"GitLab Installation\",\"server management services\"],\"articleSection\":[\"Blog\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/gitlab-installation-on-ubuntu-24-04\\\/\",\"url\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/gitlab-installation-on-ubuntu-24-04\\\/\",\"name\":\"GitLab Installation Made Easy on Ubuntu 24.04\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#website\"},\"datePublished\":\"2025-08-08T07:23:37+00:00\",\"dateModified\":\"2025-09-01T11:19:15+00:00\",\"description\":\"Quick & easy GitLab Installation on Ubuntu 24.04! Follow our guide to set up GitLab fast\u2014boost your DevOps today!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/gitlab-installation-on-ubuntu-24-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.skynats.com\\\/blog\\\/gitlab-installation-on-ubuntu-24-04\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/gitlab-installation-on-ubuntu-24-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"GitLab Installation on Ubuntu 24.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/\",\"name\":\"Server Management Services | Cloud Management | Skynats\",\"description\":\"Server Management and Cloud Management\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#organization\",\"name\":\"Skynats Technologies\",\"url\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Sknats-Logo-New-whole.png\",\"contentUrl\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Sknats-Logo-New-whole.png\",\"width\":989,\"height\":367,\"caption\":\"Skynats Technologies\"},\"image\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/skynats\",\"https:\\\/\\\/x.com\\\/skynatstech\",\"https:\\\/\\\/www.instagram.com\\\/skynatstech\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/skynats-technologies\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCvTAjrFJ4_E2MJKwlDHomlg\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#\\\/schema\\\/person\\\/c63611da5e22d216e38d8658e5a605c5\",\"name\":\"Jishnu V\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9fc7882cfbe811c2c069669ed9a43c27a8b4f7e013fc7e9d539199f807dc7ab1?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9fc7882cfbe811c2c069669ed9a43c27a8b4f7e013fc7e9d539199f807dc7ab1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/9fc7882cfbe811c2c069669ed9a43c27a8b4f7e013fc7e9d539199f807dc7ab1?s=96&d=mm&r=g\",\"caption\":\"Jishnu V\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"GitLab Installation Made Easy on Ubuntu 24.04","description":"Quick & easy GitLab Installation on Ubuntu 24.04! Follow our guide to set up GitLab fast\u2014boost your DevOps today!","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.skynats.com\/blog\/gitlab-installation-on-ubuntu-24-04\/","og_locale":"en_US","og_type":"article","og_title":"GitLab Installation on Ubuntu 24.04","og_description":"Quick & easy GitLab Installation on Ubuntu 24.04! Follow our guide to set up GitLab fast\u2014boost your DevOps today!","og_url":"https:\/\/www.skynats.com\/blog\/gitlab-installation-on-ubuntu-24-04\/","og_site_name":"Server Management Services | Cloud Management | Skynats","article_publisher":"https:\/\/www.facebook.com\/skynats","article_published_time":"2025-08-08T07:23:37+00:00","article_modified_time":"2025-09-01T11:19:15+00:00","author":"Jishnu V","twitter_card":"summary_large_image","twitter_creator":"@skynatstech","twitter_site":"@skynatstech","twitter_misc":{"Written by":"Jishnu V","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.skynats.com\/blog\/gitlab-installation-on-ubuntu-24-04\/#article","isPartOf":{"@id":"https:\/\/www.skynats.com\/blog\/gitlab-installation-on-ubuntu-24-04\/"},"author":{"name":"Jishnu V","@id":"https:\/\/www.skynats.com\/blog\/#\/schema\/person\/c63611da5e22d216e38d8658e5a605c5"},"headline":"GitLab Installation on Ubuntu 24.04","datePublished":"2025-08-08T07:23:37+00:00","dateModified":"2025-09-01T11:19:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.skynats.com\/blog\/gitlab-installation-on-ubuntu-24-04\/"},"wordCount":301,"publisher":{"@id":"https:\/\/www.skynats.com\/blog\/#organization"},"keywords":["GitLab Installation","server management services"],"articleSection":["Blog"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.skynats.com\/blog\/gitlab-installation-on-ubuntu-24-04\/","url":"https:\/\/www.skynats.com\/blog\/gitlab-installation-on-ubuntu-24-04\/","name":"GitLab Installation Made Easy on Ubuntu 24.04","isPartOf":{"@id":"https:\/\/www.skynats.com\/blog\/#website"},"datePublished":"2025-08-08T07:23:37+00:00","dateModified":"2025-09-01T11:19:15+00:00","description":"Quick & easy GitLab Installation on Ubuntu 24.04! Follow our guide to set up GitLab fast\u2014boost your DevOps today!","breadcrumb":{"@id":"https:\/\/www.skynats.com\/blog\/gitlab-installation-on-ubuntu-24-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.skynats.com\/blog\/gitlab-installation-on-ubuntu-24-04\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.skynats.com\/blog\/gitlab-installation-on-ubuntu-24-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.skynats.com\/blog\/"},{"@type":"ListItem","position":2,"name":"GitLab Installation on Ubuntu 24.04"}]},{"@type":"WebSite","@id":"https:\/\/www.skynats.com\/blog\/#website","url":"https:\/\/www.skynats.com\/blog\/","name":"Server Management Services | Cloud Management | Skynats","description":"Server Management and Cloud Management","publisher":{"@id":"https:\/\/www.skynats.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.skynats.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.skynats.com\/blog\/#organization","name":"Skynats Technologies","url":"https:\/\/www.skynats.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.skynats.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2021\/08\/Sknats-Logo-New-whole.png","contentUrl":"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2021\/08\/Sknats-Logo-New-whole.png","width":989,"height":367,"caption":"Skynats Technologies"},"image":{"@id":"https:\/\/www.skynats.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/skynats","https:\/\/x.com\/skynatstech","https:\/\/www.instagram.com\/skynatstech\/","https:\/\/www.linkedin.com\/company\/skynats-technologies","https:\/\/www.youtube.com\/channel\/UCvTAjrFJ4_E2MJKwlDHomlg"]},{"@type":"Person","@id":"https:\/\/www.skynats.com\/blog\/#\/schema\/person\/c63611da5e22d216e38d8658e5a605c5","name":"Jishnu V","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/9fc7882cfbe811c2c069669ed9a43c27a8b4f7e013fc7e9d539199f807dc7ab1?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/9fc7882cfbe811c2c069669ed9a43c27a8b4f7e013fc7e9d539199f807dc7ab1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9fc7882cfbe811c2c069669ed9a43c27a8b4f7e013fc7e9d539199f807dc7ab1?s=96&d=mm&r=g","caption":"Jishnu V"}}]}},"_links":{"self":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/15526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/comments?post=15526"}],"version-history":[{"count":3,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/15526\/revisions"}],"predecessor-version":[{"id":15690,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/15526\/revisions\/15690"}],"wp:attachment":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/media?parent=15526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/categories?post=15526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/tags?post=15526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}