Install NodeBB on CentOS Print

  • 1

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.

- Login to VPS
- Update OS package
# yum -y update


- Install the epel release, 
# yum -y install epel-release

- Install the base software stack.
yum groupinstall "Development Tools"

- Install nodejs and other required packages for NodeBB. 
# yum install nodejs git ImageMagick redis npm

- 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

Once your repository is cloned, obtain all of the dependencies required by NodeBB. 

# cd nodebb
# npm install

- Start the service. 

# service redis start

- Now, initiate the setup script by running the nodeBB with the setup flag as follows
./nodebb setup

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



Was this answer helpful?

« Back