{"id":39818,"date":"2024-01-10T12:30:00","date_gmt":"2024-01-10T18:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=39818"},"modified":"2023-12-28T03:06:18","modified_gmt":"2023-12-28T09:06:18","slug":"how-to-install-gitlab-on-debian-11","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-11\/","title":{"rendered":"How to Install GitLab on Debian 11"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-gitlab-on-debian-11.webp\" alt=\"how to install gitlab on debian 11\" class=\"wp-image-47736\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-gitlab-on-debian-11.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-gitlab-on-debian-11-300x169.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-gitlab-on-debian-11-150x84.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-gitlab-on-debian-11-768x432.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>GitLab is a self-hosted git repository management system. This Git repository manager provides features such as a wiki, issue-tracking and continuous integration and deployment. Because of these advantages that bring development, operations, and security teams into a single application, GitLab is now widely used across the globe.  Today we will show you how to install GitLab on your Debian 11 VPS.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Installing GitLab on Debian 11 is fairly easy task, and it should take around 15 minutes for the installation.<\/p>\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-69ed766279ec4\" 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-69ed766279ec4\"  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-debian-11\/#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-debian-11\/#Step-1-Update-System\" >Step 1. Update 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-debian-11\/#Step-2-Add-the-GitLab-Repository\" >Step 2. Add the GitLab Repository<\/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-debian-11\/#Step-3-Install-GitLab\" >Step 3. Install GitLab<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-11\/#Step-4-Configure-GitLab\" >Step 4. Configure GitLab<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A <a href=\"https:\/\/www.rosehosting.com\/debian-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">Debian 11 VPS<\/a>.<\/li>\n\n\n\n<li>At least 4GB of RAM.<\/li>\n\n\n\n<li>SSH access with sudo privileges, or root access.<\/li>\n<\/ul>\n\n\n\n<p>In addition, it is recommended to have at least 2GB of SWAP memory, even if you have enough available RAM.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-1-Update-System\"><\/span>Step 1. Update System<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>First of all, we need to log in to our Debian 11 VPS through SSH:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh master@IP_Address -p Port_Number<\/pre>\n\n\n\n<p>Replace &#8220;master&#8221; with a user that has sudo privileges or root if necessary. Additionally, replace \u201cIP_Address\u201d and \u201cPort_Number\u201d with your server\u2019s respective IP address and SSH port number. Next, let\u2019s make sure that we\u2019re on Debian 11. You can do that like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ lsb_release -a<\/pre>\n\n\n\n<p>You should get this as the output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Distributor ID: Debian<br>Description: Debian GNU\/Linux 11 (bulleseye)<br>Release: 11<br>Codename: bullseye<\/pre>\n\n\n\n<p>Then, run the following command to make sure that all installed packages on the server are updated to their latest available versions:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo apt update &amp;&amp; apt upgrade<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-2-Add-the-GitLab-Repository\"><\/span>Step 2. Add the GitLab Repository<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>There are two ways to install GitLab on Debian 11: we can install it using the repository, or by using the <code>.deb<\/code> package. In this tutorial, we are going to use the repository to install GitLab on Debian 11.<\/p>\n\n\n\n<p>Let&#8217;s download the repository:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">curl -sS https:\/\/packages.gitlab.com\/install\/repositories\/gitlab\/gitlab-ce\/script.deb.sh | sudo bash<\/pre>\n\n\n\n<p>The command above will download the GitLab repository to the APT source list file at <code>\/etc\/apt\/sources.list.d\/gitlab_gitlab-ce.list<\/code><br>Since the GitLab package source file is for Debian 10, we need to modify these lines.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">deb https:\/\/packages.gitlab.com\/gitlab\/gitlab-ce\/debian\/ bullseye main<br>deb-src https:\/\/packages.gitlab.com\/gitlab\/gitlab-ce\/debian\/ bullseye main<\/pre>\n\n\n\n<p>Replace &#8216;bullseye&#8217; with &#8216;buster&#8217; by running this command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo sed -i 's\/bullseye\/buster\/g' \/etc\/apt\/sources.list.d\/gitlab_gitlab-ce.list<\/pre>\n\n\n\n<p>Now, we need to update the repository.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo apt update -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><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>After adding the repository, we can install GitLab Community Edition by runinng this command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo apt install gitlab-ce -y<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"947\" height=\"791\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/gitlab-installation.png\" alt=\"\" class=\"wp-image-39819\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/gitlab-installation.png 947w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/gitlab-installation-300x251.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/gitlab-installation-150x125.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/gitlab-installation-768x641.png 768w\" sizes=\"(max-width: 947px) 100vw, 947px\" \/><\/figure>\n\n\n\n<p>Once the installation is finished, we can run this command to reconfigure it and run GitLab:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo gitlab-ctl reconfigure<\/pre>\n\n\n\n<p>At this point, you should be able to acccess GitLab at <code>http:\/\/YOUR_SERVER_IP_ADDRESS\/<\/code> and log in as root using the password found in <code>\/etc\/gitlab\/initial_root_password<\/code><\/p>\n\n\n\n<p>Please note that the password in <code>\/etc\/gitlab\/initial_root_password<\/code> is valid <strong>only for 24 hours<\/strong>. You can log in and change your password immediately, or reset it using this command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo gitlab-rake \"gitlab:password:reset[root]\"<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-4-Configure-GitLab\"><\/span>Step 4. Configure GitLab<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Now that GitLab is successfully installed, it is time to configure it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Secure GitLab Server with a Let\u2019s Encrypt SSL Certificate<\/h3>\n\n\n\n<p>By default, when installing GitLab without passing an environment for the <code>EXTERNAL_URL<\/code> value. The installation will set <code>http:\/\/gitlab.example.com<\/code> as the external URL. If we want to access our GitLab installation through a domain or subdomain name and install an SSL certificate for it, we can edit the configuration file <code>\/etc\/gitlab\/gitlab.rb<\/code><\/p>\n\n\n\n<p>Open <code>\/etc\/gitlab\/gitlab.rb<\/code> and find <code>external_url<\/code> line<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">external_url 'http:\/\/gitlab.example.com'<\/pre>\n\n\n\n<p>Replace it with<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">external_url 'https:\/\/gitlab.yourdomain.com'<\/pre>\n\n\n\n<p>Make sure that your domain or subdomain DNS record is pointing to your GitLab server.<\/p>\n\n\n\n<p>Then, still in the same file, make sure these are uncommented and modified as followings.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">letsencrypt['enable'] = true\nletsencrypt['contact_emails'] = ['you@yourdomain.com'] \nletsencrypt['auto_renew'] = true<\/pre>\n\n\n\n<p>Save the file then exit.<\/p>\n\n\n\n<p>Now, we need to reconfigure Omnibus GitLab, and we need to do this every time we edit the <code>\/etc\/gitlab\/gitlab.rb<\/code> file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo gitlab-ctl reconfigure<\/pre>\n\n\n\n<p>Run the command above and wait &#8211; once completed you the SSL certificate from Let&#8217;s Encrypt should be installed and you should be able to access your GitLab at <code>https:\/\/YOUR_DOMAIN_NAME.COM<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Email Configuration<\/h3>\n\n\n\n<p>By default, GitLab should be able to send its email using <code>sendmail<\/code>. However, for a better email deliverability, you should consider using an SMTP server for this purpose. Please check our blog at <a href=\"https:\/\/rosehosting.com\/blog\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/rosehosting.com\/blog<\/a> and follow a tutorial on how to install a mail server on your Debian 11. With the SMTP credentials, we can configure GitLab to use SMTP to send its email.<\/p>\n\n\n\n<p>Open <code>\/etc\/gitlab\/gitlab.rb<\/code><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo nano \/etc\/gitlab\/gitlab.rb<\/pre>\n\n\n\n<p>Then, find the following block of text:<\/p>\n\n\n\n<pre id=\"h-gitlab_rails-smtp_enable-true\" class=\"wp-block-preformatted\"># gitlab_rails['smtp_enable'] = true\n# gitlab_rails['smtp_address'] = \"smtp.server\"\n# gitlab_rails['smtp_port'] = 465\n# gitlab_rails['smtp_user_name'] = \"smtp user\"\n# gitlab_rails['smtp_password'] = \"smtp password\"\n# gitlab_rails['smtp_domain'] = \"example.com\"\n# gitlab_rails['smtp_authentication'] = \"login\"\n# gitlab_rails['smtp_enable_starttls_auto'] = true\n# gitlab_rails['smtp_tls'] = true\n# gitlab_rails['smtp_pool'] = false\n# gitlab_rails['smtp_openssl_verify_mode'] = 'none'\n# gitlab_rails['smtp_ca_path'] = \"\/etc\/ssl\/certs\"\n# gitlab_rails['smtp_ca_file'] = \"\/etc\/ssl\/certs\/ca-certificates.crt\"<\/pre>\n\n\n\n<p>You need to uncomment the lines and use your SMTP credentials to make it work. Also make sure that your SMTP password does not contain any string delimiters used in a YAML file, otherwise it will not work. Save your changes then exit the file.<\/p>\n\n\n\n<p>As mentioned earlier, we need to reconfigure Omnibus GitLab after editing the <code>gitlab.rb<\/code> file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo gitlab-ctl reconfigure<\/pre>\n\n\n\n<p>That&#8217;s it. From now on, GitLab will send emails through SMTP, which will result a better email deliverability if compared to using <code>sendmail<\/code>. You can log in to your GitLab website at <code>https:\/\/yourdomain.com<\/code> and start using it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"495\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/gitlab-dashboard-1024x495.png?v=1637898827\" alt=\"\" class=\"wp-image-39820\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/gitlab-dashboard-1024x495.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/gitlab-dashboard-300x145.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/gitlab-dashboard-150x73.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/gitlab-dashboard-768x371.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/gitlab-dashboard-1536x743.png 1536w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/gitlab-dashboard-1320x638.png 1320w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/11\/gitlab-dashboard.png 1712w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Congratulations! You have successfully installed GitLab on Debian 11.<\/p>\n\n\n\n<p>Of course, if you are one of our <a href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\" target=\"_blank\" rel=\"noreferrer noopener\">Debian Hosting<\/a> customers, you don\u2019t have to install GitLab on Debian 11 yourself \u2013 simply ask our admins, sit back, and relax. Our admins will install GitLab on Debian 11 for you immediately without any additional fee, along with many useful optimizations that we can do for you. Managing a GitLab website is not just about the installation, we can help you with optimizing your GitLab installation if you have a VPS with us.<\/p>\n\n\n\n<p>PS. If you liked this post about how to install GitLab on Debian 11, please share it with your friends on the social networks, or simply leave a comment in the comments section. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GitLab is a self-hosted git repository management system. This Git repository manager provides features such as a wiki, issue-tracking and &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install GitLab on Debian 11\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-11\/#more-39818\" aria-label=\"Read more about How to Install GitLab on Debian 11\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":47736,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1700,2072,13],"tags":[48,285,286],"class_list":["post-39818","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","category-open-source","category-tutorials","tag-debian","tag-git","tag-gitlab","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 Debian 11 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Installing GitLab on Debian 11 is a straightforward task thanks to our easy-to-follow guide. Get started in a just a few steps!\" \/>\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-debian-11\/\" \/>\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 Debian 11\" \/>\n<meta property=\"og:description\" content=\"How to Install GitLab on Debian 11 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-11\/\" \/>\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=\"2024-01-10T18:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-gitlab-on-debian-11.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\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-debian-11\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install GitLab on Debian 11\",\"datePublished\":\"2024-01-10T18:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/\"},\"wordCount\":838,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/how-to-install-gitlab-on-debian-11.webp\",\"keywords\":[\"debian\",\"git\",\"gitlab\"],\"articleSection\":[\"Debian\",\"Open-source\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/\",\"name\":\"How to Install GitLab on Debian 11 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/how-to-install-gitlab-on-debian-11.webp\",\"datePublished\":\"2024-01-10T18:30:00+00:00\",\"description\":\"Installing GitLab on Debian 11 is a straightforward task thanks to our easy-to-follow guide. Get started in a just a few steps!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/how-to-install-gitlab-on-debian-11.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/how-to-install-gitlab-on-debian-11.webp\",\"width\":1024,\"height\":576,\"caption\":\"how to install gitlab on debian 11\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install GitLab on Debian 11\"}]},{\"@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 Debian 11 | RoseHosting","description":"Installing GitLab on Debian 11 is a straightforward task thanks to our easy-to-follow guide. Get started in a just a few steps!","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-debian-11\/","og_locale":"en_US","og_type":"article","og_title":"How to Install GitLab on Debian 11","og_description":"How to Install GitLab on Debian 11 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-11\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2024-01-10T18:30:00+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-gitlab-on-debian-11.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","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-debian-11\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-11\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install GitLab on Debian 11","datePublished":"2024-01-10T18:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-11\/"},"wordCount":838,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-11\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-gitlab-on-debian-11.webp","keywords":["debian","git","gitlab"],"articleSection":["Debian","Open-source","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-11\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-11\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-11\/","name":"How to Install GitLab on Debian 11 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-11\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-11\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-gitlab-on-debian-11.webp","datePublished":"2024-01-10T18:30:00+00:00","description":"Installing GitLab on Debian 11 is a straightforward task thanks to our easy-to-follow guide. Get started in a just a few steps!","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-11\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-11\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-11\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-gitlab-on-debian-11.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2023\/12\/how-to-install-gitlab-on-debian-11.webp","width":1024,"height":576,"caption":"how to install gitlab on debian 11"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-11\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install GitLab on Debian 11"}]},{"@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\/39818","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=39818"}],"version-history":[{"count":5,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/39818\/revisions"}],"predecessor-version":[{"id":47737,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/39818\/revisions\/47737"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/47736"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=39818"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=39818"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=39818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}