Recently useful to MongoDB, by the way to find the previous guide, by the way write an essay, may be useful in the future places.
First step: Download MongoDB Linux version, mongodb-linux-x86_64-3.2.4.tgz (go to official website to download)
Step two: Use SSH tools to upload to Linux. (Baidu Download)
Step three: Unzip the tarball.
Fourth step: Create the data storage directory and log file.
Fifth Step:
into the bin directory of the Unpacked MongoDB folder, execute
/develop/software/: is the storage path for MongoDB
/DEVELOP/PROGRAM_FILES/MONGODB/DATA/DB: Is the data directory you just created
/develop/program_files/mongodb/logs: Is the directory where the log files are stored
Execute mongod command:/develop/software/mongodb-linux-x86_64-3.2.4/bin/mongod--dbpath=/develop/program_files/mongodb/data /db--logpath=/develop/program_files/mongodb/logs--logappend--bind_ip=0.0.0.0--port=27017--fork
Initialization succeeded
Sixth step: Enter the MONGO database.
Installing MongoDB in the Linux environment