文档章节

Install NodeBB on Ubuntu

FeanLau
 FeanLau
发布于 2017/07/17 12:49
字数 354
阅读 12
收藏 0

NodeBB is a free mobile first discussion platform with instant notifications. It comes with analytics dashboard, real time chat, built in localization support along with plugins and themes to enhance it even more.

Before we get started, make sure you sign up for a new account through our link and get your $10 creditwhich is equal to two months of free service on the 512MB plan!

Check your system and make sure you have node installed.

node --version

If it’s not on your system, you can follow the Install Node And Verify Version On Ubuntu guide. Once you are ready, proceed to the next page.

Now for the NodeBB installation

cd ~
sudo apt install -y git
git clone -b v1.0.3 https://github.com/NodeBB/NodeBB.git nodebb
cd nodebb
npm install --production

Tip: for new installs, check for the newest release at https://github.com/NodeBB/NodeBB/releases and replace v1.0.3 with the number that is displayed above

Before you proceed to the next step, make sure you have MongoDB. You can follow the Install MongoDB on Ubuntu guide if it’s not installed.

Now to get the database ready for NodeBB, open terminal and type the following

mongo
use nodebb
db.createUser( { user: "nodebb", pwd: "nodebbpwd", roles: [ "readWrite" ] } )
exit

NOTE: you should replace nodebb and nodebbpwd with your own!!

 Start the NodeBB web installer

npm start

Open the web browser and visit http://www.devporto.com:4567
You will need to replace www.deporto.com with your domain name or IP address.

Fill out all the details under the Create an Administrator account section

For the Configure your database section, you will need to make the following changes:

Database type: MongoDB
MongoDB username: nodebb
Password of your MongoDB database: nodebbpwd
Which database to use: nodebb

Note: MongoDB username and password along with database name should match what you previously setup.

When you are ready, click Install NodeBB

If everything goes smoothly, you will see Congratulations! Your NodeBB has been set-up.

At this point, click Launch NodeBB and have fun!

If you are stuck at any point, you can watch this video to see all the steps

© 著作权归作者所有

FeanLau
粉丝 3
博文 226
码字总数 123622
作品 0
浦东
程序员
私信 提问
加载中

评论(3)

FeanLau
FeanLau
这里的启动服务器的装置,要去好好地看package.json,里面描述了很多的内容
FeanLau
FeanLau
这种文章,只能知道一个大概的内容,具体的细节都没有涉及到的
FeanLau
FeanLau
英文的技术文章,真的在理解上面有先天的优势
nodeBB 安装 - linux

npm install -g cnpm --registry=https://registry.npm.taobao.org cnpm install 启动redis ./nodebb setup URL used to access this NodeBB (http://139.196.54.156:4567) http://139.196.5......

岱然_
2016/05/23
2
1
编译项目下custom主题文件

安装npm -g install less cd 到 NodeBB-1.0.3\node_modules\nodebb-plugin-tool-suit\style\custom> lessc -x custom.less > custom.css 剪切custom.css 到 NodeBB-1.0.3\public 下面......

K68
2016/08/04
0
0
NodeBB 插件汇总

http://nodebb.net/topic/26/nodebb-%E6%8E%A8%E8%8D%90%E6%8F%92%E4%BB%B6%E9%80%9F%E6%9F%A5%E6%B8%85%E5%8D%95/2 https://github.com/NodeBB-Community/nodebb-plugin-adsense https://gi......

K68
2016/08/23
8
0
NodeBB 资料汇总

GitHub项目地址 https://github.com/NodeBB/NodeBB 官方最新英文文档 https://docs.nodebb.org/en/latest/index.html 编写插件 https://github.com/NodeBB/nodebb-plugin-write-api 前期写的......

K68
2016/05/18
2
1
一次nodebb升级的排错检查

玩[nodebb][1]有些日子了。之前用的是v0.4.1版本,一直用着还不错。但有朋友反应发帖时不能使用快捷键很麻烦,所以想加一个插件nodebb-plugin-shortcuts。但是使用插件后,论坛不能启动,看了...

bfleeee
2014/05/22
0
0

没有更多内容

加载失败,请刷新页面

加载更多

C 语言 二级指针的使用

#include <stdio.h>#include <stdlib.h>typedef struct node Node;struct node {int data;struct node* next;struct node* prev;};Node head;Node* insert(Node......

小张525
50分钟前
2
0
【大数据技术】——Hadoop(1)

什么是大数据 基本概念 《数据处理》 在互联网技术发展到现今阶段,大量日常、工作等事务产生的数据都已经信息化,人类产生的数据量相比以前有了爆炸式的增长,以前的传统的数据处理技术已经...

须臾之余
今天
8
0
比特币从地址逆向计算私钥

区块链 区块链简介 说到比特币,就不得不提区块链。那什么是区块链呢? 区块链本质是一个数据集,只不过数据的组织采用了比较特殊的方式,就是把数据拆分为一块一块的小数据集。 为什么要进行...

trayvon
今天
2
0
TypeScript……真香

写前端或者用 node 写命令行小工具一直采用的 es6 的语法,对于 TypeScript 则是秉持敬而远之的态度,毕竟团队中多推广一门语言所需要花费的精力都是让人望而却步的。所以对于 JavaScript 的...

郁也风
今天
3
0
shell基本案例

1、自定义rm linux系统的rm命令太危险,一不小心就会删除掉系统文件。 写一个shell脚本来替换系统的rm命令,要求当删除一个文件或者目录时,都要做一个备份,然后再删除。下面分两种情况,做...

寰宇01
今天
6
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部