Fetching contributors…
Cannot retrieve contributors at this time
98 lines (68 sloc) 5.35 KB
author description keywords license alias modified modified_by published title deprecated
name email
Install the simple and lightweight Discussion forum FluxBB on your Linode.
bulletin board,forum,discussion forum,fluxbb
Tuesday, October 1st, 2013
Monday, May 3rd, 2010
Discussion Forums with FluxBB

FluxBB is a web application that powers discussion forums. It strives to be faster and more lightweight than other contenders in this space, and its developers strive for maximum stability and security. Thus, FluxBB is a viable option for those who need a web based discussion forum and require simplicity and stability without an expansive feature set.

Before beginning with this guide we assume that you have completed our getting started guide. If you are new to Linux server administration, you may be interested in our introduction to Linux concepts guide, beginner's guide and administration basics guide. To complete this guide, you must also install a web server. This guide will assume that you have completed the appropriate LAMP guide for your operating system.

Installing Prerequisites

If you're running Debian or Ubuntu systems, ensure that your system's package repository is up to date, that all installed packages have been upgraded with the latest bug fixes and security patches using the following command sequence:

apt-get update
apt-get upgrade

On CentOS and Fedora systems, issue the following commands to ensure your system's packages are up to date:

yum update

For the purpose of this guide we will assume that you have virtual hosting configured for the domain with all publicly accessible resources located in the document root /srv/www/ In this document you will install FluxBB into this document root. Modify all of the instructions below to agree with the architecture of your deployment.

Install FluxBB

This document contains specific instructions for installing version 1.2.22 of FluxBB. Check the upstream source to confirm that this is the most up to date version of the software and that there are no vulnerabilities or bugs. Issue the following sequence of commands to download, extract, move the FluxBB files to your web server's document root, and properly configure file permissions:

mkdir -p /srv/www/
cd /srv/www/
cp fluxbb-1.2.22.tar.gz /srv/www/
cd /srv/www/
tar -zxvf fluxbb-1.2.22.tar.gz; rm fluxbb-1.2.22.tar.gz
cp -R /srv/www/* /srv/www/
chmod -R 777 /srv/www/
chmod -R 777 /srv/www/

Now visit in your web browser, and follow the setup procedure provided by the FluxBB web based interface. During this process you will be asked to create a config.php file that resembles the following:

{: .file } /srv/www/ : ~~~ php <?php

$db_type = 'mysqli';
$db_host = 'localhost';
$db_name = 'lollipop';
$db_username = 'foreman';
$db_password = '5t1ck';
$db_prefix = 'new_';
$p_connect = false;

$cookie_name = 'forum_cookie';
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;
$cookie_seed = 'a3647cd58bd28fa9';

define('PUN', 1);

When you have created this file, you will have completed the installation of FluxBB. Issue the following command to remove the setup files:

rm -rf /srv/www/

Congratulations! You have now successfully deployed FluxBB.

Monitor for Software Updates and Security Notices

When running software compiled or installed directly from sources provided by upstream developers, you are responsible for monitoring updates, bug fixes, and security issues. After becoming aware of releases and potential issues, update your software to resolve flaws and prevent possible system compromise. Monitoring releases and maintaining up to date versions of all software is crucial for the security and integrity of a system.

Please monitor the FluxBB Forums to ensure that you are aware of all updates to the software and can upgrade appropriately or apply patches and recompile as needed.

When upstream sources offer new releases, repeat the instructions for installing the FluxBB software as needed. These practices are crucial for the ongoing security and functioning of your system.

More Information

You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials.