raspi: install/configure owncloud
installation process as in this link. just change one step: download the newest owncloud client from their website.
to reset the admin password: sudo -u www-data php /var/www/owncloud/occ user:resetpassword admin
background knowledge: nginx is the webserver which forwards incoming traffic to the php backend by fastcgi (php5-fpm) .