In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Mongodb installation 1, window installation 1, download mongodb, download 32-bit or 64-bit versions from http://www.mongodb.org, depending on your system. 2. Extract to the location you want to place, and the default directory for storing data files is c:\ data\ db, or you can specify other directories. 3. Install the bin directory in the mongodb directory and execute the mongod command under dos. Select-dbpath: specify the data directory-port: specify the port number that the server listens to. The default port number is 27017--fork: run mongodb as a daemon, create a server process-- logpath: specify the log output path instead of outputting it to the command line. -- config: specify the configuration file, load various unspecified options and more parameters using the command mongod-- help reference (1) finish the one-time test if your data file is stored in c:\ data\ db, you can directly run mongod and start the service. If it is another directory, use mongod-- dbpath data file directory path. Install with startup service (2) as service plus option-install (remove all spaces) delete service selection-remove4, test install (1) browser: http://localhost: port number /, default is 28017, if you specify a port with-- port, use a port number that is 1000 larger than the default port
(2) Dos command line, enter the bin directory under the mongodb decompression directory, and execute the mongo.exe or mongo command
Attachment: http://down.51cto.com/data/2361344
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.