What's new

Guide to setup forum - here you go!

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

mrdude

Regular Contributor
I used xenforo as the forum software and then did the following to install all the packages needed for xenforo and phpMyAdmin.

Telnet into the router:
Code:
cd /
entware-setup.sh

Install the required packages:
Code:
opkg install lighttpd php5-cgi lighttpd-mod-fastcgi lighttpd-mod-scgi nano wget mysql-server php5-mod-mysql php5-mod-xml php5-mod-gd php5-mod-iconv php5-mod-ctype php5-mod-json php5-mod-mysqli php5-mod-dom php5-mod-simplexml php5-mod-dom php5-mod-simplexml php5-mod-openssl php5-mod-mbstring php5-mod-session

Issue some more commands:
Code:
/opt/etc/init.d/S80lighttpd stop
mkdir -p /opt/etc/lighttpd/conf.d
wget -c -O /opt/etc/lighttpd/conf.d/99-rtorrent-fastcgi-scgi-auth.conf http://goo.gl/YK8xPQ
mysql_install_db --force
/opt/etc/init.d/S70mysqld restart
mysql -u root -p

Make a database called 'forum' - change user and password to your own username and password.
Code:
create database forum;
grant all privileges on forum.* to user@127.0.0.1 identified by 'password' ;

More database commands:
Code:
( command to delete a database forum: DROP DATABASE forum;)
( command to show databases: SHOW DATABASES;)
( command to dump backup database: mysqldump --opt -h127.0.0.1 -uroot -ppassword forum > /tmp/backup.sql)
( command to restore backup database: mysql -h127.0.0.1 -uuser -ppassword forum < /tmp/backup.sql)

Exit: with Ctrl-C
Copy forum files to: /opt/share/www (use winscp)

Start Website:
Code:
/opt/etc/init.d/S70mysqld restart
/opt/etc/init.d/S80lighttpd restart

Once you have your website installed:

In jjfs/scripts/firewall-start - add this line:
Code:
/usr/sbin/iptables -I INPUT -p tcp --dport 81 -j ACCEPT

In your router admin wan interface: port forward 192.168.1.1 from port 80 to port 81.
In your router admin administration/system: enable custom jjfs scripts.

Reboot router - that's it.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top