开源实例之NodeBB
前言
NodeBB is next-generation forum software – powerful, mobile-ready and easy to use.
NodeBB Forum Software is powered by Node.js and supports either Redis, MongoDB, or a PostgreSQL database. It utilizes web sockets for instant interactions and real-time notifications. NodeBB takes the best of the modern web: real-time streaming discussions, mobile responsiveness, and rich RESTful read/write APIs, while staying true to the original bulletin board/forum format → categorical hierarchies, local user accounts, and asynchronous messaging.
实例地址
实例配置
配置 | 描述 |
---|---|
系统 | Debian |
服务端 | Node.js 18 |
数据库 | MongoDB 4.4 |
程序 | NodeBB 2.8.9 |
实例部署
权限要求
- 具有系统读写权限
- 已安装 Node.js
- 已安装数据库,如 MongoDB
建数据库
创建一个供程序使用的数据库:
> use nodebb
> db.createUser( { user: "nodebb", pwd: "<Enter a secure password>", roles: [ { role: "readWrite", db: "nodebb" }, { role: "clusterMonitor", db: "admin" } ] } )
安装程序
官网地址:https://nodebb.org
仓库地址:https://github.com/NodeBB/NodeBB
#安装
git clone https://github.com/NodeBB/NodeBB.git nodebb
cd nodebb
./nodebb setup
#启动
./nodebb start
实例体验
后记
本实例仅供参考,不定期重置数据。