In this tutorial we’ll install the Debian Linux 9 (squeeze), Apache 2 with mpm-itk (to run each web as a isolated user),...
How to install ownCloud on wheezyÁ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
4. Install ownCloud and any missing dependencies
apt-get install owncloud
5. Enable the Apache rewrite module
You can now access ownCloud by entering http://your.ip.address/owncloud in a web browser. The default username/password is: admin/admin.
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
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.