How To Install ownCloud on Ubuntu 16.04


In this tutorial, we will install and configure an ownCloud application on an Ubuntu 16.04 server.
Owncloud is file storage sharing server like dropbox or google drive. You can store your personal file like documents and pictures.
The difference with dropbox is that it is free and open source , so you can manage as you like.

In order to complete the steps in this guide, you will need the following:

  • Server VPS or dedicated with operating system ubuntu 16.04
  • user root or a sudo user on your server.
  • LAMP (Linux Apache Mysql Php) , owncloud will need apache webserver, mysql, php. In this tutorial we will not guide you to install and configuring LAMP , we assume you have been installed before, you can follow this LAMP installation tutorial.

Step 1 – ownCloud Installation
Owncloud application package is not exist in default ubuntu repositories, we will install using Ownload repository

Adding PGP key

Adding owncloud repositories

Update repositories list

Finally , install owncloud using apt-get

After installation , a new configuration file was added to Apache’s config directory. We need restart apache process to take effects.

Step 2 – MySQL Database Configuration

Login to mysql shell using these command

In mysql shell follow these command to create database and grant user

Step 3 – ownCloud Configuration

Open url in your browser

You should see interface like these


Next, create an admin account and a password for your owncloud.

click on the Storage & database link like these picture below:


In this tutrial leave the Data folder setting as is and click the MySQL/MariaDB button. Enter the database information that you configured in the previous step.


Click the Finish setup button to sign into ownCloud. An welcome screen like picture below should appeared.


Congratulations, you have successfully install owncloud on ubuntu 16.04

You may also like...

1 Response

  1. ghibbli says:

    well done
    and now openssl guide for ownclud, please
    Howto upgrade

Leave a Reply

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