码迷,mamicode.com
首页 > 数据库 > 详细

Centos 7.3 安装 Mongodb

时间:2017-08-31 19:11:32      阅读:276      评论:0      收藏:0      [点我收藏+]

标签:ice   stop   art   log   class   emc   service   python   启动   

通过yum 安装:

yum install -y mongodb-server

Mongodb操作命令:

#启动
systemctl start mongod.service 
#关闭
systemctl stop mongod.service 
#状态
systemctl status mongod.service 

安装Python驱动:

yum install python-pymongo 或 pip install pymongo

 

Centos 7.3 安装 Mongodb

标签:ice   stop   art   log   class   emc   service   python   启动   

原文地址:http://www.cnblogs.com/JansXin/p/7459614.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!