How to install Owncloud 10 on Arch Linux 2017

Arch Linux Tutorial – Hello Linux users, today we will show you how to install Owncloud 10 on Arch Linux 2017. Owncloud is a great web appliance for file sharing and file storage service. You will have a Dropbox like service on your own server. The latest version of Owncloud 10.0.2 is now available on the official website. To install Owncloud server on Arch Linux, there are several things we need to do first. In this tutorial, I am using LAMP Server (Apache web server) as the back end.

Steps to install Owncloud 10 on Arch Linux 2017

Step 1. Install LAMP Server

First, we need to install LAMP (Linux Apache MySQL and PHP) on Arch Linux. I have created a complete tutorial to install LAMP Server on Arch Linux. There are few things we need to setup after installing LAMP using that linked tutorial.

Edit the PHP config file

sudo nano /etc/php/php.ini

Then, find and uncomment the following lines

Install PHP modules

We also need to install several php modules needed by Owncloud

pacman -S php-gd php-intl php-mcrypt

Restart Apache afterward

systemctl restart httpd

Step 2. Create new MySQL/MariaDB database and user for Owncloud

Login to MySQL as root and create new database and user. See my example below. You can modify its database name, user and password as you like.

[root@archServer]: /tmp># mysql -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 16
Server version: 10.1.25-MariaDB MariaDB Server

Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> CREATE DATABASE owncloud;
Query OK, 1 row affected (0.02 sec)

MariaDB [(none)]> CREATE USER owncloud@localhost IDENTIFIED BY '12345';
Query OK, 0 rows affected (0.07 sec)

MariaDB [(none)]> GRANT ALL PRIVILEGES ON owncloud.* TO owncloud@localhost IDENTIFIED BY '12345';
Query OK, 0 rows affected (0.03 sec)

Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]> EXIT

Step 3. Download and extract Owncloud 10

Download Owncloud


Extract Owncloud

tar -xvf owncloud-10.0.2.tar.bz2

Change permission

chown -R http:http owncloud
chmod -R 755 owncloud

Move Owncloud

mv owncloud /srv/http/

Step 4. Configure Owncloud via web browser

Open web browser and type the Arch Linux IP address


Now we need to create Admin user. Enter the MySQL/MariaDB database name, user and password created earlier.

Now finally, log in to your newly installed Owncloud 10 on Arch Linux.

install Owncloud 10 on Arch Linux


  1. Hola, buen dia realice todo el proceso y no tube ningun problema pero al momento de logearme con el usuario que se crea se queda en blanco. y no me permite acceder me puedes ayudar estoy muy interesado en este proyecto de nube privada.

  2. Hello, I followed all the steps and did not make any mistakes, but the last thing when I’m logging in I accept the password and the web page remains blank.

  3. Me ha pasado lo mismo que a Omar. He llegado a la conclusion de que el problema es que las versiones de php y de php-apache no son las indicadas para owncloud.

    pacman descarga la ultima del repositorio, en mi caso 7.4.5, y no hay un owncloud listo para esta version de php. Si a eso le añadimos el tipo de arquitectura, en mi caso ARM, complica mucho las cosas. Ademas estoy usando el dispositivo pogoplug V4, que estoy intentando rescatar.

    He conseguido encontrar un repo para ARM pero no he conseguido instalar un php-apache que funcione correctamente.

    ¿Alguna solucion?

    Ahora estoy intentandolo con YAY.


    Same problem here as Omar. I had digging a little an I notice that the problem could be in the php and php-apache versions, they are not compatible with Owncloud.

    Pacman downloads the last package version, in my case 7.4.5, and there isn’t an owncloud version comptible with this PHP version. Also the architecture of my device is ARM. Also my device is a pogoplug V4 that stopped working years ago.

    I found an ARM repository but I cannot accomplish the php-apache installation propertly.

    Any idea will be more than welcome.

    Now I’m trying with YAY.

    Thank you in advance.

Leave a Reply

Your email address will not be published.