当前位置:网站首页>快速安装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
边栏推荐
- 微信小程序与低功耗蓝牙通信-接受硬件端发送来的数据(四)
- Ptorch classical convolutional neural network lenet
- What is the difference between blue-green publishing, rolling publishing and gray publishing?
- 2021年秋招,薪资排行NO
- Jenkins construction and use
- Restful WebService和gSoap WebService的本质区别
- 微信小程序setInterval定时函数使用详细教程
- Basic knowledge learning record
- Yarn online dynamic resource tuning
- Jiannanchun understood the word game
猜你喜欢
Multithreading
elmo(BiLSTM-CRF+elmo)(Conll-2003 命名实体识别NER)
Crontab timing task output generates a large number of mail and runs out of file system inode problem processing
Choreographer full resolution
How does redis solve the problems of cache avalanche, cache breakdown and cache penetration
基于ibeacons签到系统
Jenkins construction and use
PATH环境变量
Decentralized Collaborative Learning Framework for Next POI Recommendation
浅谈基于openssl的多级证书,Multi-level CA的签发和管理,以及双向认证
随机推荐
Multithreading
Elmo (bilstm-crf + Elmo) (conll-2003 named entity recognition NER)
Introduction to spark basic operation
3300万IOPS、39微秒延迟、碳足迹认证,谁在认真搞事情?
基于CM管理的CDH6.3.2集群集成Atlas2.1.0
Haruki Murakami -- Excerpt from "what do I talk about when I talk about running"
UML Unified Modeling Language
变长参数__VA_ARGS__ 和 写日志的宏定义
China creates vast research infrastructure to support ambitious climate goals
As a junior college student, I studied hard in closed doors for 56 days, won Ali offer with tears, five rounds of interviews and six hours of soul torture
大专的我,闭关苦学 56 天,含泪拿下阿里 offer,五轮面试,六个小时灵魂拷问
33 million IOPs, 39 microsecond delay, carbon footprint certification, who is serious?
switch使用(微信小程序)
request模块
Port occupied 1
scikit-learn构建模型的万能模板
JS brain burning interview question reward
基于Ocelot的gRpc网关
Quartus Prime硬件实验开发(DE2-115板)实验一CPU指令运算器设计
基于ibeacons三点定位(微信小程序)