Tutorial Raspberry Pi + TTRSS + OwnCloud

If you run tt-rss on an officially unsupported platform (shared hosting, Windows, etc.) post here
aelg305
Bear Rating Trainee
Bear Rating Trainee
Posts: 4
Joined: 02 Apr 2013, 17:05

Tutorial Raspberry Pi + TTRSS + OwnCloud

Postby aelg305 » 11 Mar 2014, 21:59

I put together this tutorial to have the following systems workings under one: OwnCloud, TinyTny RRS and Ninja Blocks (next app to be added: xbmc, but currently under development - memory its a big issue)

For those that have not read about NinjaBlocks, its basically in a nutshell a sensor added to your Pi, so, if you buy the HUE phillip light bulbs, or a door bell with 433mhz capabilities, you in turn could control or set rules to use these devices with your Pi!

My Setup:
-Raspberry Pi B
-LAN connection
-SD 8GB
-Ninja Pi Crust

Installed Packages:
-Raspbian 2013-02-09 (apparently NB has compatibility issues with newer versions - suggestion appreciate it)
-Apache 2
-PHP5
-MySQL
-PHPMyAdmin

Tutorial can be found under: [url]http://andreslopez.us/blog/?p=483[/url]
Updates, corrections, comments; are always welcome.
setting up TTRSS should be similar to any normal linux-dist installation

zeiram
Bear Rating Trainee
Bear Rating Trainee
Posts: 12
Joined: 29 Apr 2013, 17:04

Re: Tutorial Raspberry Pi + TTRSS + OwnCloud

Postby zeiram » 12 Mar 2014, 00:05

My advice would be to replace Apache by either Nginx or Lighttpd, and MySQL by PostgreSql (as both tt-rss and OwnCloud support both DBs). You will then use a lot less resources on your RPi (the switch from MySQL to PostgreSql alone made my RPi write a lot less on the SD card and thus also freed a lot of CPU cycles to do other things).

wtvar
Bear Rating Trainee
Bear Rating Trainee
Posts: 2
Joined: 26 Apr 2014, 00:49

Re: Tutorial Raspberry Pi + TTRSS + OwnCloud

Postby wtvar » 26 Apr 2014, 00:54

hi,
im also using ttrss on raspberry. just managed to get it to work but im a bit of a noob.
used the update once to update all my feeds, but wondering how to have it run in background?
used "Run: php ./update.php --daemon" which i found here: http://tt-rss.org/redmine/projects/tt-r ... atingFeeds
but i cant just leave that open running in a window.. how do i make it run in background?
and if youve tried it, how cpu hungry/how much does it slow down the pi.
also want to run some other stuff (owncloud, webserver)

mrc0mmand
Bear Rating Trainee
Bear Rating Trainee
Posts: 16
Joined: 06 Feb 2014, 21:49

Re: Tutorial Raspberry Pi + TTRSS + OwnCloud

Postby mrc0mmand » 26 Apr 2014, 16:38

[quote="wtvar"]hi,
im also using ttrss on raspberry. just managed to get it to work but im a bit of a noob.
used the update once to update all my feeds, but wondering how to have it run in background?
used "Run: php ./update.php --daemon" which i found here: http://tt-rss.org/redmine/projects/tt-r ... atingFeeds
but i cant just leave that open running in a window.. how do i make it run in background?
and if youve tried it, how cpu hungry/how much does it slow down the pi.
also want to run some other stuff (owncloud, webserver)


The simplest way is to run update daemon in screen. Just install package screen via your package manager and run a new instance of screen - e.g. screen -dmS ttrss /usr/bin/php <path-to-update-deamon> --daemon. (Your location of PHP binary may differ, you can check it via which php)
If you want to reduce load of your rasPi, you can run update daemon e.g. every 10 minutes. You can do it via update_daemon2.php script - update_daemon2.php --tasks 1 --interval 600