GuidesTech

Installing forum script on D-Link NAS

My workplace needed a simple forum to test out some stuffs and so happened hangyong also needed one. So must as well I document the installation procedure for him as well. Researched abit on available forum scripts (phpbb, smf, etc.) and in the end settled with SMF for its lighter memory footprint.

Prerequisites

  • DNS-343 or DNS-323 or DNS-313
  • Running fonz’s fun_plug 0.5
  • Telnet access

Your device should already be running fonz’s fun_plug. If you have yet to do so, fun_plug it! If you are using DNS-343 or DNS-323, follow this guide. If you are using DNS-313, follow this guide instead.

Setting up php for lighttpd

/ # cd /mnt/HD_a2
/mnt/HD_a2 # wget http://www.inreto.de/dns323/fun-plug/0.5/packages/php-5.2.6-2.tgz
Connecting to www.inreto.de (217.119.59.48:80)
php-5.2.6-2.tgz 100% |*******************************| 6414k 00:00:00 ETA
/mnt/HD_a2 # funpkg -i php-5.2.6-2.tgz
Installing package php-5.2.6-2 …
/mnt/HD_a2 # cp /ffp/etc/examples/lighttpd.conf-with-php /ffp/etc/lighttpd.conf
/mnt/HD_a2 # mkdir -p /mnt/HD_a2/www/pages /mnt/HD_a2/www/logs

Setting up database (SQLite)

/mnt/HD_a2 # wget http://www.inreto.de/dns323/fun-plug/0.5/packages/sqlite-3.5.6-3.tgz
Connecting to www.inreto.de (217.119.59.48:80)
sqlite-3.5.6-3.tgz 100% |*******************************| 429k 00:00:00 ETA
/mnt/HD_a2 # funpkg -i sqlite-3.5.6-3.tgz
Installing package sqlite-3.5.6-3 …
/mnt/HD_a2 #

Updating php configuration

You would need to create/edit the file php.ini (/ffp/etc/php.ini) to have the following content

[PHP]
extension=pdo.so
extension=sqlite.so

Getting the necessary SMF packages

/ # cd /mnt/HD_a2
/mnt/HD_a2 # wget http://www.simplemachines.org/download/index.php/smf_2-0-beta3-1p_install.tar.gz
Connecting to www.simplemachines.org (207.210.95.108:80)
smf_2-0-beta3-1p_ins 100% |*******************************| 1836k –:–:– ETA
/mnt/HD_a2 # mkdir /mnt/HD_a2/www/pages/smf
/mnt/HD_a2 # tar xzvf smf_2-0-beta3-1p_install.tar.gz -C /mnt/HD_a2/www/pages/smf

Starting lighttpd

/mnt/HD_a2 # sh /ffp/start/lighttpd.sh start

Installing SMF
Point your web browser to http://<NAS IP>:8080/smf/install.php to continue with the SMF installation!

 

Treat shadowandy!

If these step-by-step guides have been very helpful to you and saved you a lot of time, please consider treating shadowandy to a cup of Starbucks.  

This site contains links to Amazon. These links will take you to some of the products mentioned in today’s article. As an Amazon Associate, I earn from qualifying purchases.
9 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments