All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Automatically Install ownCloud on Debian 7/Raspbian
This tutorial is to show you how to install a ownCloud on Debian 7 automatically.
In order for this to work correctly you will need to follow these instructions.
You need to be running Debian 7 32bit or 64bit for this to work.
Please note that this is intended for a clean install as this will remove ALL existing MySQL databases, Nginx and Apache Configurations and Websites on your server.
First you need to download the script, this can be done by running:
Debian 7 - wget http://rmlh.me/dw/owncloud.sh
Raspbian - wget http://rmlh.me/dw/owncloud-rpi.sh
Once that’s downloaded you need to give it permissions to run, you can do this with:
chmod +x owncloud.sh
So now we’re ready to start, just enter:
./owncloud.sh
Now follow the on-screen instructions and ownCloud should work.
If you have any issues just comment on this post.
You can see the original post on my blog - http://rmlh.me/?p=34
Comments
Anyone tried this yet?
The script has been downloaded a few times so I guess it has. It's been tested multiple times on new and old VM's
Would there be any problem if I changed the version inside the script (owncloud-6.0.1.tar.bz2 -> owncloud-6.0.2.tar.bz2)?
Edit: or is this script made specifically for the 6.0.1 version?
Changing the version should not cause an issue. I'll change the version shortly.
you can download the web install scripts directly from owncloud website
https://download.owncloud.com/download/community/setup-owncloud.php
put this script into your public web directory, then, browse to it, following the instructor, you can install it without any problem.
You could do but that doesn't create the config files for Nginx and install PHP along with MySQL that just install ownCloud. My script does everything.
Would this work on a RasPi?
I don't see a reason why it wouldn't. I might be wrong though.
It should do, you may need to remove the dotdeb stuff from the script.
I've created another script for RPi.
http://rmlh.me/scripts/owncloud-rpi.sh
@0xdragon - Just tested it on an RPi and works perfectly. (Takes a while)
Have you tried whatever there are any issues with installing the newer version or not?
Testing it now.
Works, I've updated both the normal and RPi scripts.
Thanks.
I've added the Raspbian script to this post, both Debian and Raspbian have been tested using these scripts and both working perfectly.
Wow! Thanks for doing this for me, you've made my life a lot easier!
Can be use on openvz?
Yep
I tried owncloud but it was just too buggy, hubiC on the other hand works beautifully!
Awesome script
Had a 502 bad gateway error at first, but that has been solved quickly
That may have been to do with the way that PHP5-FPM listens.
I have seen recently after some updates that FPM isn't working on it's socket, you have to enter the IP and port.
I've run into issues after a php update (from dot.deb) where the permissions for the php-fpm socket were changed from 666 to 660, with the owner as root. Not sure if that's been changed or not though.
As far as hard coding the latest version of owncloud, why not use:
http://download.owncloud.org/community/owncloud-latest.tar.bz2
404 Not Found
Sorry about that, I changed the DNS. Try again shortly.
That's different, are you using Debian 7?
Yes, Debian 7 64 Bit
Okay, I just tested the script myself and it seems to be corrupt.
Please wait few minutes while I make a new one.
ok
This should work -
http://108.61.103.29/dw/owncloud.sh