Install ownCloud 8.1.0 on Ubuntu 15.04 via Shell

This tutorial covers the installation of ownCloud 8.1.0 on an Ubuntu 15.04 system via Shell.

We will install ownCloud 8.1.0 manual on the Ubuntu system. We don’t use any ready-to-deploy packages.

1. Prequisities

Open a terminal on your system and type following command into it. This will install the required modules for a ownCloud installation. We will use Apache and mySQL. Type following commands in a terminal:

sudo apt-get install apache2 mysql-server libapache2-mod-php5 php5-gd php5-json php5-mysql php5-curl php5-intl php5-mcrypt php5-imagick

This will install the PHP5 and mySQL server on the system.

To run ownCloud you also need an running Apache web server. Type following command in a terminal to install the Apache web server :

sudo apt-get install apache2 apache2-doc

2. Download the latest ownCloud version

To download the latest version from shell, type following command in your command line (the link can change from version to version!)


The packed file will be downloaded and saved into your home directory. After the download you have to extract the .tar.bz2 file

Go to your home directory and run:

tar -xjf owncloud-8.1.0.tar.bz2

3. Copy the ownCloud files to the root of your web server

sudo cp -r owncloud  /var/www/

To set Apache as owner of the ownCloud files use following command:

sudo chown -R www-data:www-data /var/www/owncloud/

4. Installation Wizard

Open your Web browser and type one of following URL in:

  • If you are running the installation wizard from same machine on which you installed it: http://localhost/owncloud
  • If you running the installation on another machine:

You will see following screen in your browser:

Bildschirmfoto 2015-07-24 um 16.38.22

Fill in all required information. If you haven’t created a database already, create one. (You can use any name you want) I used the phpMyAdmin tool to accomplish this. To install this one type following command into your shell:

sudo apt-get install phymyadmin

After your click on the button to complete your installation and you will see the start page from ownCloud.

Bildschirmfoto 2015-07-24 um 16.41.12

Your installation was successful. Have fun with your new ownCloud installation. 🙂

If you have problems or errors, feel free to comment and ask.


Related posts

Leave a Comment

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