Start the mongod service and verify service status: sudo systemctl start mongod You should have version 5.0: mongod -version ![]() wget -qO - | sudo apt-key add -Įcho "deb buster/mongodb-org/5.0 main" | sudo tee /etc/apt//mongodb.list If you're having issues, fall back to using that guide instead. The following is an abbreviation of the official MongoDB installation guide for Debian. 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 Node.js is available from the NodeSource repository. 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.
0 Comments
Leave a Reply. |