How to install ownCloud to Ubuntu 12.04

The latest releases of Owncloud ver 8 require PHP version 5 which is not available in the native repositories for Ubuntu 12.04. If you want to run the latest OwnCloud, you should use Ubuntu 14.04 instead. Here is the HOW-TO: Running ver 8 on 12.04 is possible but requires the use of 3rd party repo for php5 or a manual installation of php5.

This short tutorial will show you how to create a personal cloud server that can be used to sync files from multiple desktops and, even better, be used to sync calendar and contacts from your android phone.

First, you need some prereqs:

 sudo apt-get install php5-gd mysql-server

To begin, you need to add the repository for ownCloud for ubuntu 12.04.

apt-key add - < Release.key 

Next, update the lists and install the package.

echo 'deb /' >> /etc/apt/sources.list.d/owncloud.list 
apt-get update
apt-get install owncloud

Once the package is installed, access the ownCloud interface at http://SERVERNAME/owncloud

The first time you launch it, it will prompt you to create an admin id and password. Optionally, you can pick the Data folder location and choose MySQL vs SQLite

ownCloud Start

Once completed, you will be taken to the web interface. Here you can add users and adjust settings as needed. I create a single local user and that will pretty much complete the basic install.

ownCloud Admin menu

Last thing to do is load a desktop client available from ownCloud’s web page

Some things you should really consider:
1) Enforce https connectivity to the owncloud, this is done through the admin menu selection.
2) Turn on Antivirus. Enabling this app in the Admin->apps menu sets up ClamAV to scan all uploaded content.

There are additional options here for LDAP authentication, email alerts, and much more beyond this basic setup.

Tagged , . Bookmark the permalink.

7 Responses to How to install ownCloud to Ubuntu 12.04

  1. Pingback: Sync Android Contacts, Calendar, and Files to ownCloud | KefeTout

Leave a Reply

Your email address will not be published. Required fields are marked *

Solve : *
13 × 28 =