Debian Tutorials

Debian Tutorials

Step by step tutorials showing you how to install and configure various applications and services on Debian based Linux distros.

January 2021
« Apr    


How to install ownCloud on wheezy

Ástþór IPÁstþór IP

ownCloud gives you universal access to your files through a web interface or WebDAV. It also provides a platform to easily view & sync your contacts, calendars and bookmarks across all your devices and enables basic editing right on the web.

1. Add the ownCloud repository as apt source

echo 'deb /' >> /etc/apt/sources.list.d/owncloud.list

2. Download and install the repository key

wget apt-key add - < Release.key

3. Update apt

apt-get update

4. Install ownCloud and any missing dependencies

apt-get install owncloud

5. Enable the Apache rewrite module

a2enmod rewrite
/etc/init.d/apache restart

You can now access ownCloud by entering http://your.ip.address/owncloud in a web browser. The default username/password is: admin/admin.

Comments 5
  • Mita
    Posted on

    Mita Mita


    Thanks! I’ve seen other tutorials on setting up ownCloud on Debian but this one is the most straightforward.

  • crovte
    Posted on

    crovte crovte


    Hi , how can i access if i already have wordpress at ?
    if i point the browser to i get this error :
    Not Found

    The requested URL /owncloud was not found on this server.
    Apache/2.2.16 (Debian) Server at Port 80

    Thank You for the help

  • Strive
    Posted on

    Strive Strive


    Nice guide! But you two “faults” as I can see..
    1) wget && apt-key add – < Release.key
    2) /etc/init.d/apache2 restart

  • Mapacha Njie
    Posted on

    Mapacha Njie Mapacha Njie


    Straight forward….!


  • Bruno Barcarol Guimarães
    Posted on

    Bruno Barcarol Guimarães Bruno Barcarol Guimarães


    Great tutorial, man. Really helped me. Might I suggest a better way to add the repository key?

    curl | apt-key add –

    This gets rid of the temporary file. I changed the url because I was getting two redirects until I got the actual file (though one could use the -L flag to ask curl to follow the redirects).

    One bad thing is getting that key using no verification (http rather than https). It would give me chills if I was doing this for something serious. I’m just doing a demo for a talk, so I didn’t take the time to find a better way.