Installing NodeBB on Ubuntu 14.04

Published on: Wed, Sep 2, 2015 at 6:51 am EST
Server Apps Ubuntu

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.

Step 1: Installing prerequisites

Install the prerequisites git, nodejs, npm, redis and imagemagick.

apt-get install git nodejs nodejs-legacy npm redis-server imagemagick build-essential

Step 2: Installing NodeBB

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 nodebb folder.

cd nodebb

Use 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:

npm start

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

Step 3: Using the NodeBB Web Installer

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 127.0.0.1:4567.

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.

Want to contribute ?

You could earn up to $300 by adding new articles