{"id":28264,"date":"2018-10-09T03:13:49","date_gmt":"2018-10-09T08:13:49","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=28264"},"modified":"2022-12-08T10:49:14","modified_gmt":"2022-12-08T16:49:14","slug":"how-to-install-gitlab-on-debian-9","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-9\/","title":{"rendered":"How to Install GitLab on Debian 9"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignnone size-full wp-image-28558\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-GitLab-on-Debian-9.jpg\" alt=\"How to Install GitLab on Debian 9\" width=\"742\" height=\"372\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-GitLab-on-Debian-9.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-GitLab-on-Debian-9-150x75.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-GitLab-on-Debian-9-300x150.jpg 300w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/p>\n<p><img decoding=\"async\" class=\"alignright size-full wp-image-28556\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-gitlab-debian-9.jpg\" alt=\"install gitlab debian 9\" width=\"150\" height=\"139\" \/>GitLab Community Edition is an open source application that allows a team or developer to manage their project on their own servers, it&#8217;s an alternative to GitHub. GitLab Community Edition is designed to be hosted on our own infrastructure, and it provides flexibility in deploying as an internal repository store for our development team, a public way to interface with users, or a means for contributors to host their own projects. GitLab also provides our teams a single data store, one user interface, and one permission model across the DevOps life-cycle allowing teams to collaborate that would significantly reduce cycle time and focus exclusively on building great software quickly. In this article, we will show you <strong>How to Install GitLab on Debian 9<\/strong>. GitLab will use some ports on your server, so we encourage you to install this on a fresh server to avoid any conflict with your existing applications.<!--more--><\/p>\n<ol>\n<li>\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-69ebfdd8580d3\" 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-69ebfdd8580d3\"  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-9\/#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-9\/#-Log-in-to-your-server-via-SSH\" >\u00a0Log in to your server via SSH:<\/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-9\/#Update-the-system\" >Update the system<\/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-9\/#-Create-a-system-user\" >\u00a0Create a system user<\/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-9\/#-Start-the-GitLab-installation\" >\u00a0Start the GitLab installation<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-9\/#-Add-the-GitLab-package-repository\" >\u00a0Add the GitLab package repository.<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>A fresh installed Debian 9 server<br \/>\nA sudoer system user<br \/>\n8GB of memory or higher<\/p>\n<p>For more details about hardware requirements, please refer to this link https:\/\/docs.gitlab.com\/ce\/install\/requirements.html<\/li>\n<li>\n<h2><span class=\"ez-toc-section\" id=\"-Log-in-to-your-server-via-SSH\"><\/span>\u00a0Log in to your server via SSH:<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre># ssh root@server_ip<\/pre>\n<p>Before starting with the GitLab installation, it is encouraged to check that our system package database is up to date.<\/li>\n<li>\n<h2><span class=\"ez-toc-section\" id=\"Update-the-system\"><\/span>Update the system<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre># apt update\r\n# apt upgrade<\/pre>\n<p>Now, make sure that we are not running a web server on port 80 because GitLab will install nginx on that port and enable it on boot<\/p>\n<pre># systemctl stop apache2\r\n# systemctl disable apache2<\/pre>\n<\/li>\n<li>\n<h2><span class=\"ez-toc-section\" id=\"-Create-a-system-user\"><\/span>\u00a0Create a system user<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre># adduser gituser<\/pre>\n<pre># usermod -aG sudo gituser<\/pre>\n<\/li>\n<li>\n<h2><span class=\"ez-toc-section\" id=\"-Start-the-GitLab-installation\"><\/span>\u00a0Start the GitLab installation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>To start the installation, we need to switch to the regular user we created earlier<\/p>\n<pre># su gituser\r\n$ cd\r\n$ sudo apt install ca-certificates curl<\/pre>\n<\/li>\n<li>\n<h2><span class=\"ez-toc-section\" id=\"-Add-the-GitLab-package-repository\"><\/span>\u00a0Add the GitLab package repository.<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In this tutorial, we will install GitLab CE (Community Edition), and we have to add the package repository to continue with the installation.<\/p>\n<pre>$ sudo curl -LO https:\/\/packages.gitlab.com\/install\/repositories\/gitlab\/gitlab-ce\/script.deb.sh<\/pre>\n<pre>$ sudo bash script.deb.sh<\/pre>\n<p>After adding the repository, <strong>run the following command to install GitLab Community Edition on Debian 9<\/strong><\/p>\n<pre>$ sudo apt install gitlab-ce<\/pre>\n<p>Next, we need to edit the gitlab.rb file, find external_url string and edit it to your server IP address or domain you want to use to access GitLab.<\/p>\n<pre>$ sudo nano \/etc\/gitlab\/gitlab.rb<\/pre>\n<pre>$ sudo gitlab-ctl reconfigure<\/pre>\n<p>The installation will take a few minutes to complete, it will automatically configure and install nginx web server to run GitLab at that defined URL.<\/p>\n<p>Once completed, navigate to your server IP address or domain name you previously specified in external_url in \/etc\/gitlab\/gitlab.rg in a web browser, you will need to create a new password.<\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-28553\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/installing-gitlab-on-debian-9.jpg\" alt=\"installing gitlab on debian 9\" width=\"600\" height=\"436\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/installing-gitlab-on-debian-9.jpg 600w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/installing-gitlab-on-debian-9-150x109.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/installing-gitlab-on-debian-9-300x218.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Once created you can log in to your GitLab backend using &#8220;root&#8221; user and the new password you created earlier. You can change this &#8220;root&#8221; username in Settings &#8211; Account.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-28555\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-gitlab-on-debian-9.jpg\" alt=\"install gitlab on debian 9\" width=\"600\" height=\"290\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-gitlab-on-debian-9.jpg 600w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-gitlab-on-debian-9-150x73.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-gitlab-on-debian-9-300x145.jpg 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>gitlab-ctl is the command line utility you can use to manage GitLab. For example, you can start\/stop it using the following commands:<\/p>\n<pre>$ sudo gitlab-ctl start<\/pre>\n<pre>$ sudo gitlab-ctl stop<\/pre>\n<h3>Additional configuration for application email:<\/h3>\n<p>By default, GitLab will use sendmail to send emails from the application. If you would rather send application email via an SMTP server instead of via Sendmail, add the following configuration information to \/etc\/gitlab\/gitlab.rb<\/p>\n<pre>gitlab_rails['smtp_enable'] = true\r\ngitlab_rails['smtp_address'] = \"smtp.gmail.com\"\r\ngitlab_rails['smtp_port'] = 587\r\ngitlab_rails['smtp_user_name'] = \"my.email@gmail.com\"\r\ngitlab_rails['smtp_password'] = \"my-gmail-password\"\r\ngitlab_rails['smtp_domain'] = \"smtp.gmail.com\"\r\ngitlab_rails['smtp_authentication'] = \"login\"\r\ngitlab_rails['smtp_enable_starttls_auto'] = true\r\ngitlab_rails['smtp_tls'] = false\r\ngitlab_rails['smtp_openssl_verify_mode'] = 'peer' # Can be: 'none', 'peer', 'client_once', 'fail_if_no_peer_cert', see http:\/\/api.rubyonrails.org\/classes\/ActionMailer\/Base.html\r\n<\/pre>\n<p>Once edited, you can run this command:<\/p>\n<pre>$ sudo gitlab-ctl reconfigure<\/pre>\n<h3>How to Backup GitLab on Debian 9<\/h3>\n<p>The default data backup will be stored in \/var\/opt\/gitlab\/backups. You can modify this backup path in \/etc\/gitlab\/gitlab.rb file. If you made changes to the backup configuration, do not forget to run the following command to create the backup.<\/p>\n<pre>$ sudo gitlab-rake gitlab:backup:create<\/pre>\n<p>You can also add the same command in the cron job to backup your data.<\/p>\n<pre>0 3 * * 2-6 sudo gitlab-rake gitlab:backup:create<\/pre>\n<p>That&#8217;s it, GitLab has been successfully installed and running on your Debian 9 server, you and your team can start working with it now.<\/p>\n<hr \/>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-28556\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/install-gitlab-debian-9.jpg\" alt=\"install gitlab debian 9\" width=\"150\" height=\"139\" \/>Of course, you don\u2019t have to <strong>install GitLab on Debian 9<\/strong> if you have a <a href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\">Debian VPS Hosting<\/a> with us. You can simply ask our support team to install GitLab on Debian 9 for you. They are available 24\/7 and will be able to help you with the installation of GitLab on Debian 9. An updated version of this post is available on <a href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitea-on-debian-9\/\">How to Install Gitea on Debian 9<\/a>.<\/p>\n<p>PS. If you enjoy reading this blog post on How to Install GitLab on Debian 9, feel free to share it on social networks using the shortcuts below, or simply leave a comment.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GitLab Community Edition is an open source application that allows a team or developer to manage their project on their &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install GitLab on Debian 9\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-9\/#more-28264\" aria-label=\"Read more about How to Install GitLab on Debian 9\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":28558,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1700,13],"tags":[1577,286],"class_list":["post-28264","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","category-tutorials","tag-debian-9","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 9 | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to Install GitLab on Debian 9 | RoseHosting\" \/>\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-9\/\" \/>\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 9\" \/>\n<meta property=\"og:description\" content=\"How to Install GitLab on Debian 9 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-9\/\" \/>\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=\"2018-10-09T08:13:49+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-08T16:49:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-GitLab-on-Debian-9.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=\"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-9\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-9\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install GitLab on Debian 9\",\"datePublished\":\"2018-10-09T08:13:49+00:00\",\"dateModified\":\"2022-12-08T16:49:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-9\\\/\"},\"wordCount\":690,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-9\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/How-to-Install-GitLab-on-Debian-9.jpg\",\"keywords\":[\"debian 9\",\"gitlab\"],\"articleSection\":[\"Debian\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-9\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-9\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-9\\\/\",\"name\":\"How to Install GitLab on Debian 9 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-9\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-9\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/How-to-Install-GitLab-on-Debian-9.jpg\",\"datePublished\":\"2018-10-09T08:13:49+00:00\",\"dateModified\":\"2022-12-08T16:49:14+00:00\",\"description\":\"How to Install GitLab on Debian 9 | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-9\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-9\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-9\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/How-to-Install-GitLab-on-Debian-9.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/10\\\/How-to-Install-GitLab-on-Debian-9.jpg\",\"width\":742,\"height\":372,\"caption\":\"How to Install GitLab on Debian 9\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-on-debian-9\\\/#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 9\"}]},{\"@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 9 | RoseHosting","description":"How to Install GitLab on Debian 9 | RoseHosting","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-9\/","og_locale":"en_US","og_type":"article","og_title":"How to Install GitLab on Debian 9","og_description":"How to Install GitLab on Debian 9 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-9\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2018-10-09T08:13:49+00:00","article_modified_time":"2022-12-08T16:49:14+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-GitLab-on-Debian-9.jpg","type":"image\/jpeg"}],"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-9\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-9\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install GitLab on Debian 9","datePublished":"2018-10-09T08:13:49+00:00","dateModified":"2022-12-08T16:49:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-9\/"},"wordCount":690,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-9\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-GitLab-on-Debian-9.jpg","keywords":["debian 9","gitlab"],"articleSection":["Debian","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-9\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-9\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-9\/","name":"How to Install GitLab on Debian 9 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-9\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-9\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-GitLab-on-Debian-9.jpg","datePublished":"2018-10-09T08:13:49+00:00","dateModified":"2022-12-08T16:49:14+00:00","description":"How to Install GitLab on Debian 9 | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-9\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-9\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-9\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-GitLab-on-Debian-9.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2018\/10\/How-to-Install-GitLab-on-Debian-9.jpg","width":742,"height":372,"caption":"How to Install GitLab on Debian 9"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-on-debian-9\/#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 9"}]},{"@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\/28264","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=28264"}],"version-history":[{"count":3,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/28264\/revisions"}],"predecessor-version":[{"id":43870,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/28264\/revisions\/43870"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/28558"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=28264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=28264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=28264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}