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

来自iCenter Wiki
跳转至: 导航搜索
第17行: 第17行:
  
 
[https://www.liquidweb.com/kb/how-to-install-mongodb-on-centos-7/ Centos7下安装mongodb方法]
 
[https://www.liquidweb.com/kb/how-to-install-mongodb-on-centos-7/ Centos7下安装mongodb方法]
 +
:mongodb的启动  service mongod start/stop

2016年11月1日 (二) 02:43的版本

安装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