当前位置:网站首页>快速安装mongodb
快速安装mongodb
2022-04-23 14:02:00 【百夜﹍悠ゼ】
安装MongoDB
1.配置yum源
vi /etc/yum.repos.d/mongodb.repo
-----------添加如下内容--------------------------
[MongoDB]
name=MongoDB Repository
baseurl=http://repo.mongodb.org/yum/redhat/7Server/mongodb-org/4.0/x86_64/
gpgcheck=0
enabled=1
2.下载mongodb,遇到completed安装完成。
yum -y install mongodb-org
3.启动服务
systemctl start mongod.service //无结果显示
4.配置开启启动
chkconfig mongod on
5.验证查看版本和启动状态
systemctl status mongod.service
mongod --version
版权声明
本文为[百夜﹍悠ゼ]所创,转载请带上原文链接,感谢
https://blog.csdn.net/AlierSnow/article/details/109073367
边栏推荐
猜你喜欢
微信小程序调用客服接口
Quartus Prime硬件实验开发(DE2-115板)实验二功能可调综合计时器设计
scikit-learn構建模型的萬能模板
Un modèle universel pour la construction d'un modèle d'apprentissage scikit
STM32学习记录0007——新建工程(基于寄存器版)
第一章 电商秒杀商品回顾
crontab定时任务输出产生大量邮件耗尽文件系统inode问题处理
freeCodeCamp----time_ Calculator exercise
基于微信小程序的wifi模块使用
Elmo (bilstm-crf + Elmo) (conll-2003 named entity recognition NER)
随机推荐
烟雾传感器(mq-2)使用详细教程(基于树莓派3b+实现)
Jenkins construction and use
linux MySQL数据定时dump
Chapter I review of e-commerce spike products
生产环境——
多线程 @Async 线程池
How does redis solve the problems of cache avalanche, cache breakdown and cache penetration
Quartus Prime硬件实验开发(DE2-115板)实验二功能可调综合计时器设计
分页SQL
json反序列化匿名数组/对象
1256:献给阿尔吉侬的花束
scikit-learn构建模型的万能模板
Oracle alarm log alert Chinese trace and trace files
基于ibeacons签到系统
Oracle告警日志alert.log和跟踪trace文件中文乱码显示
腾讯根据ip解析地址
JS brain burning interview question reward
Expression「Func「TSource, object」」 转Expression「Func「TSource, object」」[]
初识go语言
Node接入支付宝开放平台的沙箱实现支付功能