NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

YuppY's avatar
YuppY
Aspirant
Jun 29, 2013

Installing Selfoss on ReadyNAS Pro 2

As you know, Google will close its Reader tomorrow and users are migrating to different RSS readers and aggregators. Selfoss (http://selfoss.aditu.de/) is one of these alternatives. It is opensource, lightweight and have very nice interface. And it could be installed to ReadyNAS server.

This is how it is done:


  1. Install requirements (PHP 5.3 with sqite and gd modules)

    Easiest way is to buy PHP addon from ReadyNASXtras (http://readynasxtras.com/readynas-x86-add-ons/php-53-x86), but it is not too hard to install these requirments via shell:


    • Add debian squeeze source to /etc/apt/sources.list:


      deb http://www.readynas.com/packages 4.2.23/

      #deb http://archive.debian.org/debian etch main
      deb http://ftp.debian.org/debian squeeze main

      (thanks to chirpa for this trick https://www.readynas.com/forum/viewtopic.php?t=62906#p352609)

    • apt-get update
    • apt-get install debian-archive-keyring
      (otherwise you'll have to confirm signature of each squeeze package)
    • apt-get install php5 php5-sqlite php5-gd

  2. Download and unpack Selfoss. I've used /c/webroot/selfoss folder.

  3. Set owner of this folder. It should be same user as starting apache:
    chown -R admin:admin /c/webroot/selfoss

  4. Configure apache. Config located in /etc/frontview/apache/httpd.conf. I've created /etc/frontview/apache/addons/selfoss.conf, which is imported automatically:

    Include /etc/apache2/mods-available/php5.load
    Include /etc/apache2/mods-available/php5.conf

    PHPIniDir /etc/php5/apache2

    Alias /selfoss /c/webroot/selfoss
    <Location /selfoss>
    Options +FollowSymLinks +SymLinksIfOwnerMatch
    </Location>


  5. Fix php timezone warnings. ReadyNAS using non-standard timezone format which issue warnings in php. Simply edit this setting in /etc/php5/apache2/php.ini:

    date.timezone = {your timezone}


  6. Configure Selfoss

    • Copy defaults.ini into config.ini.
    • Uncomment "RewriteBase /selfoss" line in .htaccess.


  7. Restart apache

    • killall /usr/sbin/apache-ssl
    • /usr/sbin/apache-ssl -f /etc/frontview/apache/httpd.conf


  8. Open https://{ReadyNAS host}/selfoss, add RSS sources or import OPML.

  9. Open https://{ReadyNAS host}/selfoss/update to load feeds.

  10. Add cron job to update feed as described in selfoss readme.


  11. That's it.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More