How to install Owncloud 10.0 on Ubuntu 17.04 Server

Owncloud 10.0 has been released with many bug fixes and improvements. This tutorial will show you how to install Owncloud 10.0 on Ubuntu 17.04 server. Even this version is still marked as next stable version, we can use it in our system confidently. Since the official Owncloud repository still use the current stable version 9.1.6, we will install Owncloud 10.0 manually. But don’t worry, we will try as best as we can to explain every steps we took to install Owncloud 10.0 on our Ubuntu 17.04 Server.

The following major changes have been made to Owncloud 10.0:

  • Fix issue with database.xml migration being triggered twice on market app install
  • Apps formerly marked as shipped can now be uninstalled
  • Market now properly updates app version when using multiple apps paths

Steps to install Owncloud 10.0 on Ubuntu 17.04 Server

Step 1. Install LAMP Stack

Before we can install Owncloud, we need to make sure LAMP is installed and well configured on our Ubuntu 17.04. Please read my previous guide to install LAMP Stack on Ubuntu 17.04.

Step 2. Install additional modules

If you follow my tutorial in the link above, we still need to install some additional packages/modules. Execute the following command to ensure our system has all needed modules.

Once installed, don’t forget to restart Apache

Step 3. Create new database for Owncloud

We need to create a new database and a new user for Owncloud. The following example shows step to create new database called “owncloud” and a new user called “owncloud” with password “12345678“. You will need to modify these label and password with your own.

Step 4. Download Owncloud

Now we need to download Owncloud package from the official website. Please check this website to see the latest version available.

Step 5. Configure Owncloud via web browser

Now open a web browser and type the Ubuntu server IP address to open the Owncloud configuration. For example in my case would be:

http://10.34.0.238/owncloud

Make sure you enter the database name, user, password with the ones we created earlier. When successful, you will see the following login screen of the Owncloud

Step 6. Cleanup

After finish installing, we need to secure our Owncloud. For easier way, we will create a new shell script (modified from the official website). This script will make modification to the folder permissions used by Owncloud.

Copy and paste these lines:

Now close and save it and then make it executeable and run it

Done.

Ariel

One Comment

  1. hi,
    the last part cleaning which running : sudo ./secure.sh
    gives error , I tried to change the path to : ocpath=’/var/www/html/owncloud’
    adding html , then it runs without previous error , but now it says can not access .htaccess ! I don’t know what is the issue!!!

Leave a Reply

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