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) .

raspi: mount usb drives on bootup

to auto mount usb drives on bootup one can simply add some lines to the /etc/fstab file:

UUID=e0a4c8da-67d1-423d-939c-4dc8249079f0 /mnt/small btrfs rw,defaults,nofail 0 0

you need to change the following:

  • the UUID you can find out through: ls -l /dev/disk/by-uuid/
  • change the mount point
  • change the file system
  • pay attention: the nofail option will mount the drive only if it is plugged in