NodeBB
https://docs.nodebb.org/installing/os/ubuntu/
Installing Node.js
Install NVM
Install Node.js
Test Node.js
Installing MongoDB
Import the public key used by the package management system.
Create a list file for MongoDB
Reload local package database
Install the MongoDB packages
Verify installation of MongoDB
Start MongoDB
Verify that MongoDB has started successfully
You can optionally ensure that MongoDB will start following a system reboot
Configure MongoDB
Switch to the built-in admin database:
admin database:Create an administrative user:
Add a new database called nodebb:
nodebb:Create the nodebb user with the appropriate privileges:
nodebb user with the appropriate privileges:Exit the Mongo Shell:
Enable database authorization in the MongoDB configuration file
Restart MongoDB and verify the administrative user created earlier can connect:
Installing NodeBB
Installing Nginx
Verify the installation of Nginx
Run Nginx
Configuring Nginx
Last updated