“Node+express+mongodb实践”版本间的差异

来自iCenter Wiki
跳转至: 导航搜索
第19行: 第19行:
 
:mongodb的启动  service mongod start/stop
 
:mongodb的启动  service mongod start/stop
 
:mongodb的客户端    https://robomongo.org/download robomongo
 
:mongodb的客户端    https://robomongo.org/download robomongo
 +
 +
'''安装express''''''安装mongodb'''
 +
:http://www.expressjs.com.cn/starter/installing.html

2016年11月1日 (二) 03:19的版本

安装node

如何从EPEL库安装Node.js

另一个有效且简单的方法来安装Node.js就是从官方库。这同样确保您可以访问到EPEL库,你可以通过运行以下命令。

sudo yum install epel-release

现在可以使用yum命令安装Node.js了。

sudo yum install nodejs

因为在开发过程中我需要管理节点包,我还要安装新公共管理的软件包管理器,使用以下命令。

sudo yum install npm

安装mongodb

Centos7下安装mongodb方法

mongodb的启动 service mongod start/stop
mongodb的客户端 https://robomongo.org/download robomongo

'安装express'安装mongodb

http://www.expressjs.com.cn/starter/installing.html