All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Make your own cloud storage
Script: http://pastebin.com/g3gcSDz5 (updated)
Function: Install, configure all needed items to create your own cloud
Required OS: Ubuntu 10.x-12.x
Unsupported: Below Ubuntu 10.x
How to use (if not using root, add sudo before launching script_cloud.sh):
root@server:~# vim script_cloud.sh
(paste content)
ESC
:wq
root@server:~# chmod +x script_cloud.sh
root@server:~# ./script_cloud.sh
(go get a coffee or something - it'll take a few minutes, keep putty running)
root@server:~# (install completed)
Credits: Me(@curtisg), owncloud(.org for creating the cloud web script there).
"Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning"
"A person who never made a mistake never tried anything new"
"Insanity: doing the same thing over and over again and expecting different results."
Comments
what's with the sleeps and clears
or
wget -O script_cloud.sh http://pastebin.com/raw.php?i=S8jyp51h
What exactly did you do?
Is there an issue with it @gubbyte?
You're free to modify it if you wish.
Wrote the bash script
Why does it do apt-get update twice in a row?
Why does it apt-get install everything one at a time?
Why not use the newest version of owncloud?
Doesn't "cp -r /etc/apache2/sites-enabled/000-default" need a from?
oops thats damian for noticing that!
and for CentOS?
@luis123456 I'll make one in a few minutes.
Updated URL @Damian http://pastebin.com/CNxZhwy5
Why does it do apt-get update twice in a row?
Why does it apt-get install everything one at a time?
Why not use the newest version of owncloud?
why are you recursively copying a file?
Keep putty running or use screen
Interesting... very intersting. Thinking of buying 2 yearly Kimsufi's with 2TB and have them rsync for redundancy.
@Damian - had problems with the latest version,
oops, another error, apologies.
http://pastebin.com/g3gcSDz5
Wouldn't it best to determine why the current version isn't working?
I don't think I've had Debian doubt itself before. You can remove it; it's redundant.
Well, at least you admit you don't know why, for a change. Carry on!
lmao, what is your issue with doing it one by one. You're free to change it if you wish.
It's stupid. Put them all on the same line, there's absolutely no reason to do them one by one.
I will pay $5 via Paypal to anyone who can tell me a good reason to apt-get things one by one.
why are you restarting apache as non-root?
why not? I ran it fine on a spare VPS without using sudo and it installed fine. (ubuntu 12.04)
you give normal users permission to write to /etc/? okay lol
@Damian that way when one things doesn't intall right it is easier to remove them. ? maybe?
ever heard of logged in as root?
no sorry I haven't heard of your bad security practices
only install as root. @gubbyte lots of software you have to be logged in as root to install.
installing it using sudo should be sufficient.
Except there's no error checking in this script whatsoever (protip to @curtisg: $?), so that point is sort of moot.
@gubbyte, I bet you if you create a standard OVZ container with ubuntu 12.04 image and you run this script while logged in as root, it won't prompt you for passwords or anything.
obviously, but what's your point?
if you don't have root perms then don't install it. Stop trying to cause shit, if I met for this to be installed by a non-root user I would of designed it for that.
hello, using sudo runs the command with root privileges
root@server:~# vim script_cloud.sh
(paste content)
ESC :wq
Yeah, 'cause "wget -O script_cloud.sh http://pastebin.com/raw.php?i=g3gcSDz5" is too hard?