Saturday, December 7, 2013

Installing ownCloud on Ubuntu

What is ownCloud?

ownCloud is a free and open-source web application for data synchronization, file sharing, and remote storage of documents ("cloud storage").  It is pretty much Dropbox, Box.net, or Google Drive but on steroids and you control it.  ownCloud gives you universal access to your files through a web interface or WebDAV. It also provides a platform to easily view & sync your contacts, calendars and bookmarks across all your devices and enables basic editing right on the web. Installation has minimal server requirements, doesn't need special permissions and is quick. ownCloud is extendable via a simple but powerful API for applications and plugins.  For a full list of features please check out ownCloud's website.  https://owncloud.org/features/

Installation

First this assumes you already have Ubuntu or another version of Linux installed.  Preferably a server edition that will not be used for normal desktop use.  Ensure you have the most current updates.

$ sudo apt-get update && sudo apt-get upgrade

Now you're ready to install ownCloud.

$ sudo apt-get install owncloud

During installation you'll get a pop that will have you set the root user password for your SQL server.  Don't forget this password! That's it! Now that it's installed you just need to point your web browser to the installation for setup.  You the computer name or ipaddress or if you have a domain name setup for it followed by owncloud.
yourwebsite.com/owncloud

Setup

Once you're on the webpage you should see something similar to below.
Here is where you're going to setup your user account that will administor ownCloud.  Type in your username and password.  Don't worry about changing the data folder it should already be set for you.  You can change it if you know you will be saving data somewhere else.  Now is where you're going to use that root user from the SQL server and that password you were suppose to remember.  For the database name type in owncloud and click Finish setup.  Everything else should be pretty self explanatory.

Desktop Client

Next thing you'll probably want to do is head over to the desktop client website and pick out the specific client you'll need for your desktop.


Next time we'll be connecting our ownCloud to our FreeNAS box over samba to enable even more storage.