当前位置:网站首页>Quick install mongodb
Quick install mongodb
2022-04-23 16:42:00 【A hundred nights】
install MongoDB
1. To configure yum Source
vi /etc/yum.repos.d/mongodb.repo
----------- Add the following --------------------------
[MongoDB]
name=MongoDB Repository
baseurl=http://repo.mongodb.org/yum/redhat/7Server/mongodb-org/4.0/x86_64/
gpgcheck=0
enabled=1
2. download mongodb, encounter completed installation is complete .
yum -y install mongodb-org
3. Start the service
systemctl start mongod.service // No result display
4. Configuration start up
chkconfig mongod on
5. Verify and view the version and startup status
systemctl status mongod.service
mongod --version
版权声明
本文为[A hundred nights]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231401521416.html
边栏推荐
- JMeter setting environment variable supports direct startup by entering JMeter in any terminal directory
- The first line and the last two lines are frozen when paging
- 漫画:什么是IaaS、PaaS、SaaS?
- 无线鹅颈麦主播麦手持麦无线麦克风方案应当如何选择
- PyMySQL
- Gartner 發布新興技術研究:深入洞悉元宇宙
- Disk management and file system
- Public variables of robotframework
- Camtasia2022软件新增功能介绍
- The most detailed Backpack issues!!!
猜你喜欢
面试百分百问到的进程,你究竟了解多少
Nacos detailed explanation, something
JMeter setting environment variable supports direct startup by entering JMeter in any terminal directory
[pyGame games] how did angry birds, a mobile game that became popular all over the world 10 years ago, dominate the list? Classic return
英语 | Day15、16 x 句句真研每日一句(从句断开、修饰)
MySQL master-slave replication
文件操作详解(2)
Derivation of Σ GL perspective projection matrix
Knowledge points and examples of [seven input / output systems]
How much do you know about the process of the interview
随机推荐
Encapsulating the logging module
博士申请 | 厦门大学信息学院郭诗辉老师团队招收全奖博士/博后/实习生
漫画:什么是IaaS、PaaS、SaaS?
MySQL master-slave synchronization pit avoidance version tutorial
Findstr is not an internal or external command workaround
1959年高考数学真题
JMeter setting environment variable supports direct startup by entering JMeter in any terminal directory
STM32__03—初识定时器
vim编辑器的实时操作
vscode如何比较两个文件的异同
JSP learning 3
关于局域网如何组建介绍
Force buckle - 198 raid homes and plunder houses
Gartner 发布新兴技术研究:深入洞悉元宇宙
The most detailed Backpack issues!!!
English | day15, 16 x sentence true research daily sentence (clause disconnection, modification)
JIRA screenshot
True math problems in 1959 college entrance examination
无线鹅颈麦主播麦手持麦无线麦克风方案应当如何选择
5分钟NLP:Text-To-Text Transfer Transformer (T5)统一的文本到文本任务模型