One, download MongoDB file
(1) Various versions: Https://www.mongodb.org/dl/linux/x86_64
(2) Baidu cloud Download
Link: Https://pan.baidu.com/s/1JEK8ybzdyeia4olc96tR-A Password: bg66
Second, unzip the file (upload to the Linux process omitted)
Third, through the command line:
- CD MongoDB (go to MongoDB directory)
- CD Bin (enter bin directory)
- ./mongod (run Start command)
- If you see something wrong, don't worry, I'll read it slowly.
################################### #常见疑难杂症 ####################################
Your wrong situation could be
When you start MongoDB, the input./mongod can be followed by other configuration parameters, not configured as the default, can be found on the Internet the corresponding detailed configuration of the blog
After success, we open another command line, still is the bin directory, input./mongo, start the MongoDB shell, enter help in the shell, you can see the specific method, here is not outlined.
Installing MongoDB under Linux