Install OwnCloud in your Cubieboard with Ubuntu

Do you have your Ubuntu installed into your CubieBoard?

Run this command in a Terminal (it'll be as for your mySQL password):
sudo apt-get install owncloud davfs2 mysql-server
Create a database in mySQL:
https://your-domain/phpmyadmin
Give privilegies to your owncloud data directory:
sudo chown www-data:www-data -R /path_data_owncloud 

Enable SSL:
sudo ufw allow https
sudo a2enmod ssl
a2ensite default-ssl
sudo a2ensite default-ssl

Visit your domain as:
https://your-domain/owncloud
or (better with https)
https://your-domain/owncloud

You can connect with Nautilus on your Ubuntu desktop too with this address:
`your-domain`/owncloud/remote.php/webdav/

Use that address for your Android too with ES File Explorer.

+info (Spanish)