In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Mongodb installation steps:
1 sudo mkdir / home/mongodb # create MongoDB program storage directory
2 sudo mkdir / data/mongodata-p # create a data storage directory
3 sudo mkdir / data/log/mongolog-p # create log storage directory
4 sudo mkdir / data/db
5 curl-O https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.2.1.tgz
Installation
1 tar xf mongodb-linux-x86_64-3.2.1.tgz
2 cd mongodb-linux-x86_64-3.2.1
3 cp-r * / home/mongodb
To facilitate command startup, you need to edit the global variable PATH
1 vim / etc/profile.d/mongo.sh
2 export PATH=$PATH:/home/mongodb/bin
Source / etc/profile.d/mongo.sh
/ / start
Mongod-dbpath=/data/mongodata-logpath=/data/log/mongolog/mongodb.log-logappend-fork
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.