How to install OwnCloud on Ubuntu 14.04 Server

This tutorial will show you how to install OwnCloud on Ubuntu 14.04 Server. I am installing Ubuntu server 14.04 on DigitalOcean cloud computing. So, ideally this OwnCloud server will handle my data and I can sync or access them from anywhere.

Step 1. System update

To install OwnCloud on Ubuntu 14.04.4 server, first thing is to make sure that our system is up to date. Log in to your Ubuntu server and perform system update.

Step 2. Install Apache web server

Next, we need to install apache web server.

3. Install php 

Installing php can be done with this command

Next we need to install some php module needed by OwnCloud.

4. Install MySQL Server

We need to install MySQL Database server. It can be installed with this command

By default, MySQL installation is not secure. We need to harden the MySQL installation security

5. Create new MySQL Database for OwnCloud

We need to create a new database to hold OwnCloud data. Follow these steps to create a new database.

6. Download OwnCloud package

To download the latest version of OwnCloud, it is advisable to get it from the official OwnCloud website. Copy the download link and use wget to download the package. For example:

Extract the file to /var/www/html

Set the folder permission for owncloud directory

7. Configure Apache

We need to configure Apache for Owncloud. I create a new configuration file.

Paste these line to the new config file

Next restart apache2

At this point, we finished to configure the server. Now open a web browser and point to the IP address of the server. For example:

You should see the Owncloud configuration wizard as follow. Enter the detailed information needed.

Screen Shot 2016-02-29 at 11.58.54 PM

Thank you for coming. This tutorial to install OwnCloud on Ubuntu 14.04 is tested by myself. Next time I will show you how to secure OwnCloud with https interface.



Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.