The time now is Sat 23 Jan 2021, 06:35
All times are UTC - 4 |
Author |
Message |
Q5sys

Joined: 11 Dec 2008 Posts: 1126
|
Posted: Sun 15 Dec 2013, 12:36 Post subject:
RPi CloudPup Rc1 Subject description: Testers needed |
|
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: | 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 |
Required - Edit nginx config
Code: | mp /etc/nginx/sites-available/default |
Replace server_name with the IP of the device on your network.
Then restart nginx
Code: | /etc/init.d/nginx restart |
To shut down... SSH into unit:
Code: | /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
Look for the device ID. It 'should' be sda: sda1 If it is not, replace sda1 below with the device ID on your system.
code:
Code: | mkdir /media/usbdrive | (You can make this anything you want instead of usbdrive)
mount the drive:
Code: | mount /dev/sda1 /media/usbdrive | (or whatever you named it)
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: | code: mount -t ntfs-3g /dev/sda1 /media/usbdrive |
Set up owncloud for external drive:
Code: | /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 |
FIND AND REPLACE
Code: | 'datadirectory' => '/var/www/owncloud/data" |
Code: | to
'datadirectory' => '/media/usbdrive/owncloud6/data |
Then restart nginx
Code: | /etc/init.d/nginx start | '/var/www/owncloud/data[/url]
x86 version will be developed once the bugs are worked out in this ARM release.
|
Back to top
|
|
 |
jamesbond
Joined: 26 Feb 2007 Posts: 3475 Location: The Blue Marble
|
Posted: Mon 16 Dec 2013, 10:13 Post subject:
|
|
Interesting application for Raspi! I don't have Raspi so can't test - but I'm sure there are a lot other Raspi fans who will.
_________________ Fatdog64 forum links: Latest version | Contributed packages | ISO builder
|
Back to top
|
|
 |
Dromeno
Joined: 12 Sep 2008 Posts: 543
|
Posted: Thu 20 Mar 2014, 05:39 Post subject:
Cloud pup is a gread idea Subject description: plus some extra links |
|
Great idea! I love my raspi! I am currently using one as mediacenter but the homecloud option is perhaps even more useful. And fortunately raspi's are not too expensive so I have a 2nd one now.
I was thinking about the same route (homecloud) but it also looks useful to add btsync as well (does not require port forwarding so you can access files easily all over the world)
[/url]http://www.murga-linux.com/puppy/viewtopic.php?t=85818[url]
[/url]http://blog.bittorrent.com/2013/05/23/how-i-created-my-own-personal-cloud-using-bittorrent-sync-owncloud-and-raspberry-pi/[url]
[/url]http://www.makeuseof.com/tag/build-your-own-cloud-storage-with-raspberry-pi-and-bittorrent-sync/[url]
Ultimately I think the most useful option of all will be to use the raspi as home node for a retroshare connection.
Retroshare offers all possible kinds of secure file sharing plus communication (chat, email, voip). And -hopefully soon- an option to connect to the raspi+retroshare with your phone/tablet/notebook via a web interface
https://retroshareteam.wordpress.com/2013/08/29/retroshares-web-interface/
Then, at least, we can have an all free (both as in beer and as in speech) plus secure (as in gpg + ssh with forward secrecy) communication + file sharing network working on a friends-to-friends principle (no central servers anywhere)
I would love to have it all run on a raspian puppy. Unfortunately I do not have the skills for something like that.
until then... there is a retroshare version available for the raspi:
http://sourceforge.net/projects/pishare/
http://retroshare.sourceforge.net/downloads.html
Not with a good web interface yet, but it would be nice if it could be ported to raspi puppi nevertheless. Is there somebody on this forum who is capable and willing to do it?
|
Back to top
|
|
 |
Dromeno
Joined: 12 Sep 2008 Posts: 543
|
Posted: Thu 20 Mar 2014, 05:45 Post subject:
typo in linx |
|
sorry, the links were typed wrong
http://www.murga-linux.com/puppy/viewtopic.php?t=85818
http://blog.bittorrent.com/2013/05/23/how-i-created-my-own-personal-cloud-using-bittorrent-sync-owncloud-and-raspberry-pi/
http://www.makeuseof.com/tag/build-your-own-cloud-storage-with-raspberry-pi-and-bittorrent-sync/ [/url]
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
[ Time: 0.0442s ][ Queries: 11 (0.0109s) ][ GZIP on ] |