NodeBB is forum software. It's based on Node.js and therefore its installation is similar to that of Ghost. If you're not familiar with Ghost, it is blog software that is also written in Node.js.
In this guide you'll learn how to install NodeBB on your Ubuntu 14.04 server.
Install the prerequisites
apt-get install git nodejs nodejs-legacy npm redis-server imagemagick build-essential
Clone the NodeBB git repository to get the files on your system.
git clone -b v0.8.x https://github.com/NodeBB/NodeBB.git nodebb
Go to the
npm to prepare the installation. This will take a while, so be patient.
npm install --production
Next, start the web server. To start the web server, type:
You will see the following messages confirming that the web server has started:
info: Launching web installer on port 4567 info: Web installer listening on http://0.0.0.0:4567
Install NodeBB using the NodeBB Web Installer. You can visit this page by navigating to
http://[YourServerIP]:4567/. For example, if your server IP is
127.0.0.1, go to
Use the NodeBB Web Installer to create an administrator account. Enter a username, email address, and password.
For the database, use Redis. The correct information has already been entered; you can simply click the green button that reads "Install NodeBB".
You will then receive the following message:
Congratulations! Your NodeBB has been set-up.
Click "Launch NodeBB". The setup is complete.