Download here: Sourceforge Mirror
Backup Mirror
This is a mostly set up Owncloud Install on top of Puppy Linux on the Raspberry Pi. There is a small amount of work that needs to be done before this will be up and running on your network, but its not hard.
Any problems or issues please report them so I can fix any problems you find.
Note: The Raspberry Pi is NOT a high powered computer. As such PHP does put a strain on the unit. For this reason this Image has been statically overclocked to 900mhz. If you experience SD card corruption comment out the overclocking lines in the /boot/config.txt file.
Note 2: Nginx, Sqlite, and Owncloud all run as SPOT, so keep in mind that you will have to chown any directories so that owncloud can see/use them. I did this so that if your server is compromised an attacker isn't given root instantly.
SSH Password = woofwoof
To change password use the passwd command.
Optional - Generate your own SSL certs:
Code: Select all
openssl req $@ -new -x509 -days -365 -nodes -out /etc/nginx/cert.pem -keyout /etc/nginx/cert.key
chmod 600 /etc/nginx/cert.pem
chmod 600 /etc/nginx/cert.key
Code: Select all
mp /etc/nginx/sites-available/default
Then restart nginx
Code: Select all
/etc/init.d/nginx restart
To shut down... SSH into unit:
Code: Select all
/etc/init.d/nginx stop
nohup poweroff &
To change time feel free to tweak /etc/init.d/rc.time accordingly
To set up USB HD for owncloud:
Plug your drive into the RPi and find out the device of your hard drive
Code: Select all
tail dmesg
code:
Code: Select all
mkdir /media/usbdrive
mount the drive:
Code: Select all
mount /dev/sda1 /media/usbdrive
If the drive is an NTFS drive (I highly recommend you do NOT use an NTFS drive due to the performance penalty you will incur)
Code: Select all
code: mount -t ntfs-3g /dev/sda1 /media/usbdrive
Code: Select all
/etc/init.d/nginx stop
mkdir /media/usbdrive/owncloud6
chown spot:spot /media/usbdrive/owncloud6
mv /var/ww/owncloud/data /media/usbdrive/owncloud6
mp /var/www/owncloud/config/config.php
Code: Select all
'datadirectory' => '/var/www/owncloud/data"
Code: Select all
to
'datadirectory' => '/media/usbdrive/owncloud6/data
Code: Select all
/etc/init.d/nginx start
x86 version will be developed once the bugs are worked out in this ARM release.