This document is an older, unmaintained guide. There may be a new guide available for this software.
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're new to Linux systems administration consider the guides in our using Linux section, particularly the guide for administration basics. 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.
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:
For the purpose of this guide we will assume that you have virtual hosting configured for the domain ducklington.org with all publicly accessible resources located in the document root /srv/www/ducklington.org/public_html/. 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.
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/ducklington.org/src/fluxbb-1.2.22 cd /srv/www/ducklington.org/src/ wget http://fluxbb.org/download/releases/1.2.22/fluxbb-1.2.22.tar.gz cp fluxbb-1.2.22.tar.gz /srv/www/ducklington.org/src/fluxbb-1.2.22 cd /srv/www/ducklington.org/src/fluxbb-1.2.22 tar -zxvf fluxbb-1.2.22.tar.gz; rm fluxbb-1.2.22.tar.gz cp -R /srv/www/ducklington.org/src/fluxbb-1.2.33/upload/* /srv/www/ducklington.org/public_html/ chmod -R 777 /srv/www/ducklington.org/public_html/cache/ chmod -R 777 /srv/www/ducklington.org/public_html/img/avatars/
Now visit http://ducklington.org/install.php 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:
<?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/ducklington.org/public_html/install.php
Congratulations! You have now successfully deployed FluxBB.
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.
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.
This guide is licensed under a Creative Commons Attribution-NoDerivs 3.0 United States License.
Last edited by Sharon Campbell on Tuesday, October 1st, 2013 (r3756).