Selfoss rss reader

intermediate
application

(Stéphane de Labrusse) #1

Selfoss is a rss reader that you can find here, It is not really a competitor with tt-rss but if you are looking for something light, without multi-user ability, with a community who are not saying that you are an idiot because you ask a question, selfoss suits your need :smile:

we need to install some rpm

 yum install nethserver-httpd nethserver-ibays nethserver-mysql php-gd php-mysql unzip php-pdo

First you need to create an Ibay, call it like you you want, here : selfoss

check the box :

  • Require SSL encrypted connection
  • Allow .htaccess and write permissions overrides

got to /var/lib/nethserver/ibay/selfoss

cd /var/lib/nethserver/ibay/selfoss

then download selfoss

wget http://selfoss.aditu.de/selfoss-2.12.zip

unzip the archive

unzip selfoss-2.12.zip
rm selfoss-2.12.zip

create a .htwritable file to set apache permissions

vim .htwritable

and paste

public
data
data/cache
data/favicons
data/logs
data/sqlite
data/thumbnails

return to the selfoss ibay panel and then reset permission

then we need to set the redirection directive to the ibay, instead of the default /var/www/html
uncomment at the top of the .htaccess : #RewriteBase /selfoss

vi .htaccess

Now you can got to http://your-ip/selfoss

By default selfoss is designed to use a db sqlite, it is easy and already set, but you need to allow apache to that db

chown apache:apache /var/lib/nethserver/ibay/selfoss/data/sqlite/selfoss.db

if you want to customise selfoss and by example use a password, or a mysql db then you must edit the file

vi defaults.ini

UPDATE feeds :
It is a cron based job, please add at /etc/crontab

vi /etc/crontab

and paste

*/30 * * * * apache wget https://localhost/selfoss/update --no-check-certificate   >/dev/null 2>&1