I’ve presented earlier some interesting projects that aim to gain back the control of your data while being very focus on privacy. It’s the case of Yunohost and Cozycloud, that works like your own cloud as a standalone distribution or to install on your current server, with 1 click installation of several application like, mails, calendar, torrent client, RSS reader, etc…(and growing) to let you install only what you need, or some projects like Owncloud, that is more an all-in-one application with contact, file, music, calendar,…
All these great pieces of work allow you to manage a large set of your need by centralizing those on your own server.
And I’ve actually discovered recently a similar project, called CacoCloud.
CacoCloud is a simple, fast and secure RSS and mail reader + password and bookmark manager. Based on PHP and AngularJS, CacoCloud uses SQLite to store the information in a encrypted way. Thanks to its small footprint, CacoCloud will even run smoothly on your Raspberry Pi.
Interested to play with it, here is how to install CacoCloud.
I assume you have a running Web server with Apache and PHP. If it is not the case, please check this tutorial.
1) Install sqlite and php dependencies
In root (Or with sudo), run:
apt-get install sqlite3 php5-imap php5-mcrypt php5-sqlite
2) Download and extract their latest archive into a dedicated folder in /var/www
cd /var/www mkdir cacocloud cd cacocloud wget http://cacodaimon.github.io/CacoCloud/download/CacoCloud.tar.gz tar xvf CacoCloud.tar.gz rm CacoCloud.tar.gz
3) Change the owner of the cacocloud folder to your web server user to make sure no permisssion error will occur (Like blank page, etc…)
chown -R www-data:www-data /var/www/cacocloud
4) Make sure the proper apache modules are enabled
Still in root:
a2enmod ssl; a2enmod php5; a2enmod headers; a2enmod deflate; a2enmod rewrite /etc/init.d/apache2 restart
5) Create a dedicated virtualhost to point your subdomain to directly the cacocloud public folder, with SSL certificate.
What you will need:
– Create a A redirection in your DNS server/registrar with something like cc.domain.tld to your IP
– Have SSL certificate ready. If not you can read this tutorial. (Optional but strongly recommended)
– Create your virtualhost as following:
In /etc/apache2/sites-enabled/, create a file called cacocloud (In root):
and paste the following content:
<VirtualHost *:80> ServerAdmin firstname.lastname@example.org ServerName cc.domain.tld Redirect / https://cc.domain.tld </VirtualHost> <IfModule mod_ssl.c> <VirtualHost *:443> SSLEngine on SSLCertificateFile /etc/ssl/certs/myblog.pem SSLCertificateKeyFile /etc/ssl/private/myblog.key ServerAdmin email@example.com ServerName cc.domain.tld DocumentRoot /var/www/cacocloud/public <Directory /> Options FollowSymLinks AllowOverride All </Directory> <Directory /var/www/cacocloud/public> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> </VirtualHost> </IfModule>
Adapt the content (Servername, webmaster email, SSL certificate and directory if different).
When done, save the file (CTRL+X then Yes) and reload apache: (In root)
6) Launch the web installer and make sure you have all the dependencies required.
Simply go to http://youIP/cacocloud/public/install and check if everything is in green.
Then proceed to the database and user creation.
And you should be good to go!!
A very simple video has been done to explain how to install CacoCloud on a DigitalOcean VM in less than 2 minutes.