Tuesday, 29 October 2013

Beagle Bone Black: Owncloud

So hearing and reading all this NSA stuff, I thought getting back a little from the cloud would be nice. The intention is clearly not building a high performance sharing service but to have control over some files like my pwsafe file.

Owncloud has a good feature: it can be configured to encrypt data "in rest" using blowfish and with ssl you get encryption "in transit" as well

I selected Beagle Bone Black black for one reason: Power consumption

Selection the OS: Debian jessie
Be carefull: the new --dtb option did not work for me
sudo ./setup_sdcard.sh --mmc /dev/sdX --uboot bone swap_file 1024
did the trick.

Booting from sdcard - apt get update and apt-get upgrade and finally apt-get install <packages that could not be upgraded>.

Time for owncloud

The order of commands there needed a little adjustment to work for me
echo 'deb http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_7.0/ /' >> /etc/apt/sources.list.d/owncloud.list 
wget http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_7.0/Release.key
apt-key add - < Release.key  
apt-get update
apt-get install owncloud

Time for ssl

Did not need step 2 
And in step 9 the path for /etc/apache2/conf.d/owncloud5-ssl.conf was
/etc/apache2/conf-enabled/owncloud5-ssl.conf

That's it!

Things to do (maybe):
  1. Move data storage to nfs mount on my nas
  2. Integrating Mail - roundcube could be an option (if it works with gnupg)

No comments:

Post a Comment