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: https://www.slsmk.com/how-to-install-owncloud-to-ubuntu-14-04-lts/ 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.
wget http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_12.04/Release.key apt-key add - < Release.key
Next, update the lists and install the package.
echo 'deb http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_12.04/ /' >> /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
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.
Last thing to do is load a desktop client available from ownCloud’s web page http://owncloud.org/sync-clients/
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.