
I recently started playing around with cloud storage on the Raspberry Pi. Im already using it as a web server and a media server, why not this as well.
I started hacking up something to make Dropbox work and then decided that was stupid and found some open source solutions instead.
I found two options that were easy to install and seemed to work decently.
The first one is Owncloud

All you have to do is install the packages required, download the files and do some simple setup.
sudo apt-get update && sudo apt-get install curl libcurl3 php5-curl sqlite3 php5 php5-sqlite php5-gd php-xml-parser php5-intl
cd /var/www/
sudo wget http://download.owncloud.org/community/owncloud-5.0.2.tar.bz2
sudo tar -xvf owncloud-5.0.2.tar.bz2
sudo chown -R www-data:www-data owncloud
sudo nano /etc/apache2/sites-enabled/000-default
Then change the line AllowOverride None to AllowOveride All in the /var/www/ section.
sudo a2enmod rewrite
sudo a2enmod headers
sudo service apache2 restart
Now just go to your http://ip-address/owncloud/ with a separate computer or go to http://localhost/owncloud/ on the Raspberry Pi and pick a username and password.
Pros:
- Can access local data from your external drives easily.
- Can access your dropbox data.
- Doesnt require its own service.
- Password protected (storing the salted hash of the password!).
Cons:
- Unencrypted SQL database that anyone can download.
- Slow!
- Doesnt automatically sort through your data like its features imply. You have to manually upload everything.
The second one is Seafile

This one is also pretty easy to install and has a Raspberry Pi specific version.
I put my stuff in a directory in my home folder but you could put it wherever. For more security, consider creating a special user for seafile.
sudo apt-get update && sudo apt-get install python2.7 python-setuptools python-simplejson python-imaging sqlite3
cd
mkdir cloud
cd cloud
wget http://seafile.googlecode.com/files/seafile-server_1.5.1_pi.tar.gz
tar -xzf seafile-server_*
mkdir installed
mv seafile-server_* installed
cd seafile-server-*
./setup-seafile.sh
The last script will install it and ask some easy questions for you to answer to set up things.
To run the seafile server, you have to do the following:
sudo ./seafile.sh start
sudo ./seahub.sh start
This has to be done every time your Raspberry Pi restarts, which is fairly easy using a cron script
crontab -e
then add:
@reboot sudo /home/pi/cloud/seafile-server-1.5.1/seafile.sh start
@reboot sudo /home/pi/cloud/seafile-server-1.5.1/seahub.sh start
Then save and exit.
For more help, see here.
Now just go to your http://ip-address:8000 with a separate computer or go to http://localhost:8000
Pros:
- Fast!
- Doesnt run if you dont want it to.
- Doesnt have all of its files accessible over the normal webserver.
- Requires username and password.
Cons:
- Takes time to start up and sometimes seahub.sh doesnt start properly
- Unencrypted SQL database (Though I havent found a way to easily grab this db).
- Cant access your dropbox data..
After a quick trial with the two of them, Im going with seafile. I havent removed OwnCloud but Im seriously considering it do to the speed and security issues.
Please let me know your experiences with the two of them and any more options to try out!
Consider donating to further my tinkering.
Places you can find me
Related Post:
computer
- Take a better selfie with Lily
- Free Lecture The Psychology of Computer Insecurity
- MOOC Research and Innovation
- Calculating Ada The Countess of Computing
- When can Quantum Annealing win
- Creating a templated Binary Search Tree Class in C
- Projecting without a projector sharing your smartphone content onto an arbitrary display
- Will a robot take your job
- Facebook Introduces ‘Hack ’ the programming language of the future
- High Resolution Scary Haunted House Wallpapers for Desktop
- TYBSC IT Sem V Question Papers 2009 Mumbai University
- Home automation update
- Very easy to download youtube videos audio mp3 format
- HD Dark Desktop Background Wallpapers Download
- Launching the Quantum Artificial Intelligence Lab
- Syrias children learn to code with the Raspberry Pi
- Running omxplayer from the command line easily using alias
- Largest collection of Google Logos on the web Set 7
- Collection of SQL queries with Answer and Output Set 2
- Prevent access to specific partition or drive
- Summer Games Learn to Program
- PiAUISuite Update and Voicecommand v3 1
- Sign in to edx org with Google and Facebook and
- Large Scale Machine Learning for Drug Discovery
- Hacker Tricks from Insiders A Threat to ERP Systems
on
- Largest collection of Google Logos on the web Set 7
- Streaming Other HD Video Sites on the Raspberry PI
- Mounting the home directory on a different drive on the Raspberry Pi
- ERP PPT Presentation on Ecolab INDIA
- PPT Presentation on Cryptography
- Largest collection of Google Logos on the web Set 6
- PPT Presentation on String Handling
- Largest collection of Google Logos on the web Set1
- Unveiling of Display on “Computer Graphics in 1984”
- PPT Presentation on Testing Tactics
- A Project on Windows NT
- PPT Presentation on Memory Management in Winnows2000 and WindowsXP
- Tips on Choosing Apt Web Templates and Service Providers
- Rupee Font Use the Indian Rupee Symbol on Computer Keyboard
- Compare How London Looks on Google vs Paintings From the 1700s
- A PPT Presentation on Web 2 0
- Indian Rupee Symbol on keyboard
- Using Youtube on the Raspberry Pi without XBMC or gnash
- PPT Presentation on Process Synchronization
- Getting Hulu Vimeo to work on the Raspberry Pi
- PPT on CDMA Technology an Overview
- Inside Facebook’s Quest for Software That Understands You
- How to Turn On or Enable Hibernation in Windows 7
- PPT Presentation on Trojans
0 comments:
Post a Comment