{"id":1609,"date":"2021-12-30T12:30:00","date_gmt":"2021-12-30T18:30:00","guid":{"rendered":"https:\/\/linuxhostsupport.com\/blog\/?p=1609"},"modified":"2021-12-06T06:36:42","modified_gmt":"2021-12-06T12:36:42","slug":"how-to-install-gitlab-on-debian-11","status":"publish","type":"post","link":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-gitlab-on-debian-11\/","title":{"rendered":"How to Install GitLab on Debian 11"},"content":{"rendered":"\n<div id=\"linux-3197075479\" class=\"linux-before-1st-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1339&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div><p>GitLab is a self-hosted git repository management system. It is a Git repository manager providing wiki, issue-tracking, and continuous integration and deployment. Because of the advantage that brings development, operations, and security teams into a single application, GitLab is now widely used across the globe. Installing GitLab on Debian 11 is a fairly easy task and it should take around 15 minutes for the installation. Today we will show you how to install GitLab on your <a href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\">Debian 11 VPS<\/a>.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-prerequisites\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>A Debian 11 VPS.<\/li><li>At least 4GB of RAM.<\/li><li>SSH access with sudo privileges, or root access.<\/li><\/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\" id=\"h-step-1-update-system\">Step 1. Update System<\/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\" id=\"h-step-2-add-repository\">Step 2. Add Repository<\/h2>\n\n\n\n<p>There are two ways to install GitLab on Debian 11; we can install it using the repository or the deb package. In this tutorial, we are going to use the repository to install GitLab on Debian 11.<\/p>\n\n\n\n<p>At this step, we will use the repository for Debian 10, because the repository for Debian 11 is not available at this time of writing.<\/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 \/etc\/apt\/sources.list.d\/gitlab_gitlab-ce.list<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\" id=\"h-step-3-install-gitlab\">Step 3. Install GitLab<\/h2>\n\n\n\n<p>After adding the repository, we can install GitLab Community Edition by running 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:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/installing-gitlab-on-debian-11.png\" alt=\"installing gitlab on debian 11\" class=\"wp-image-1617\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/installing-gitlab-on-debian-11.png 947w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/installing-gitlab-on-debian-11-300x251.png 300w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/installing-gitlab-on-debian-11-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 access GitLab at <code>http:\/\/YOUR_SERVER_IP_ADDRESS\/<\/code> and log in as root using the password in <code>\/etc\/gitlab\/initial_root_password<\/code><\/p>\n\n\n\n<p>Please note that the password in \/etc\/gitlab\/initial_root_password is valid only for 24 hours. 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\" id=\"h-step-4-configure-gitlab\">Step 4. Configure GitLab<\/h2>\n\n\n\n<p>GitLab has been successfully installed, and it is time to configure it.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-secure-gitlab-server-with-let-s-encrypt-ssl-certificate\">Secure GitLab Server with Let\u2019s Encrypt SSL Certificate<\/h3>\n\n\n\n<p>By default, when installing GitLab without passing an environment for the EXTERNAL_URL value. The installation will set http:\/\/gitlab.example.com 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 \/etc\/gitlab\/gitlab.rb<\/p>\n\n\n\n<p>Open \/etc\/gitlab\/gitlab.rb and find external_url 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 follows.<\/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 \/etc\/gitlab\/gitlab.rb 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, 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\" id=\"h-email-configuration\">Email Configuration<\/h3>\n\n\n\n<p>By default, GitLab should be able to send its email using sendmail. However, for better email deliverability, you should consider using an SMTP server for this purpose. With the SMTP credentials, we can configure GitLab to use SMTP to send its email.<\/p>\n\n\n\n<p>Open \/etc\/gitlab\/gitlab.rb<\/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<\/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 gitlab.rb file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo gitlab-ctl reconfigure<\/pre>\n\n\n\n<p>And that&#8217;s it. From now on, GitLab will send emails through SMTP which will result in better email deliverability if compared to using sendmail. You can log in to your GitLab website at https:\/\/yourdomain.com and start using it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"495\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/configuring-gitlab-on-debian-11.png\" alt=\"configuring gitlab on debian 11\" class=\"wp-image-1618\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/configuring-gitlab-on-debian-11.png 1024w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/configuring-gitlab-on-debian-11-300x145.png 300w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/configuring-gitlab-on-debian-11-768x371.png 768w\" 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 using the share buttons below, or simply leave a comment in the comments section. Thanks.<\/p><div id=\"linux-1294772646\" class=\"linux-after-8th-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1340&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>GitLab is a self-hosted git repository management system. It is a Git repository manager providing wiki, issue-tracking, and continuous integration and deployment. Because of the advantage that brings development, operations, and security teams into a single application, GitLab is now widely used across the globe. Installing GitLab on Debian 11 is a fairly easy task [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1610,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[201,2],"tags":[211,115,199],"class_list":["post-1609","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","category-tutorials","tag-debian-11","tag-gitlab","tag-how-to-install"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install GitLab on Debian 11 | LinuxHostSupport<\/title>\n<meta name=\"description\" content=\"Learn how to install GitLab on Debian 11 OS with this detailed guide. GitLab is a self-hosted git repository management system.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxhostsupport.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 | LinuxHostSupport\" \/>\n<meta property=\"og:description\" content=\"Learn how to install GitLab on Debian 11 OS with this detailed guide. GitLab is a self-hosted git repository management system.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxhostsupport.com\/blog\/how-to-install-gitlab-on-debian-11\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxHostSupport\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/linuxhostsupport\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-30T18:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-gitlab-on-debian-11.jpg\" \/>\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=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Install GitLab on Debian 11 | LinuxHostSupport\" \/>\n<meta name=\"twitter:description\" content=\"Learn how to install GitLab on Debian 11 OS with this detailed guide. GitLab is a self-hosted git repository management system.\" \/>\n<meta name=\"twitter:creator\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:site\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\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:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"headline\":\"How to Install GitLab on Debian 11\",\"datePublished\":\"2021-12-30T18:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/\"},\"wordCount\":870,\"commentCount\":3,\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/how-to-install-gitlab-on-debian-11.jpg\",\"keywords\":[\"debian 11\",\"gitlab\",\"how to install\"],\"articleSection\":[\"Debian\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/\",\"name\":\"How to Install GitLab on Debian 11 | LinuxHostSupport\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/how-to-install-gitlab-on-debian-11.jpg\",\"datePublished\":\"2021-12-30T18:30:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"description\":\"Learn how to install GitLab on Debian 11 OS with this detailed guide. GitLab is a self-hosted git repository management system.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/how-to-install-gitlab-on-debian-11.jpg\",\"contentUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/how-to-install-gitlab-on-debian-11.jpg\",\"width\":742,\"height\":372,\"caption\":\"how to install gitlab on debian 11\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-install-gitlab-on-debian-11\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install GitLab on Debian 11\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\",\"name\":\"LinuxHostSupport\",\"description\":\"Linux Tutorials and Guides\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install GitLab on Debian 11 | LinuxHostSupport","description":"Learn how to install GitLab on Debian 11 OS with this detailed guide. GitLab is a self-hosted git repository management system.","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:\/\/linuxhostsupport.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 | LinuxHostSupport","og_description":"Learn how to install GitLab on Debian 11 OS with this detailed guide. GitLab is a self-hosted git repository management system.","og_url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-gitlab-on-debian-11\/","og_site_name":"LinuxHostSupport","article_publisher":"https:\/\/www.facebook.com\/linuxhostsupport","article_published_time":"2021-12-30T18:30:00+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-gitlab-on-debian-11.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_title":"How to Install GitLab on Debian 11 | LinuxHostSupport","twitter_description":"Learn how to install GitLab on Debian 11 OS with this detailed guide. GitLab is a self-hosted git repository management system.","twitter_creator":"@lnxhostsupport","twitter_site":"@lnxhostsupport","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-gitlab-on-debian-11\/#article","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-gitlab-on-debian-11\/"},"author":{"name":"admin","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"headline":"How to Install GitLab on Debian 11","datePublished":"2021-12-30T18:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-gitlab-on-debian-11\/"},"wordCount":870,"commentCount":3,"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-gitlab-on-debian-11\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-gitlab-on-debian-11.jpg","keywords":["debian 11","gitlab","how to install"],"articleSection":["Debian","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-gitlab-on-debian-11\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-gitlab-on-debian-11\/","url":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-gitlab-on-debian-11\/","name":"How to Install GitLab on Debian 11 | LinuxHostSupport","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-gitlab-on-debian-11\/#primaryimage"},"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-gitlab-on-debian-11\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-gitlab-on-debian-11.jpg","datePublished":"2021-12-30T18:30:00+00:00","author":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"description":"Learn how to install GitLab on Debian 11 OS with this detailed guide. GitLab is a self-hosted git repository management system.","breadcrumb":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-gitlab-on-debian-11\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-install-gitlab-on-debian-11\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-gitlab-on-debian-11\/#primaryimage","url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-gitlab-on-debian-11.jpg","contentUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-install-gitlab-on-debian-11.jpg","width":742,"height":372,"caption":"how to install gitlab on debian 11"},{"@type":"BreadcrumbList","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-install-gitlab-on-debian-11\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxhostsupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install GitLab on Debian 11"}]},{"@type":"WebSite","@id":"https:\/\/linuxhostsupport.com\/blog\/#website","url":"https:\/\/linuxhostsupport.com\/blog\/","name":"LinuxHostSupport","description":"Linux Tutorials and Guides","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1609","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/comments?post=1609"}],"version-history":[{"count":4,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1609\/revisions"}],"predecessor-version":[{"id":1619,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1609\/revisions\/1619"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media\/1610"}],"wp:attachment":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media?parent=1609"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/categories?post=1609"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/tags?post=1609"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}