


Keep in mind that NodeBB does not require any of these advanced configurations, and doing so may complicate your installation. Please refer to the MongoDB Replication and Sharding topics for further reading. Although out of scope for this guide, some MongoDB production deployments leverage clustering, sharding and replication for high availibility and performance reasons. Official detailed installation instructions can be found in the MongoDB manual. If you wish to use another database instead of MongoDB the Configuring Databases section has more information. As noted in the MongoDB Support Policy versions older than 4.0 are officially End of Life as of October 2021. MongoDB is the default database for NodeBB. Npm -v (should output "8.11.0" or similar)

You should have version lts of Node.js installed, and version 8 of npm installed: node -v The Node.js LTS Plan details the LTS release schedule including projected end-of-life. Node.js is a rapidly evolving platform and so installation of the current LTS version of Node.js is recommended to make future updates seemless. Naturally, NodeBB is driven by Node.js, and so it needs to be installed. It is recommended to enable a swap partition to compensate if your Linux system has insufficient memory. Memory: Installing NodeBB's dependencies may require more than 512 megabytes of system memory.Fully patched LTS and equivalent production versions of software are assumed and used throughout.Ĭonfused? – A simpler guide for Ubuntu 18.04 with lots of screenshots can be found on the NodeBB Blog. Windows 10 and will install NodeBB with MongoDB as the database. msi file and execute it to start the installerĬonfigure a service for the mongod server Here, you deploy the installation of node-v4.4.2 LTS recommended for most users.Ĭhoose the location where you want to install.Go to the MongoDB Download Center and download the appropriate setup file You can download the latest version of Node.js installable archive file from It is interpreted and executed by the Node.js interpreter. The source code written in source file is simply JavaScript. The source files for Node.js programs are typically named with the extension ".js". The files created with text editor are called source files and contain program source code. The name and version of the text editor can be different from operating system to operating system. For example: Notepad is used in Windows, vim or vi can be used on Windows as well as Linux or UNIX. The text editor is used to type your program. To install and setup an environment for Node.js, you need the following two softwares available on your computer:
