NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
cobels
Mar 20, 2012Aspirant
Spotweb and Readynas
Does somebody know how to install spotweb on a readynas ?" If yes perhaps they could leave a small how to here, so that others can benefit from there experience. Thx in advance, regards.
sign2apple
Dec 28, 2012Aspirant
Now spotplanet is going down it was time for me to install Spotweb on the ReadNas(x86).
I have created a step-by-step tutorial.
Hopefully it will help you. Success!
// Create a website share
========================================================================
http://www.readynas.com/?p=135
I made a share called 'www' and skipped step 4
//Enable Root SSH Access
========================================================================
http://www.readynas.com/?p=4203
//Install MysqlOn add-on
========================================================================
http://www.readynas.com/forum/viewtopic.php?f=48&t=22853
//Install PHP 5.3 add-on
========================================================================
http://readynasxtras.com/readynas-x86-add-ons/php-53-x86
//Set timezone (Using frontview: Add-ons->Installed->PHP5)
========================================================================
//Edit both php.ini files. Search for date.timezone.
//Edit the line so it matches your timezone (example: date.timezone = Europe/Amsterdam)
//Create spotweb database and user (change user and password)
========================================================================
//Install spotweb
========================================================================
// Configure apache
===============================================================================
//Install nano:
// Put these lines under the line 'Include /etc/frontview/apache/Shares.conf' and save.
// Restart apache
//Configure spotweb
=========================================================================
//Run the installation wiazrd:
http://nas-ip/www/spotweb/install.php
//Save your db settings:
//copy and paste these lines, change user and password to yours and save:
//Update database schema
============================================================================
//Retrieve spots for the first time
============================================================================
//Run spotweb
============================================================================
http://nas-ip/www/spotweb/
//Retrieve new spots every 30 minutes (create cronjob)
============================================================================
// Copy this line and save
That's all
I have created a step-by-step tutorial.
Hopefully it will help you. Success!
// Create a website share
========================================================================
http://www.readynas.com/?p=135
I made a share called 'www' and skipped step 4
//Enable Root SSH Access
========================================================================
http://www.readynas.com/?p=4203
//Install MysqlOn add-on
========================================================================
http://www.readynas.com/forum/viewtopic.php?f=48&t=22853
//Install PHP 5.3 add-on
========================================================================
http://readynasxtras.com/readynas-x86-add-ons/php-53-x86
//Set timezone (Using frontview: Add-ons->Installed->PHP5)
========================================================================
//Edit both php.ini files. Search for date.timezone.
//Edit the line so it matches your timezone (example: date.timezone = Europe/Amsterdam)
//Create spotweb database and user (change user and password)
========================================================================
mysql
CREATE DATABASE spotweb;
GRANT ALL PRIVILEGES ON spotweb.* TO "user" IDENTIFIED BY "password";
quit
//Install spotweb
========================================================================
cd /c
wget --no-check-certificate https://github.com/spotweb/spotweb/tarball/master
tar -xvzf master
mv spotweb-spotweb-* /c/www/spotweb
rm master
// Configure apache
===============================================================================
//Install nano:
apt-get update
apt-get install nano
nano /etc/frontview/apache/httpd.conf
// Put these lines under the line 'Include /etc/frontview/apache/Shares.conf' and save.
Alias /www /c/www
<Location /www>
Options Indexes FollowSymLinks SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Location>
// Restart apache
killall apache-ssl
/usr/sbin/apache-ssl -f /etc/frontview/apache/httpd.conf
//Configure spotweb
=========================================================================
//Run the installation wiazrd:
http://nas-ip/www/spotweb/install.php
//Save your db settings:
cd /c/www/spotweb
nano dbsettings.inc.php
//copy and paste these lines, change user and password to yours and save:
<?php
$dbsettings['engine'] = 'mysql';
$dbsettings['host'] = 'localhost';
$dbsettings['dbname'] = 'spotweb';
$dbsettings['user'] = 'user';
$dbsettings['pass'] = 'password';
//Update database schema
============================================================================
php upgrade-db.php
//Retrieve spots for the first time
============================================================================
php retrieve.php
//Run spotweb
============================================================================
http://nas-ip/www/spotweb/
//Retrieve new spots every 30 minutes (create cronjob)
============================================================================
crontab -e
// Copy this line and save
*/30 * * * * /usr/bin/php /c/www/spotweb/retrieve.php >> /var/log/spotweb.log
That's all
Related Content
NETGEAR Academy

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