In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you how to install CentOS7.2 MongoDB 3.4, the content is easy to understand, I hope you can learn, after learning there will be a harvest, the following let the editor take you to take a look at it.
Server version CentOS7.2
MongoDB version 3.4
1 / download required resources
Download the rpm installation package:
# wget mongodb-org-3.4.4-1.el7.x86_64.rpm# wget mongodb-org-mongos-3.4.4-1.el7.x86_64.rpm# wget mongodb-org-server-3.4.4-1.el7.x86_64.rpm# wget mongodb-org-shell-3.4.4-1.el7.x86_64.rpm# wget mongodb-org-tools-3.4.4-1.el7.x86_64.rpm
2 / install MongoDB
Install mongos, server, shell, tools first
# rpm-ivh mongodb-org-mongos-3.4.4-1.el7.x86_64.rpm# rpm-ivh mongodb-org-server-3.4.4-1.el7.x86_64.rpm# rpm-ivh mongodb-org-shell-3.4.4-1.el7.x86_64.rpm# rpm-ivh mongodb-org-tools-3.4.4-1.el7.x86_64.rpm
Reinstall
# rpm-ivh mongodb-org-3.4.4-1.el7.x86_64.rpm
3 / start and stop MongoDB
Start
# service mongod start
Stop it
# service mongod stop
4 / configure MongoDB
Profile mongod.conf
Vim / etc/mongod.conf above is about how CentOS7.2 installs MongoDB 3.4.If you have learned knowledge or skills, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.