Site icon LinuxAndUbuntu

create your own cloud storage with ownCloud on ubuntu14.10 (utopic unicorn)/14.04

owncloud on ubuntu

OwnCloud is a free and open source program to create your own cloud and synchronize files. Owncloud is for anyone including large enterprises to a small company or home. Owncloud is a feature-rich, secure and handy synchronization tool for your servers.

Owncloud provides cloud storage over the network, data can be uploaded via a web browser or using client. Data will be stored on the server and can be accessed any time with browser or desktop client or smartphone app. The project is based on PHP and an SQLite, MySQL, Oracle or PostgreSQL database, so it can be run on all platforms that meet these requirements. It provides almost all possibility of functions that are available on commercial suites; it is released under AGPLv3 license, so you can set up own cloud storage server without any additional cost. You’ve commercial version also available.

The following are the list of features available on ownCloud.

  • File storage in conventional directory structures
  • Cryptography
  • Synchronization of data with the desktop, web client or mobile app.
  • Calendar (also as CalDAV)
  • Task Scheduler
  • Address book (also as CardDAV)
  • Music streaming (through Apache)
  • User and group administration (via OpenID or LDAP)
  • Sharing of content across groups or public URLs
  • Online text editor with syntax highlighting and code folding
  • Bookmarking
  • URL shortening Suite
  • Photo gallery
  • PDF viewer (using pdf.js)
  • Viewer for ODF Files (.odt, .odp, .ods)

Install OwnCloud

Download and add repository key on Ubuntu 14.10
Add owncloud repository.
wget http://download.opensuse.org/repositories/isv:ownCloud:community/xUbuntu_14.10/Release.key
sudo apt-key add - < Release.key
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/xUbuntu_14.10/ /' >> /etc/apt/sources.list.d/owncloud.list"
Update the repository.
sudo apt-get update
Install ownCloud.
sudo apt-get install owncloud

You would be asked to create an administrative password for MySQL

Repeat the password
Create Database
MySQL server must be started before creating the database, login to MySQL server.
mysql -u root -p

Create database called “clouddb”

create database clouddb;
Allow “clouddbuser” to access the “clouddb” database on localhost with a predefined password.
grant all on clouddb.* to ‘clouddbuser’@’localhost’ identified by ‘password’;
Open up web browser, point a URL to http://your-ip-address/owncloud. The browser will automatically take you to ownCloud setup page. You have the option to choose a database (SQLite, MySQL, and PostgreSQL) of your choice.

configure owncloud

For a larger environment, it is not recommended to use SQLite. Here we use MySQL, Enter the admin user name, password, data folder location, and database details by clicking on “Storage and database”.
Alternately you can also download ownCloud client or apps for smartphones to upload the files.
Now you can upload files via the browser.

Exit mobile version