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)05/31 Report--
Today, I will talk to you about how to install the latest version of MongoDB in the Windows10 system. Many people may not know much about it. In order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.
Installation environment: Windows 10
Installation steps:
1. Download the installation file
two。 Installation process
Find the MSI file you just downloaded and double-click to start the installation.
If you don't want to install everything, you can choose Custom custom installation.
You can then customize the path to choose the installation.
The most critical step is file configuration.
There are two file configurations, namely, the Data directory and the Log directory, the Data directory is used to store the data of the database, and the Log directory is used to store the logs of the database running. The path to the directory will be assigned by default during installation. We need to add the\ db,Log directory after the default Data directory to use the default directory. If you do not add\ db, you will not be able to start the MongoDB server after installation.
Note that this step should be a newer version of MongoDB, the previous version seems to install the database and then manually set the Data directory and Log directory, on the Internet to find a lot of installation tutorials is like this. At the beginning, I was watching some old installation tutorials.
Finally, finish, after the installation is complete, you can happily use MongoDB ~
3. Use after installation
You can start MongoDB under the bin folder of the installation directory to see if the installation is successful. The path to the bin folder under my installation directory is D:\ mongodb\ bin. Run the mongo command and the > prompt will appear, and then you can do some simple number operations after the > prompt to prove that MongoDB has been installed successfully.
After reading the above, do you have any further understanding of how to install the latest version of MongoDB in the Windows10 system? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
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.