Debian Tutorials

Debian Tutorials


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

April 2024
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Categories


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 http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_7.0/ /' >> /etc/apt/sources.list.d/owncloud.list

2. Download and install the repository key

wget http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_7.0/Release.key 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

    Author

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


  • crovte
    Posted on

    crovte crovte

    Author

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

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

    Thank You for the help


  • Strive
    Posted on

    Strive Strive

    Author

    Nice guide! But you two “faults” as I can see..
    1) wget http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_7.0/Release.key && apt-key add – < Release.key
    2) /etc/init.d/apache2 restart


  • Mapacha Njie
    Posted on

    Mapacha Njie Mapacha Njie

    Author

    Straight forward….!

    Thanks.


  • Bruno Barcarol Guimarães
    Posted on

    Bruno Barcarol Guimarães Bruno Barcarol Guimarães

    Author

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

    curl http://download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_7.0/Release.key | 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.