当前位置:网站首页>快速安装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
边栏推荐
- Un modèle universel pour la construction d'un modèle d'apprentissage scikit
- About note 1
- 低频量化之明日涨停预测
- The art of automation
- 3300万IOPS、39微秒延迟、碳足迹认证,谁在认真搞事情?
- China creates vast research infrastructure to support ambitious climate goals
- SQL: How to parse Microsoft Transact-SQL Statements in C# and to match the column aliases of a view
- poi操作word模板替换数据并且导出word
- websocket
- 关于stream流,浅记一下------
猜你喜欢
编程旅行之函数
[VMware] address of VMware Tools
go 语言 数组,字符串,切片
大专的我,闭关苦学 56 天,含泪拿下阿里 offer,五轮面试,六个小时灵魂拷问
蓝绿发布、滚动发布、灰度发布,有什么区别?
Quartus Prime硬件实验开发(DE2-115板)实验一CPU指令运算器设计
Android interview theme collection
微信小程序的订阅号开发(消息推送)
Record a strange bug: component copy after cache component jump
Autumn recruitment in 2021, salary ranking No
随机推荐
专题测试05·二重积分【李艳芳全程班】
Haruki Murakami -- Excerpt from "what do I talk about when I talk about running"
容差分析相关的计算公式
linux MySQL数据定时dump
烟雾传感器(mq-2)使用详细教程(基于树莓派3b+实现)
crontab定时任务输出产生大量邮件耗尽文件系统inode问题处理
AtomicIntegerArray源码分析与感悟
Atcoder beginer contest 248c dice sum (generating function)
redis如何解决缓存雪崩、缓存击穿和缓存穿透问题
UML Unified Modeling Language
Multithreading
AtCoder Beginner Contest 248C Dice Sum (生成函数)
多线程 @Async 线程池
编程旅行之函数
分页SQL
Function executes only the once function for the first time
The latest development of fed digital currency
request模块
BUG_me
Go语言 RPC通讯