{"id":18222,"date":"2015-12-10T14:24:36","date_gmt":"2015-12-10T20:24:36","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=18222"},"modified":"2026-03-02T03:32:37","modified_gmt":"2026-03-02T09:32:37","slug":"install-gogs-on-an-ubuntu-14-04-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/install-gogs-on-an-ubuntu-14-04-vps\/","title":{"rendered":"Install Gogs on an Ubuntu 14.04 VPS"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignleft wp-image-18224\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/11\/install-gogs-on-an-ubuntu-14-04-vps.png\" alt=\"install-gogs-on-an-ubuntu-14-04-vps\" width=\"109\" height=\"116\" \/>In this guide, we will explain how to <strong>install Gogs on an Ubuntu 14.04 VPS<\/strong> with MariaDB and Nginx as proxy server. Gogs is an open source self-hosted Git service written in the Go programming language. This guide should work on other <a title=\"Linux VPS\" href=\"https:\/\/www.rosehosting.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS<\/a> systems as well but was tested and written for an <a title=\"Ubuntu VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu 14.04 VPS<\/a>.<br \/>\n<!--more--><\/p>\n<h4>Login to your VPS via SSH<\/h4>\n<pre>ssh user@vps_IP<\/pre>\n<h4>Update the system and install necessary packages<\/h4>\n<pre>[user]$ sudo apt-get update &amp;&amp; sudo apt-get -y upgrade\r\n[user]$ sudo apt-get install software-properties-common nano git wget apt-transport-https\r\n<\/pre>\n<h4>Install MariaDB 10.0<\/h4>\n<p>To add the MariaDB repository to your sources list and install the latest MariaDB server, run the following commands:<\/p>\n<pre>[user]$ sudo apt-key adv --recv-keys --keyserver hkp:\/\/keyserver.ubuntu.com:80 0xcbcb082a1bb943db\r\n[user]$ sudo add-apt-repository 'deb http:\/\/ftp.osuosl.org\/pub\/mariadb\/repo\/10.0\/ubuntu trusty main'\r\n[user]$ sudo apt-get update\r\n[user]$ sudo apt-get install -y mariadb-server<\/pre>\n<p>When the installation is complete, run the following command to secure your installation:<\/p>\n<pre>[user]$ mysql_secure_installation<\/pre>\n<p>Next, we need to create a database for our Gogs installation.<\/p>\n<pre>[user]$ mysql -uroot -p<\/pre>\n<pre>MariaDB [(none)]&gt; CREATE DATABASE gogs;\r\nMariaDB [(none)]&gt; GRANT ALL PRIVILEGES ON gogs.* TO 'gogs'@'localhost' IDENTIFIED BY 'your_gogs_password';\r\nMariaDB [(none)]&gt; FLUSH PRIVILEGES;\r\nMariaDB [(none)]&gt; \\q<\/pre>\n<h4>Install Gogs<\/h4>\n<p>The following commands will download the apt registry keys for Gogs and install the Gogs binary.<\/p>\n<pre>[user]$ wget -qO - https:\/\/deb.packager.io\/key | sudo apt-key add -\r\n[user]$ echo \"deb https:\/\/deb.packager.io\/gh\/pkgr\/gogs trusty pkgr\" | sudo tee \/etc\/apt\/sources.list.d\/gogs.list\r\n[user]$ sudo apt-get update\r\n[user]$ sudo apt-get install gogs<\/pre>\n<h4>Install and configure Nginx<\/h4>\n<p>Ubuntu 14.04 comes with nginx version 1.4, to install the latest stable version of Nginx version 1.8, run:<\/p>\n<pre>[user]$ sudo add-apt-repository -y ppa:nginx\/stable\r\n[user]$ sudo apt-get update\r\n[user]$ sudo apt-get -y install nginx<\/pre>\n<p>Generate a self signed ssl certificate:<\/p>\n<pre>[user]$ sudo mkdir -p \/etc\/nginx\/ssl\r\n[user]$ cd \/etc\/nginx\/ssl\r\n[user]$ sudo openssl genrsa -des3 -passout pass:x -out gogs.pass.key 2048\r\n[user]$ sudo openssl rsa -passin pass:x -in gogs.pass.key -out gogs.key\r\n[user]$ sudo rm gogs.pass.key\r\n[user]$ sudo openssl req -new -key gogs.key -out gogs.csr\r\n[user]$ sudo openssl x509 -req -days 365 -in gogs.csr -signkey gogs.key -out gogs.crt<\/pre>\n<p>If you don&#8217;t want to get warnings associated with self-signed SSL Certificates, you can purchase a trusted SSL certificate <a href=\"https:\/\/www.rosehosting.com\/ssl-certificates.html\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n<p>Next, create a new Nginx server block:<\/p>\n<pre>[user]$ sudo nano \/etc\/nginx\/sites-available\/gogs.domain.tld<\/pre>\n<pre>upstream gogs {\r\n    server 127.0.0.1:3000;\r\n}\r\nserver {\r\n    listen      443 default;\r\n    server_name gogs.domain.tld;\r\n\r\n    ssl on;\r\n    ssl_certificate     \/etc\/nginx\/ssl\/gogs.crt;\r\n    ssl_certificate_key \/etc\/nginx\/ssl\/gogs.key;\r\n    ssl_session_timeout 5m;\r\n\r\n    ssl_ciphers               'AES128+EECDH:AES128+EDH:!aNULL';\r\n    ssl_protocols              TLSv1 TLSv1.1 TLSv1.2;\r\n    ssl_prefer_server_ciphers on;\r\n\r\n    access_log  \/var\/log\/nginx\/gogs.access.log;\r\n    error_log   \/var\/log\/nginx\/gogs.error.log;\r\n\r\n    location \/ {\r\n        proxy_pass  http:\/\/gogs;\r\n        proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;\r\n        proxy_redirect off;\r\n\r\n        proxy_set_header    Host            $host;\r\n        proxy_set_header    X-Real-IP       $remote_addr;\r\n        proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;\r\n        proxy_set_header    X-Forwarded-Proto https;\r\n    }\r\n}\r\n\r\nserver {\r\n    listen      80;\r\n    server_name gogs.domain.tld;\r\n\r\n    add_header Strict-Transport-Security max-age=2592000;\r\n    rewrite ^ https:\/\/$server_name$request_uri? permanent;\r\n}\r\n<\/pre>\n<p>Do not forget to change your_user with your username.<\/p>\n<p>Activate the server block by creating a symbolic link :<\/p>\n<pre>[user]$ sudo ln -s \/etc\/nginx\/sites-available\/gogs.domain.tld \/etc\/nginx\/sites-enabled\/gogs.domain.tld<\/pre>\n<p>Test the Nginx configuration and restart nginx:<\/p>\n<pre>[user]$ sudo nginx -t\r\n[user]$ sudo service nginx restart<\/pre>\n<hr \/>\n<h4>Setup Gogs<\/h4>\n<p>Once the installation is complete, go to https:\/\/gogs.domain.tld\/install and fill all the required options.<\/p>\n<p><strong>Database Settings<\/strong><br \/>\n&#8211; Database Type: MySQL<br \/>\n&#8211; Host: <code>127.0.0.1:3306<\/code><br \/>\n&#8211; User: gogs<br \/>\n&#8211; Password: your_gogs_password<br \/>\n&#8211; Database Name: gogs<\/p>\n<p><strong>General Settings of Gogs<\/strong><br \/>\n&#8211; Application Name: Gogs: Go Git Service<br \/>\n&#8211; Repository Root Path: \/home\/git\/gogs-repositories<br \/>\n&#8211; Run User: gogs<br \/>\n&#8211; Domain: gogs.domain.tld<br \/>\n&#8211; SSH Port: 22<br \/>\n&#8211; HTTP Port: 3000<br \/>\n&#8211; Application URL: https:\/\/gogs.domain.tld\/<\/p>\n<p>Finally, click install and you&#8217;re good to go.<\/p>\n<p>Administrative access is automatically granted to the first registered user.<\/p>\n<p>That\u2019s it. You have successfully installed Gogs on your Ubuntu 14.04 VPS. For more information about how to manage your Gogs installation, please refer to the official <a title=\"Gogs\" href=\"https:\/\/gogs.io\/getting-started\/introduction\" target=\"_blank\" rel=\"noopener noreferrer\">Gogs <\/a> documentation.<\/p>\n<hr \/>\n<p>Of course you don\u2019t have to do any of this if you use one of our <a title=\"linux vps hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to setup this for you. They are available 24&#215;7 and will take care of your request immediately. You can also read our guide on <a href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-gogs-on-ubuntu-18-04\/\">How to Install Gogs on Ubuntu 18.04<\/a>.<\/p>\n<p><span style=\"color: #ff0000;\"><strong>PS<\/strong><\/span>. 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>In this guide, we will explain how to install Gogs on an Ubuntu 14.04 VPS with MariaDB and Nginx as &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Install Gogs on an Ubuntu 14.04 VPS\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/install-gogs-on-an-ubuntu-14-04-vps\/#more-18222\" aria-label=\"Read more about Install Gogs on an Ubuntu 14.04 VPS\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":18224,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,1698],"tags":[285,1003,1002],"class_list":["post-18222","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-ubuntu","tag-git","tag-go","tag-gogs","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.2 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Install Gogs on an Ubuntu 14.04 VPS | RoseHosting<\/title>\n<meta name=\"description\" content=\"Install Gogs on an Ubuntu 14.04 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\/install-gogs-on-an-ubuntu-14-04-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install Gogs on an Ubuntu 14.04 VPS\" \/>\n<meta property=\"og:description\" content=\"Install Gogs on an Ubuntu 14.04 VPS | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/install-gogs-on-an-ubuntu-14-04-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=\"2015-12-10T20:24:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-02T09:32:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/11\/install-gogs-on-an-ubuntu-14-04-vps.png\" \/>\n\t<meta property=\"og:image:width\" content=\"143\" \/>\n\t<meta property=\"og:image:height\" content=\"152\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-gogs-on-an-ubuntu-14-04-vps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-gogs-on-an-ubuntu-14-04-vps\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"Install Gogs on an Ubuntu 14.04 VPS\",\"datePublished\":\"2015-12-10T20:24:36+00:00\",\"dateModified\":\"2026-03-02T09:32:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-gogs-on-an-ubuntu-14-04-vps\\\/\"},\"wordCount\":435,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-gogs-on-an-ubuntu-14-04-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/11\\\/install-gogs-on-an-ubuntu-14-04-vps.png\",\"keywords\":[\"git\",\"go\",\"gogs\"],\"articleSection\":[\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-gogs-on-an-ubuntu-14-04-vps\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-gogs-on-an-ubuntu-14-04-vps\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-gogs-on-an-ubuntu-14-04-vps\\\/\",\"name\":\"Install Gogs on an Ubuntu 14.04 VPS | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-gogs-on-an-ubuntu-14-04-vps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-gogs-on-an-ubuntu-14-04-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/11\\\/install-gogs-on-an-ubuntu-14-04-vps.png\",\"datePublished\":\"2015-12-10T20:24:36+00:00\",\"dateModified\":\"2026-03-02T09:32:37+00:00\",\"description\":\"Install Gogs on an Ubuntu 14.04 VPS | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-gogs-on-an-ubuntu-14-04-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-gogs-on-an-ubuntu-14-04-vps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-gogs-on-an-ubuntu-14-04-vps\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/11\\\/install-gogs-on-an-ubuntu-14-04-vps.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/11\\\/install-gogs-on-an-ubuntu-14-04-vps.png\",\"width\":143,\"height\":152},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/install-gogs-on-an-ubuntu-14-04-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install Gogs on an Ubuntu 14.04 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":"Install Gogs on an Ubuntu 14.04 VPS | RoseHosting","description":"Install Gogs on an Ubuntu 14.04 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\/install-gogs-on-an-ubuntu-14-04-vps\/","og_locale":"en_US","og_type":"article","og_title":"Install Gogs on an Ubuntu 14.04 VPS","og_description":"Install Gogs on an Ubuntu 14.04 VPS | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/install-gogs-on-an-ubuntu-14-04-vps\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2015-12-10T20:24:36+00:00","article_modified_time":"2026-03-02T09:32:37+00:00","og_image":[{"width":143,"height":152,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/11\/install-gogs-on-an-ubuntu-14-04-vps.png","type":"image\/png"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/install-gogs-on-an-ubuntu-14-04-vps\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-gogs-on-an-ubuntu-14-04-vps\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"Install Gogs on an Ubuntu 14.04 VPS","datePublished":"2015-12-10T20:24:36+00:00","dateModified":"2026-03-02T09:32:37+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-gogs-on-an-ubuntu-14-04-vps\/"},"wordCount":435,"commentCount":2,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-gogs-on-an-ubuntu-14-04-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/11\/install-gogs-on-an-ubuntu-14-04-vps.png","keywords":["git","go","gogs"],"articleSection":["Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/install-gogs-on-an-ubuntu-14-04-vps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/install-gogs-on-an-ubuntu-14-04-vps\/","url":"https:\/\/www.rosehosting.com\/blog\/install-gogs-on-an-ubuntu-14-04-vps\/","name":"Install Gogs on an Ubuntu 14.04 VPS | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-gogs-on-an-ubuntu-14-04-vps\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-gogs-on-an-ubuntu-14-04-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/11\/install-gogs-on-an-ubuntu-14-04-vps.png","datePublished":"2015-12-10T20:24:36+00:00","dateModified":"2026-03-02T09:32:37+00:00","description":"Install Gogs on an Ubuntu 14.04 VPS | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/install-gogs-on-an-ubuntu-14-04-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/install-gogs-on-an-ubuntu-14-04-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/install-gogs-on-an-ubuntu-14-04-vps\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/11\/install-gogs-on-an-ubuntu-14-04-vps.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2015\/11\/install-gogs-on-an-ubuntu-14-04-vps.png","width":143,"height":152},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/install-gogs-on-an-ubuntu-14-04-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Install Gogs on an Ubuntu 14.04 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\/18222","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=18222"}],"version-history":[{"count":2,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/18222\/revisions"}],"predecessor-version":[{"id":51644,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/18222\/revisions\/51644"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/18224"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=18222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=18222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=18222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}