{"id":2043,"date":"2016-06-22T12:38:33","date_gmt":"2016-06-22T16:38:33","guid":{"rendered":"https:\/\/www.globo.tech\/learning-center\/?p=2043"},"modified":"2017-12-12T16:10:20","modified_gmt":"2017-12-12T21:10:20","slug":"install-owncloud-centos-7","status":"publish","type":"post","link":"https:\/\/www.globo.tech\/learning-center\/install-owncloud-centos-7\/","title":{"rendered":"How to Install OwnCloud on CentOS 7"},"content":{"rendered":"<h1>How to Install OwnCloud on CentOS 7<\/h1>\n<p>Owncloud is like a self-hosted Dropbox and Google Apps clone. It can synchronize files, contacts and calendars between computers and mobile devices. Addons allow for real-time, collaborative document editing. If you&#8217;re looking for a security-conscious, private alternative to Dropbox, give Owncloud a shot and see if it meets your needs.<\/p>\n<h2>Getting Started<\/h2>\n<p>To complete this guide, you will need the following:<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>) with a clean CentOS 7 installed. <\/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>We&#8217;ll start by applying all CentOS 7 updates, pulling in security patches and other bugfixes before continuing with the installation. This step should be performed regularly to keep your Owncloud installation secure and up-to-date.<\/p>\n<p><code> yum -y update && shutdown -r now<\/code><\/p>\n<p>We need to disable SELinux before continuing. SELinux enhances system security, but is difficult to work with and requires indepth knowledge to use effectively.<\/p>\n<p><code> setenforce 0<br \/>\n sed -i 's\/enforcing\/disabled\/' \/etc\/sysconfig\/selinux<\/code><\/p>\n<p>Owncloud works with a variety of databases. For this installation we&#8217;ll use MariaDB, the community MySQL fork. Let&#8217;s install and secure MariaDB.<\/p>\n<p><code> yum -y install wget nano mariadb-server php-mysql<br \/>\n systemctl start mariadb.service<br \/>\n mysql_secure_installation<\/code><\/p>\n<p>To install Owncloud itself, we need to enable its package repository.<\/p>\n<p><code> cd \/etc\/yum.repos.d\/<br \/>\n wget http:\/\/download.opensuse.org\/repositories\/isv:ownCloud:community\/CentOS_7\/isv:ownCloud:community.repo<br \/>\n yum -y update<\/code><\/p>\n<p>Now we install the package. This process should also be done regularly as it will install future updates.<\/p>\n<p><code> yum -y install owncloud<\/code><\/p>\n<p>Apache needs read and write access to Owncloud&#8217;s root directory so it can synchronize files and other data. We&#8217;ll now grant that, then start the Apache server.<\/p>\n<p><code> chown -R apache.apache \/var\/www\/html\/owncloud\/<br \/>\n systemctl start httpd.service<\/code><\/p>\n<p>Apache and MariaDB must be set up to launch at boot. Without this, your Owncloud server must be started manually every time your server starts up, which is undesirable for a file synchronization service.<\/p>\n<p><code> systemctl enable mariadb.service<br \/>\n systemctl enable httpd.service<\/code><\/p>\n<p>Owncloud needs a database to run. We&#8217;ll create that now, along with a user having all database access privileges.<\/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>The final step is done on the web, the installer. Visit http:\/\/your_ip\/owncloud to perform this task.<\/p>\n<p>First, set your username and password. These credentials are what you will use to synchronize files, contacts and calendars. This user is also an administrator, meaning it can change settings and create extra users.<\/p>\n<p>For the database server, choose MySQL\/MariaDB.<\/p>\n<p>Now you&#8217;ll enter your database credentials, along with the database name.<\/p>\n<p>Once complete, you&#8217;ll see your main page, with links to the clients and apps you&#8217;ll need to continue.<\/p>\n<h2>Conclusion<\/h2>\n<p>You now have a system that can synchronize all your files and contacts. With client apps available for most operating systems and mobile platforms, it is easy to synchronize everything on your own private, secure infrastructure. If this guide was helpful to you, kindly share it with others who may also be interested. <\/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>How to Install OwnCloud on CentOS 7 Owncloud is like a self-hosted Dropbox and Google Apps clone. It can synchronize files, contacts and calendars between computers and mobile devices. Addons allow for real-time, collaborative document editing. If you&#8217;re looking for a security-conscious, private alternative to Dropbox, give Owncloud a shot and see if it meets<!-- 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":[70],"tags":[],"class_list":["post-2043","post","type-post","status-publish","format-standard","hentry","category-web-hosting","operating_system-centos-7","applications-owncloud"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install OwnCloud on CentOS 7 - Globo.Tech<\/title>\n<meta name=\"description\" content=\"This tutorial will walk you through the installation of the OwnCloud platform to your CentOS 7 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-centos-7\/\" \/>\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 CentOS 7 - Globo.Tech\" \/>\n<meta property=\"og:description\" content=\"This tutorial will walk you through the installation of the OwnCloud platform to your CentOS 7 server. Read now &amp; Launch your own personnal Cloud !\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.globo.tech\/learning-center\/install-owncloud-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"Globo.Tech\" \/>\n<meta property=\"article:published_time\" content=\"2016-06-22T16:38:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-12-12T21:10:20+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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-owncloud-centos-7\/\",\"url\":\"https:\/\/www.globo.tech\/learning-center\/install-owncloud-centos-7\/\",\"name\":\"How to Install OwnCloud on CentOS 7 - Globo.Tech\",\"isPartOf\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/#website\"},\"datePublished\":\"2016-06-22T16:38:33+00:00\",\"dateModified\":\"2017-12-12T21:10:20+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 CentOS 7 server. Read now & Launch your own personnal Cloud !\",\"breadcrumb\":{\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-owncloud-centos-7\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.globo.tech\/learning-center\/install-owncloud-centos-7\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.globo.tech\/learning-center\/install-owncloud-centos-7\/#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 CentOS 7\"}]},{\"@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 CentOS 7 - Globo.Tech","description":"This tutorial will walk you through the installation of the OwnCloud platform to your CentOS 7 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-centos-7\/","og_locale":"en_US","og_type":"article","og_title":"How to Install OwnCloud on CentOS 7 - Globo.Tech","og_description":"This tutorial will walk you through the installation of the OwnCloud platform to your CentOS 7 server. Read now & Launch your own personnal Cloud !","og_url":"https:\/\/www.globo.tech\/learning-center\/install-owncloud-centos-7\/","og_site_name":"Globo.Tech","article_published_time":"2016-06-22T16:38:33+00:00","article_modified_time":"2017-12-12T21:10:20+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":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.globo.tech\/learning-center\/install-owncloud-centos-7\/","url":"https:\/\/www.globo.tech\/learning-center\/install-owncloud-centos-7\/","name":"How to Install OwnCloud on CentOS 7 - Globo.Tech","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/#website"},"datePublished":"2016-06-22T16:38:33+00:00","dateModified":"2017-12-12T21:10:20+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 CentOS 7 server. Read now & Launch your own personnal Cloud !","breadcrumb":{"@id":"https:\/\/www.globo.tech\/learning-center\/install-owncloud-centos-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.globo.tech\/learning-center\/install-owncloud-centos-7\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.globo.tech\/learning-center\/install-owncloud-centos-7\/#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 CentOS 7"}]},{"@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\/2043","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=2043"}],"version-history":[{"count":8,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2043\/revisions"}],"predecessor-version":[{"id":4024,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2043\/revisions\/4024"}],"wp:attachment":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/media?parent=2043"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/categories?post=2043"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/tags?post=2043"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}