How to Install NodeBB on a CentOS VPS?

NodeBB is an open source and powerful forum software based on the Node.js. It is very easy to use, responsive forum script that utilizes the  web sockets for instant interactions and real-time notifications. It supports the social network integration and discussion streamings out of the box. Following are the step-by-step instructions to install NodeBB on a CentOS VPS.

  1. Before installing NodeBB, apply the following command to check if all your OS packages are up to date.

    yum -y update 
  2. The next step is to install the epel release, you can do so using the following command.

    yum -y install epel-release
  3. Have patience as OS package update may take long. Once updates are finished, install the base software stack. Note that Development tools are a yum group of the predefined bundle of software installed at once. Typically, these tools are used to allow a user build and compile software from source code.

    yum groupinstall "Development Tools"
  4. On the next step, install nodejs and other required packages for NodeBB.

    yum install nodejs git ImageMagick redis npm
  5. Next, clone the NodeBB repository. Don't forget to replace v1.0.0 with the latest stable version of NodeBB.

    cd /path/to/nodebb/install/location 
    git clone -b v1.0.0 https://github.com/NodeBB/NodeBB nodebb
  6. Once your repository is cloned, obtain all of the dependencies required by NodeBB.

    cd nodebb
    npm install
  7. Start the Redis service by issuing the following command.

    service redis start
  8. Now, initiate the setup script by running the nodeBB with the setup flag as follows. The system will detect your setup as new installation, so you'll be asked few questions about your environment like listening port number, hostname, etc.

    ./nodebb setup
  9. Once nodeBB setup is configured, start it up.

    ./nodebb start

    Now, you should be able to access the nodeBB either through default URL http://localhost:4567 or configuration you setup in the previous step.

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

Will internal traffic between two VPS viz. a Database Server and a Web Server be counted in my bandwidth usage?

Yes it will. The traffic will be counted in the bandwidth usage of your VPS. Even if you use...

How to transfer cPanel accounts from Shared Hosting to VPS/Dedicated Server manually?

cPanel facilitates you to restore full cPanel account along with websites, email accounts, MySQL...

Virtual Machine with CentOS 5 32-Bit OS Does not Address Physical Memory More Than 3 GB

Recently we came across very strange issue wherein Linux virtual machine with Centos 5.X 32 Bit...

How to Install SHOUTCast Radio Server on Linux VPS?

This tutorial will assist you to install SHOUTcast Distributed Network Audio Server (DNAS 2.0) in...

How to Automate Tasks on a Linux VPS Using Cron?

One of our Linux VPS customers faced an issue wherein his Virtual Machine’s system clock was...