How to install ownCloud on wheezy

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.


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

  2. 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

  3. 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.

Leave a Reply

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