ownCloud: Take Full Control of Your Online File Storage

ownCloud is a cloud file storage solution that lets you avoid the service disruption, vulnerability, and privacy weaknesses of public hosting services.

Between all of the cheap or even free file hosting services available now – like Dropbox, OneDrive, and Google Drive – you’d think that there wouldn’t be much of a case to be made for building your own. But you’d be wrong. Because of ongoing concerns about service disruptions, security vulnerabilities, data privacy, and sometimes even cost, some people are always going to need to control their files more directly.

For such people, the ownCloud open source file hosting server can provide a powerful solution. It works by installing ownCloud on top of an Internet-facing Linux (LAMP) server. Then, using freely available desktop and mobile apps or the browser interface, you can upload, access, share, sync, encrypt, and control your files to exactly fit your needs.

ownCloud Installation

They’ve definitely taken all the fun out of ownCloud installation. Not too long ago, if you wanted to build an ownCloud server, you would first need to install a web server, database, and Python. Then you would create appropriate database accounts, add entries in your web server configuration file pointing to ownCloud, populate your /var/www/owncloud directory with the package files, set appropriate file permissions, and enable SSL.

Those were the days.

Now, thanks to the good folk at openSUSE, you only need to add an openSUSE Build Service repository to your package manager, update your repositories, select the package matching your operating system, and install.

Here’s how that looks for Ubuntu 14.04:

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/xUbuntu_14.10/ /' >> /etc/apt/sources.list.d/owncloud.list"
sudo apt-get update
sudo apt-get install owncloud

You might also need to manually add the repository key to your package manager, but that’s it.

All that’s left for you to do is enter a MySQL password when prompted. Note: by default, ownCloud will use the SQLite database but, if you’re planning to work with larger volumes of content, you should switch to something a bit more robust, like MariaDB. Migration is supposed to be easy using the occ db:convert-type tool. (See ownCloud’s documentation.)

In any case, now that everything has been magically installed and configured, you should point your browser to your web server.

http://myexample.com/owncloud

ownCloud configuration

The first time you visit the site, you’ll be prompted to create an admin user along with a password. If you used the manual Linux setup process, you might also be asked for access to your database. Once logged in, you’ll be shown links for downloading and installing ownCloud desktop and mobile apps so you can seamlessly sync files between devices:
Welcome to ownCloud screenshot
From the drop-down at the top right of your screen, you’ll be able to access the user management page where you can create users and groups, and manage account limits.

The Admin page allows you to manage areas like security (server-side encryption), backups, and sharing. Sharing includes Federated Cloud Sharing, which permits file linking between ownCloud servers. Your unique Federated Cloud ID, which can be seen on the Personal page, might look something like:

admin@myexample.com/owncloud

Which brings us to cost.

Being open source, the ownCloud Community Edition is freely available for any task you’d like to throw at it. However, you may find that storing large amounts of data on your own web server volumes – especially if you’re working with a cloud-based virtual machine – can be expensive. It would be nice if there was some way to leverage the cheaper rates associated with cloud storage services like Amazon’s AWS S3.

Well, there is. And there isn’t. I guess it’s at least theoretically possible to configure S3 as the primary storage for your ownCloud Community Edition. But it will work right out of the box if you purchase the ownCloud Enterprise Edition version.

Avatar

Written by

David Clinton

A Linux system administrator with twenty years' experience as a high school teacher, David has been around the industry long enough to have witnessed decades of technology trend predictions; most of them turning out to be dead wrong.

Related Posts

Avatar
Michael Sheehy
— August 19, 2019

What Exactly Is a Cloud Architect and How Do You Become One?

One of the buzzwords surrounding the cloud that I'm sure you've heard is "Cloud Architect." In this article, I will outline my understanding of what a cloud architect does and I'll analyze the skills and certifications necessary to become one. I will also list some of the types of jobs ...

Read more
  • AWS
  • Cloud Computing
Avatar
Andrew Larkin
— August 13, 2019

Content Roadmap: AZ-500, ITIL 4, MS-100, Google Cloud Associate Engineer, and More

Last month, Cloud Academy joined forces with QA, the UK’s largest B2B skills provider, and it put us in an excellent position to solve a massive skills gap problem. As a result of this collaboration, you will see our training library grow with additions from QA’s massive catalog of 500+...

Read more
  • AWS
  • Azure
  • content roadmap
  • Google Cloud Platform
Avatar
Adam Hawkins
— August 9, 2019

DevSecOps: How to Secure DevOps Environments

Security has been a friction point when discussing DevOps. This stems from the assumption that DevOps teams move too fast to handle security concerns. This makes sense if Information Security (InfoSec) is separate from the DevOps value stream, or if development velocity exceeds the band...

Read more
  • AWS
  • cloud security
  • DevOps
  • DevSecOps
  • Security
Avatar
Stefano Giacone
— August 8, 2019

Test Your Cloud Knowledge on AWS, Azure, or Google Cloud Platform

Cloud skills are in demand | In today's digital era, employers are constantly seeking skilled professionals with working knowledge of AWS, Azure, and Google Cloud Platform. According to the 2019 Trends in Cloud Transformation report by 451 Research: Business and IT transformations re...

Read more
  • AWS
  • Cloud skills
  • Google Cloud
  • Microsoft Azure
Avatar
Andrew Larkin
— August 7, 2019

Disadvantages of Cloud Computing

If you want to deliver digital services of any kind, you’ll need to estimate all types of resources, not the least of which are CPU, memory, storage, and network connectivity. Which resources you choose for your delivery —  cloud-based or local — is up to you. But you’ll definitely want...

Read more
  • AWS
  • Azure
  • Cloud Computing
  • Google Cloud Platform
Joe Nemer
Joe Nemer
— August 6, 2019

Google Cloud vs AWS: A Comparison (or can they be compared?)

The "Google Cloud vs AWS" argument used to be a common discussion among our members, but is this still really a thing? You may already know that there are three major players in the public cloud platforms arena: Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform (GCP)...

Read more
  • AWS
  • Google Cloud Platform
  • Kubernetes
Avatar
Stuart Scott
— July 29, 2019

Deployment Orchestration with AWS Elastic Beanstalk

If you're responsible for the development and deployment of web applications within your AWS environment for your organization, then it's likely you've heard of AWS Elastic Beanstalk. If you are new to this service, or simply need to know a bit more about the service and the benefits th...

Read more
  • AWS
  • elastic beanstalk
Avatar
Stuart Scott
— July 26, 2019

How to Use & Install the AWS CLI

What is the AWS CLI? | The AWS Command Line Interface (CLI) is for managing your AWS services from a terminal session on your own client, allowing you to control and configure multiple AWS services and implement a level of automation. If you’ve been using AWS for some time and feel...

Read more
  • AWS
  • AWS CLI
  • Command line interface
Alisha Reyes
Alisha Reyes
— July 22, 2019

Cloud Academy’s Blog Digest: July 2019

July has been a very exciting month for us at Cloud Academy. On July 10, we officially joined forces with QA, the UK’s largest B2B skills provider (read the announcement). Over the coming weeks, you will see additions from QA’s massive catalog of 500+ certification courses and 1500+ ins...

Read more
  • AWS
  • Azure
  • Cloud Academy
  • Cybersecurity
  • DevOps
  • Kubernetes
Avatar
Stuart Scott
— July 18, 2019

AWS Fundamentals: Understanding Compute, Storage, Database, Networking & Security

If you are just starting out on your journey toward mastering AWS cloud computing, then your first stop should be to understand the AWS fundamentals. This will enable you to get a solid foundation to then expand your knowledge across the entire AWS service catalog.   It can be both d...

Read more
  • AWS
  • Compute
  • Database
  • fundamentals
  • networking
  • Security
  • Storage
Avatar
Adam Hawkins
— July 17, 2019

How to Become a DevOps Engineer

The DevOps Handbook introduces DevOps as a framework for improving the process for converting a business hypothesis into a technology-enabled service that delivers value to the customer. This process is called the value stream. Accelerate finds that applying DevOps principles of flow, f...

Read more
  • AWS
  • AWS Certifications
  • DevOps
  • DevOps Foundation Certification
  • Engineer
  • Kubernetes
Avatar
Vineet Badola
— July 15, 2019

AWS AMI Virtualization Types: HVM vs PV (Paravirtual VS Hardware VM)

Amazon Machine Images (AWS AMI) offers two types of virtualization: Paravirtual (PV) and Hardware Virtual Machine (HVM). Each solution offers its own advantages. When we’re using AWS, it’s easy for someone — almost without thinking —  to choose which AMI flavor seems best when spinning...

Read more
  • AWS
  • Hardware Virtual Machine
  • Paravirtual
  • Virtualization