{"id":2490,"date":"2016-08-12T11:29:15","date_gmt":"2016-08-12T15:29:15","guid":{"rendered":"https:\/\/www.globo.tech\/learning-center\/?p=2490"},"modified":"2017-04-19T16:01:49","modified_gmt":"2017-04-19T20:01:49","slug":"install-owncloud-ubuntu-16","status":"publish","type":"post","link":"https:\/\/www.globo.tech\/learning-center\/install-owncloud-ubuntu-16\/","title":{"rendered":"How to Install OwnCloud on Ubuntu 16"},"content":{"rendered":"<p>Owncloud is a file synchronization and collaboration platform that can run on your own server. Featuring a nice web interface, clients for all major operating systems, and standards-compliant use of APIs and protocols, Owncloud can replace many popular cloud services with a solution that respects autonomy and privacy. In this guide, we&#8217;ll install Owncloud on an Ubuntu 16.04 LTS server.<\/p>\n<h2>Getting Started<\/h2>\n<p>Confirm that you have the following before you follow this guide:<br \/>\n\u2022 1 Node (<a href=\"https:\/\/www.globo.tech\/cloud-server-pricing\" target=\"_blank\">Cloud Server<\/a> or <a href=\"http:\/\/www.globo.tech\/dedicated-server-hosting\" target=\"_blank\">Dedicated Server<\/a>) running Ubuntu 16.<br \/>\n\u2022 Root access to the node or one sudo non-root user<\/p>\n<p><code class=\"gris\">If you don't want to go through the whole installation of OwnCloud on your CentOS 7 server, you can always try our <a href=\"https:\/\/www.globo.tech\/cloud-server-pricing\" target=\"_blank\">One-Click Apps<\/a> and get a new OwnCloud instance in seconds. <\/code><\/p>\n<h2>Tutorial<\/h2>\n<p>Start by adding the Owncloud package repository. Not only will this be how we install Owncloud, but it will also make upgrades extremely easy later.<\/p>\n<p><code>nano \/etc\/apt\/sources.list.d\/owncloud.list<br \/>\ndeb http:\/\/download.owncloud.org\/download\/repositories\/stable\/Ubuntu_16.04\/ \/<\/code><\/p>\n<p>In order to ensure that the packages we install are official, we&#8217;ll also retrieve the GPG key for the Owncloud repository we&#8217;ve just added.<\/p>\n<p><code>wget https:\/\/download.owncloud.org\/download\/repositories\/stable\/Ubuntu_16.04\/Release.key<br \/>\napt-key add Release.key<\/code><\/p>\n<p>With the repository installed and the key added, we must next update our package cache so Owncloud is available.<\/p>\n<p><code>apt-get update<br \/>\napt-get install owncloud -y<\/code><\/p>\n<p>We&#8217;ll use MariaDB as Owncloud&#8217;s database server. Install that now.<\/p>\n<p><code>apt-get install mariadb-server -y<\/code><\/p>\n<p>The database server must now be secure. Let&#8217;s take care of that.<\/p>\n<p><code>systemctl start mysql.service<br \/>\nsystemctl enable mysql.service<br \/>\nmysql_secure_installation<\/code><\/p>\n<p>Owncloud needs a database and MariaDB user to access it. Here we&#8217;ll create the necessary database and access credentials.<\/p>\n<p><code>mysql -u root -p<br \/>\nMariaDB> CREATE DATABASE owncloud;<br \/>\nMariaDB> CREATE USER 'cloud'@'localhost' IDENTIFIED BY 'cloudpassword';<br \/>\nMariaDB> GRANT ALL PRIVILEGES ON owncloud.* TO 'cloud'@'localhost';<br \/>\nMariaDB> FLUSH PRIVILEGES;<br \/>\nMariaDB> exit<\/code><\/p>\n<p>Your web server needs permission to write to its document root, as files and other synced content must be persisted to the disk. Here we grant it the necessary access rights.<\/p>\n<p><code>chown -R www-data. \/var\/www\/owncloud\/<br \/>\nsystemctl restart apache2.service<\/code><\/p>\n<p>Everything is now set up on the server itself. The remaining installation steps are performed via Owncloud&#8217;s web-based installer. Visit http:\/\/your_ip\/owncloud to complete the process.<\/p>\n<p>Start by creating your username and password. Not only will this user be able to sync files and store contacts, but it will also have administrative privileges for Owncloud itself.<\/p>\n<p>Choose MySQL\/MariaDB as your database server.<\/p>\n<p>Next you&#8217;ll enter the database name, username and password that we set up earlier.<\/p>\n<h2>Conclusion<\/h2>\n<p>Owncloud is now installed. Next you&#8217;ll want to install clients on your desktop and phone, and to sync your contacts and calendars using your new installation. Share this article with any friends who may be interested in hosting their own Dropbox or Google Calendar.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Owncloud is a file synchronization and collaboration platform that can run on your own server. Featuring a nice web interface, clients for all major operating systems, and standards-compliant use of APIs and protocols, Owncloud can replace many popular cloud services with a solution that respects autonomy and privacy. In this guide, we&#8217;ll install Owncloud on<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71],"tags":[],"class_list":["post-2490","post","type-post","status-publish","format-standard","hentry","category-applications","operating_system-centos-7","operating_system-ubuntu-16-04","applications-owncloud"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install OwnCloud on Ubuntu 16 - Globo.Tech<\/title>\n<meta name=\"description\" content=\"This tutorial will walk you through the installation of the OwnCloud platform to your Ubuntu 16 server. Read now &amp; Launch your own personnal Cloud !\" \/>\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.globo.tech\/learning-center\/install-owncloud-ubuntu-16\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install OwnCloud on Ubuntu 16 - Globo.Tech\" \/>\n<meta property=\"og:description\" content=\"This tutorial will walk you through the installation of the OwnCloud platform to your Ubuntu 16 server. Read now &amp; Launch your own personnal Cloud !\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.globo.tech\/learning-center\/install-owncloud-ubuntu-16\/\" \/>\n<meta property=\"og:site_name\" content=\"Globo.Tech\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-12T15:29:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-04-19T20:01:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/GloboTech-Logo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"963\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"GloboTech Communications\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"GloboTech Communications\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-owncloud-ubuntu-16\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-owncloud-ubuntu-16\\\/\"},\"author\":{\"name\":\"GloboTech Communications\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\"},\"headline\":\"How to Install OwnCloud on Ubuntu 16\",\"datePublished\":\"2016-08-12T15:29:15+00:00\",\"dateModified\":\"2017-04-19T20:01:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-owncloud-ubuntu-16\\\/\"},\"wordCount\":371,\"commentCount\":0,\"articleSection\":[\"Applications\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-owncloud-ubuntu-16\\\/\",\"url\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-owncloud-ubuntu-16\\\/\",\"name\":\"How to Install OwnCloud on Ubuntu 16 - Globo.Tech\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#website\"},\"datePublished\":\"2016-08-12T15:29:15+00:00\",\"dateModified\":\"2017-04-19T20:01:49+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\"},\"description\":\"This tutorial will walk you through the installation of the OwnCloud platform to your Ubuntu 16 server. Read now & Launch your own personnal Cloud !\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-owncloud-ubuntu-16\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-owncloud-ubuntu-16\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/install-owncloud-ubuntu-16\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install OwnCloud on Ubuntu 16\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#website\",\"url\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/\",\"name\":\"Globo.Tech\",\"description\":\"Welcome to the Official Globo.Tech Learning Center\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\",\"name\":\"GloboTech Communications\",\"sameAs\":[\"http:\\\/\\\/www.gtcomm.net\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install OwnCloud on Ubuntu 16 - Globo.Tech","description":"This tutorial will walk you through the installation of the OwnCloud platform to your Ubuntu 16 server. Read now & Launch your own personnal Cloud !","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.globo.tech\/learning-center\/install-owncloud-ubuntu-16\/","og_locale":"en_US","og_type":"article","og_title":"How to Install OwnCloud on Ubuntu 16 - Globo.Tech","og_description":"This tutorial will walk you through the installation of the OwnCloud platform to your Ubuntu 16 server. Read now & Launch your own personnal Cloud !","og_url":"https:\/\/www.globo.tech\/learning-center\/install-owncloud-ubuntu-16\/","og_site_name":"Globo.Tech","article_published_time":"2016-08-12T15:29:15+00:00","article_modified_time":"2017-04-19T20:01:49+00:00","og_image":[{"width":1920,"height":963,"url":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/GloboTech-Logo.png","type":"image\/png"}],"author":"GloboTech Communications","twitter_misc":{"Written by":"GloboTech Communications","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.globo.tech\/learning-center\/install-owncloud-ubuntu-16\/#article","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/install-owncloud-ubuntu-16\/"},"author":{"name":"GloboTech Communications","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"headline":"How to Install OwnCloud on Ubuntu 16","datePublished":"2016-08-12T15:29:15+00:00","dateModified":"2017-04-19T20:01:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.globo.tech\/learning-center\/install-owncloud-ubuntu-16\/"},"wordCount":371,"commentCount":0,"articleSection":["Applications"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.globo.tech\/learning-center\/install-owncloud-ubuntu-16\/","url":"https:\/\/www.globo.tech\/learning-center\/install-owncloud-ubuntu-16\/","name":"How to Install OwnCloud on Ubuntu 16 - Globo.Tech","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/#website"},"datePublished":"2016-08-12T15:29:15+00:00","dateModified":"2017-04-19T20:01:49+00:00","author":{"@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"description":"This tutorial will walk you through the installation of the OwnCloud platform to your Ubuntu 16 server. Read now & Launch your own personnal Cloud !","breadcrumb":{"@id":"https:\/\/www.globo.tech\/learning-center\/install-owncloud-ubuntu-16\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.globo.tech\/learning-center\/install-owncloud-ubuntu-16\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.globo.tech\/learning-center\/install-owncloud-ubuntu-16\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.globo.tech\/learning-center\/"},{"@type":"ListItem","position":2,"name":"How to Install OwnCloud on Ubuntu 16"}]},{"@type":"WebSite","@id":"https:\/\/www.globo.tech\/learning-center\/#website","url":"https:\/\/www.globo.tech\/learning-center\/","name":"Globo.Tech","description":"Welcome to the Official Globo.Tech Learning Center","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.globo.tech\/learning-center\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87","name":"GloboTech Communications","sameAs":["http:\/\/www.gtcomm.net"]}]}},"_links":{"self":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/comments?post=2490"}],"version-history":[{"count":3,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2490\/revisions"}],"predecessor-version":[{"id":2973,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2490\/revisions\/2973"}],"wp:attachment":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/media?parent=2490"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/categories?post=2490"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/tags?post=2490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}