How To Install OwnCloud 8 Server In Ubuntu

Posted on  2/10/2015

OwnCloud is well-known and very popular free and open source self hosted file sync and sharing application, which offer great security and alternative of many paid services . you can store sync and access your data from anywhere without worrying about data security . OwnCloud installs easily on various operating systems, which allow anyone to host their own files sync, share while using their own storage ,without worrying about third-party sync and share services .

provides access to your data through a web interface or WebDAV while providing a platform to view, sync and share across devices easily—all under your control. ownCloud’s open architecture is extensible via a simple but powerful API for applications and plugins and works with any storage.


  • Storing Files
  • External Storage and Encryption
  • Favorites
  • LDAP / Active directory integration
  • Sync
  • Share
  • Integration of anti-virus scanning functionality
  • Collaborative Editing
  • Galleries
  • Versioning and undeleted
  • Calendars
  • Contacts
  • Application Store
  • Sharing REST API

Installation ( For ubuntu 14.10 users )

$ wget -O - | sudo apt-key add - 

Sample OutPut

100%[===============================================================================>] 1,003       --.-K/s   in 0s

2015-02-09 22:15:43 (105 MB/s) - written to stdout [1003/1003]


Now lets add ownCloud repository , originally hosted at opensuse channel

$ echo 'deb /' | sudo tee /etc/apt/sources.list.d/owncloud.list 

$ sudo apt-get update
$ sudo apt-get install owncloud

By defualt it use SQLite3 as database but you can easily switch to mysql or postgresql , let me show you how to set up mysql for owncloud .

$ mysql -u root -p 

login in mysql as root user and then create a database for owncloud and create a user then assign owncloud database to this user

mysql> CREATE database owncloud ; 

# Query OK, 1 row affected (0.00 sec)

mysql> GRANT ALL PRIVILEGES ON owncloud.* TO 'alok'@'localhost' 

# Query OK, 0 rows affected (0.00 sec)
# Where alok is username  


# Query OK, 0 rows affected (0.00 sec)


Now open your browser and browse to http://YOURSERVERIP/owncloud
and enter your database credentials with admin username and password and click finish setup

setting up mysql
setting up mysql

Now its ready to use , you can download desktop client for windows mac or Linux owncloud also has app for android .


ownclod imagesa
ownclod imagesa

Some Useful Links :

  • Home
  • About