Install Bitnami Owncloud 9.1 on Ubuntu 16.04

Ready to launch Owncloud 9.1 on your server? Bitnami Owncloud Stack offers an easy way to get Owncloud 9.1 running on your server in few steps. You don’t have to manually install and configure Owncloud by yourself. One click installer offers a super easy way to install Owncloud on your Linux system. On this tutorial, I will show you how to install Bitnami Owncloud 9.1 on Ubuntu 16.04 using Bitnami Owncloud installer. Please visit the official Bitnami Owncloud website.

install Bitnami Owncloud 9.1 on Ubuntu

System Requirements:

  • Ubuntu 16.04 or Ubuntu 14.04. We recommend to use cloud computin
  • Bitnami Owncloud Installer

Steps to install Bitnami Owncloud 9.1 on Ubuntu 16.04

Step 1. Download Bitnami Owncloud Installer

You can download the Owncloud installer from here. Save it to your local directory for example /tmp. You can use wget to download this file.

cd /tmp

Step 2. Make the installer executable

Use the following command to make it executable

sudo chmod +x

Step 3. Install Bitnami Owncloud

Use this command to install Bitnami Owncloud.

sudo ./

Follow on screen installation wizard. You will be asked to enter the installation directory.


Step 4. Configure Owncloud

Once the installation completed, go to other computer on your local network (if you install the Ubuntu server on a network). Then open Google Chrome or Firefox or any other web browser and type the server IP address such as:

Please note that I use port 81 for the Owncloud installation. This could be different on other system.


Click Access OwnCloud and start configure Owncloud. Its pretty straight forward so I will not show them here.


Error you may encountered and how to solve it.

In some cases, you will received the following error while configuring Owncloud for the first time. The untrusted domain error on Owncloud as follow.


To solve the untrusted domain error on Owncloud, do the following steps:

Go to the server where Owncloud is installed. In Terminal, cd to the Owncloud installation directory. In my case, I install Bitnami Owncloud in /opt/owncloud-9 directory.

cd /opt/owncloud-9

Now cd to the following directory

cd /opt/owncloud-9/apps/owncloud/htdocs/config

Again, change the red text with your actual Owncloud installation directory on Step 2.

Now edit the config.php file under the config directory above

nano config.php

Add your Ubuntu server IP address to the trusted domain list. See my example below. I add my server IP address ( to the list.

$CONFIG = array (
  'passwordsalt' => '49a1rn3YgQLdlsRxE43CIFt7acxdyQ',
  'secret' => 'ZUGtOHFvKqUy96Yq0pi81c7M92gIDR4xdt92xgWXF0Sm3+G8',
  'trusted_domains' =>
  array (
    0 => '',
    1 => '',
    2 => '',
  'datadirectory' => '/opt/owncloud-9/apps/owncloud/data',
  'overwrite.cli.url' => 'http://localhost',
  'dbtype' => 'mysql',
  'version' => '',
  'dbname' => 'bitnami_owncloud',
  'dbhost' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'bn_owncloud',
  'dbpassword' => 'f9bf2d31b6',
  'logtimezone' => 'UTC',
  'installed' => true,
  'instanceid' => 'oc66ef9hzsn4',
  'openssl' =>
  array (
    'config' => '/opt/owncloud-9/common/openssl/openssl.cnf',

Close and save the file and try again. This should solve the untrusted domain problem.

Thanks for reading.


Leave a Reply

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