{"id":2123,"date":"2013-09-21T21:34:14","date_gmt":"2013-09-22T02:34:14","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=2123"},"modified":"2022-06-03T03:52:18","modified_gmt":"2022-06-03T08:52:18","slug":"how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\/","title":{"rendered":"How to install Gitlab, Ruby and Nginx on a Debian 7 (Wheezy) VPS"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><a href=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/09\/how-to-install-gitlab-ruby-and-nginx-on-debian-7-wheezy-vps.jpg\"><img decoding=\"async\" class=\"alignleft size-medium wp-image-2124\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/09\/how-to-install-gitlab-ruby-and-nginx-on-debian-7-wheezy-vps-300x230.jpg\" alt=\"how-to-install-gitlab-ruby-and-nginx-on-debian-7-wheezy-vps\" width=\"300\" height=\"230\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/09\/how-to-install-gitlab-ruby-and-nginx-on-debian-7-wheezy-vps-300x230.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/09\/how-to-install-gitlab-ruby-and-nginx-on-debian-7-wheezy-vps.jpg 320w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>GitLab is a fast, secure and stable solution to manage your projects. It is a self hosted Git management software based on Ruby on Rails and has a free and open-source license.<\/p>\n<p>GitLab is one of the most installed git management applications in the world. With GitLab you can create projects and repositories, manage access and do code review.<\/p>\n<p>In the following article we are going to show you how you can deploy GitLab on one of our <a title=\"Linux VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Debian VPS hosting<\/a> plans.<\/p>\n<p><!--more--><\/p>\n<p>Before proceeding any further with the installation, fire up a <code>screen<\/code> session by running:<\/p>\n<pre class=\"brush: shell; gutter: false\">screen -U -S gitlab-install<\/pre>\n<p>and then make sure your <a title=\"Debian Virtual Private Servers\" href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Debian Wheezy server<\/a> is fully up-to-date by executing the following commands:<\/p>\n<pre class=\"brush: shell; gutter: false\">apt-get update\r\napt-get upgrade<\/pre>\n<p>Next, proceed with installing some required packages. Do this by executing:<\/p>\n<pre class=\"brush: shell; gutter: false\">apt-get install sudo vim dialog build-essential zlib1g-dev libyaml-dev libssl-dev libgdbm-dev libreadline-dev libncurses5-dev libffi-dev curl git-core openssh-server redis-server checkinstall libxml2-dev libxslt-dev libcurl4-openssl-dev libicu-dev python-docutils<\/pre>\n<p>Then, set-up <code>vim<\/code> as your default editor by:<\/p>\n<pre class=\"brush: shell; gutter: false\">update-alternatives --set editor \/usr\/bin\/vim.basic<\/pre>\n<p>once that&#8217;s completed, next thing to do is to verify you have the correct python version on your <a title=\"Debian Based Virtual Private Servers by RoseHosting\" href=\"https:\/\/www.rosehosting.com\/debian-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Debian Wheezy VPS<\/a>. The Python version has to be greater than 2.5 and lower than 3.0+<\/p>\n<pre class=\"brush: shell; gutter: false\">apt-get install -y python\r\npython --version\r\nPython 2.7.3<\/pre>\n<p>now check if you can access python shell via &#8216;python2&#8217;:<\/p>\n<pre class=\"brush: shell; gutter: false\">test ! -e \/usr\/bin\/python2 &amp;&amp; ln -s \/usr\/bin\/python \/usr\/bin\/python2\r\npython2 --version\r\nPython 2.7.3<\/pre>\n<p>if everything is ok so far, then we are ready to compile and install ruby from source, so proceed by running the following commands:<\/p>\n<pre class=\"brush: shell; gutter: false\">mkdir -p \/opt\/ruby &amp;&amp; cd \/opt\/ruby\r\ncurl --progress ftp:\/\/ftp.ruby-lang.org\/pub\/ruby\/2.0\/ruby-2.0.0-p247.tar.gz | tar xz\r\ncd ruby-2.0.0-p247\r\n.\/configure\r\nmake\r\nmake install<\/pre>\n<p>once ruby is compiled and installed on the system, install the <code>bundler<\/code> ruby gem with the following command:<\/p>\n<pre class=\"brush: shell; gutter: false\">gem install bundler --no-ri --no-rdoc<\/pre>\n<p>Next, set-up &#8216;git&#8217; system user and gitlab-shell for GitLab<\/p>\n<pre class=\"brush: shell; gutter: false\">adduser --disabled-login --gecos 'GitLab' git<\/pre>\n<pre class=\"brush: shell; gutter: false\">cd \/home\/git\r\nsudo -u git -H git clone https:\/\/github.com\/gitlabhq\/gitlab-shell.git\r\ncd gitlab-shell<\/pre>\n<pre class=\"brush: shell; gutter: false\">sudo -u git -H git checkout v1.7.1\r\nsudo -u git -H cp config.yml.example config.yml\r\nsudo -u git -H vim config.yml<\/pre>\n<p><em>make sure you replace <code>gitlab_url<\/code> with your desired URL<\/em><\/p>\n<pre class=\"brush: shell; gutter: false\">sudo -u git -H .\/bin\/install<\/pre>\n<p>The next step is to set-up your MySQL database server:<\/p>\n<pre class=\"brush: shell; gutter: false\">apt-get install mysql-server mysql-client libmysqlclient-dev<\/pre>\n<p><em>enter your desired MySQL &#8216;root&#8217; password when prompted<\/em><\/p>\n<pre class=\"brush: shell; gutter: false\">mysql -u root -p\r\nmysql&gt; CREATE DATABASE IF NOT EXISTS `gitlabDB` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`;\r\nmysql&gt; GRANT ALL ON `gitlabDB`.* TO 'gitlab'@'localhost' identified by '&lt;YOUR_DB_PASS&gt;';\r\nmysql&gt; \\q<\/pre>\n<p>Once you created the database that will be used by the GitLab application, proceed with the installation of GitLab:<\/p>\n<pre class=\"brush: shell; gutter: false\">cd \/home\/git\r\nsudo -u git -H git clone https:\/\/github.com\/gitlabhq\/gitlabhq.git gitlab\r\ncd \/home\/git\/gitlab\r\nsudo -u git -H git checkout 6-0-stable\r\n\r\ncd \/home\/git\/gitlab\r\nsudo -u git -H cp config\/gitlab.yml.example config\/gitlab.yml\r\nsudo -u git -H vim config\/gitlab.yml<\/pre>\n<p><em>change the <code>host<\/code> variable to your desired URL<\/em><\/p>\n<p>next, set-up some necessary directory permissions:<\/p>\n<pre class=\"brush: shell; gutter: false\">chown -R git log\/\r\nchown -R git tmp\/\r\nchmod -R u+rwX  log\/\r\nchmod -R u+rwX  tmp\/\r\nsudo -u git -H mkdir \/home\/git\/gitlab-satellites\r\nsudo -u git -H mkdir tmp\/pids\/\r\nsudo -u git -H mkdir tmp\/sockets\/\r\nchmod -R u+rwX  tmp\/pids\/\r\nchmod -R u+rwX  tmp\/sockets\/\r\nsudo -u git -H mkdir public\/uploads\r\nchmod -R u+rwX  public\/uploads<\/pre>\n<p>and proceed with configuring the <code>unicorn<\/code> HTTP server:<\/p>\n<pre class=\"brush: shell; gutter: false\">sudo -u git -H cp config\/unicorn.rb.example config\/unicorn.rb\r\nsudo -u git -H vim config\/unicorn.rb<\/pre>\n<p><em>make sure you tune <code>unicorn<\/code> to suit your needs. be careful how much resources you allocate and actually have. you can always start with something like <code>worker_processes 1<\/code> and <code>timeout 120<\/code><\/em><\/p>\n<p>finally, perform the following git configuration:<\/p>\n<pre class=\"brush: shell; gutter: false\">sudo -u git -H git config --global user.name \"GitLab\"\r\nsudo -u git -H git config --global user.email \"gitlab@&lt;YOUR_URL&gt;\"\r\nsudo -u git -H git config --global core.autocrlf input<\/pre>\n<p>next thing to do is to set-up the database connection. Do this by executing the following commands:<\/p>\n<pre class=\"brush: shell; gutter: false\">sudo -u git cp config\/database.yml.mysql config\/database.yml\r\nsudo -u git -H vim config\/database.yml<\/pre>\n<p><em>make sure you change the following under the <code>production<\/code> section:<\/em><\/p>\n<pre>database: gitlabDB\r\nusername: gitlab\r\npassword: \"&lt;YOUR_DB_PASS&gt;\"<\/pre>\n<pre class=\"brush: shell; gutter: false\">sudo -u git -H chmod o-rwx config\/database.yml<\/pre>\n<p>install some other required ruby gems:<\/p>\n<pre class=\"brush: shell; gutter: false\">cd \/home\/git\/gitlab\r\ngem install charlock_holmes --version '0.6.9.4'\r\nsudo -u git -H bundle install --deployment --without development test postgres aws<\/pre>\n<p>initialize the database<\/p>\n<pre class=\"brush: shell; gutter: false\">sudo -u git -H bundle exec rake gitlab:setup RAILS_ENV=production<\/pre>\n<p><em>make sure to type &#8216;yes&#8217; when prompted<\/em><\/p>\n<p>proceed with setting-up gitlab&#8217;s init script<\/p>\n<pre class=\"brush: shell; gutter: false\">cp lib\/support\/init.d\/gitlab \/etc\/init.d\/gitlab\r\nchmod +x \/etc\/init.d\/gitlab\r\nupdate-rc.d gitlab defaults 21<\/pre>\n<p>then check gitlab application status and start the appliaction by running:<\/p>\n<pre class=\"brush: shell; gutter: false\">sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production\r\nservice gitlab start<\/pre>\n<p>The final step is to install and set-up Nginx in front of GitLab:<\/p>\n<pre class=\"brush: shell; gutter: false\">apt-get install nginx\r\nrm -f \/etc\/nginx\/sites-enabled\/default\r\ncp lib\/support\/nginx\/gitlab \/etc\/nginx\/sites-available\/gitlab\r\nln -s \/etc\/nginx\/sites-available\/gitlab \/etc\/nginx\/sites-enabled\/gitlab<\/pre>\n<pre class=\"brush: shell; gutter: false\">vim \/etc\/nginx\/sites-available\/gitlab<\/pre>\n<p><em>make sure to change <code>server_name YOUR_SERVER_FQDN<\/code> to <code>server_name &lt;YOUR_URL&gt;<\/code><\/em><\/p>\n<p>finally, restart nginx by executing:<\/p>\n<pre class=\"brush: shell; gutter: false\">service nginx restart<\/pre>\n<p>&nbsp;<\/p>\n<p>navigate to http:\/\/&lt;YOUR_URL&gt; and login using:<\/p>\n<p>login&#8230;&#8230;&#8230;admin@local.host<br \/>\npassword&#8230;&#8230;5iveL!fe<\/p>\n<p><strong><span style=\"color: #ff0000;\">PS<\/span><\/strong> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GitLab is a fast, secure and stable solution to manage your projects. It is a self hosted Git management software &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to install Gitlab, Ruby and Nginx on a Debian 7 (Wheezy) VPS\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\/#more-2123\" aria-label=\"Read more about How to install Gitlab, Ruby and Nginx on a Debian 7 (Wheezy) VPS\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":2124,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1700,13,1712,1707],"tags":[48,79,285,286,177,39,49,1152,139,141],"class_list":["post-2123","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","category-tutorials","category-web-frameworks","category-web-servers","tag-debian","tag-debian-vps","tag-git","tag-gitlab","tag-linux-vps","tag-mysql","tag-nginx","tag-rosehosting","tag-ruby","tag-ruby-on-rails","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, Ruby and Nginx on a Debian 7 (Wheezy) VPS | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to install Gitlab, Ruby and Nginx on a Debian 7 (Wheezy) VPS | 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-ruby-and-nginx-on-a-debian-7-wheezy-vps\/\" \/>\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, Ruby and Nginx on a Debian 7 (Wheezy) VPS\" \/>\n<meta property=\"og:description\" content=\"How to install Gitlab, Ruby and Nginx on a Debian 7 (Wheezy) VPS | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\/\" \/>\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=\"2013-09-22T02:34:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:52:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/09\/how-to-install-gitlab-ruby-and-nginx-on-debian-7-wheezy-vps.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"320\" \/>\n\t<meta property=\"og:image:height\" content=\"246\" \/>\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-ruby-and-nginx-on-a-debian-7-wheezy-vps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to install Gitlab, Ruby and Nginx on a Debian 7 (Wheezy) VPS\",\"datePublished\":\"2013-09-22T02:34:14+00:00\",\"dateModified\":\"2022-06-03T08:52:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\\\/\"},\"wordCount\":461,\"commentCount\":13,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/09\\\/how-to-install-gitlab-ruby-and-nginx-on-debian-7-wheezy-vps.jpg\",\"keywords\":[\"debian\",\"debian vps\",\"git\",\"gitlab\",\"linux vps\",\"mysql\",\"nginx\",\"rosehosting\",\"ruby\",\"ruby on rails\"],\"articleSection\":[\"Debian\",\"Tutorials\",\"Web Frameworks\",\"Web Servers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\\\/\",\"name\":\"How to install Gitlab, Ruby and Nginx on a Debian 7 (Wheezy) VPS | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/09\\\/how-to-install-gitlab-ruby-and-nginx-on-debian-7-wheezy-vps.jpg\",\"datePublished\":\"2013-09-22T02:34:14+00:00\",\"dateModified\":\"2022-06-03T08:52:18+00:00\",\"description\":\"How to install Gitlab, Ruby and Nginx on a Debian 7 (Wheezy) VPS | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/09\\\/how-to-install-gitlab-ruby-and-nginx-on-debian-7-wheezy-vps.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2013\\\/09\\\/how-to-install-gitlab-ruby-and-nginx-on-debian-7-wheezy-vps.jpg\",\"width\":320,\"height\":246,\"caption\":\"how-to-install-gitlab-ruby-and-nginx-on-debian-7-wheezy-vps\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install Gitlab, Ruby and Nginx on a Debian 7 (Wheezy) VPS\"}]},{\"@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, Ruby and Nginx on a Debian 7 (Wheezy) VPS | RoseHosting","description":"How to install Gitlab, Ruby and Nginx on a Debian 7 (Wheezy) VPS | 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-ruby-and-nginx-on-a-debian-7-wheezy-vps\/","og_locale":"en_US","og_type":"article","og_title":"How to install Gitlab, Ruby and Nginx on a Debian 7 (Wheezy) VPS","og_description":"How to install Gitlab, Ruby and Nginx on a Debian 7 (Wheezy) VPS | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2013-09-22T02:34:14+00:00","article_modified_time":"2022-06-03T08:52:18+00:00","og_image":[{"width":320,"height":246,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/09\/how-to-install-gitlab-ruby-and-nginx-on-debian-7-wheezy-vps.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-ruby-and-nginx-on-a-debian-7-wheezy-vps\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to install Gitlab, Ruby and Nginx on a Debian 7 (Wheezy) VPS","datePublished":"2013-09-22T02:34:14+00:00","dateModified":"2022-06-03T08:52:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\/"},"wordCount":461,"commentCount":13,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/09\/how-to-install-gitlab-ruby-and-nginx-on-debian-7-wheezy-vps.jpg","keywords":["debian","debian vps","git","gitlab","linux vps","mysql","nginx","rosehosting","ruby","ruby on rails"],"articleSection":["Debian","Tutorials","Web Frameworks","Web Servers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\/","name":"How to install Gitlab, Ruby and Nginx on a Debian 7 (Wheezy) VPS | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/09\/how-to-install-gitlab-ruby-and-nginx-on-debian-7-wheezy-vps.jpg","datePublished":"2013-09-22T02:34:14+00:00","dateModified":"2022-06-03T08:52:18+00:00","description":"How to install Gitlab, Ruby and Nginx on a Debian 7 (Wheezy) VPS | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/09\/how-to-install-gitlab-ruby-and-nginx-on-debian-7-wheezy-vps.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2013\/09\/how-to-install-gitlab-ruby-and-nginx-on-debian-7-wheezy-vps.jpg","width":320,"height":246,"caption":"how-to-install-gitlab-ruby-and-nginx-on-debian-7-wheezy-vps"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-gitlab-ruby-and-nginx-on-a-debian-7-wheezy-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install Gitlab, Ruby and Nginx on a Debian 7 (Wheezy) VPS"}]},{"@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\/2123","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=2123"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/2123\/revisions"}],"predecessor-version":[{"id":42287,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/2123\/revisions\/42287"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/2124"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=2123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=2123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=2123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}