How to install MongoDB 2.6 on linux

官网地址:http://www.mongodb.org; 1. Download the binary files for the desired release of MongoDB. wget http://124.202.164.12/files/113100000380F0C3/fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.6.0.tgz 2. Extract the files from the downloaded archive. tar zxvf mongodb-linux-x86_64-2.6.0.tgz 3.Add new user ,Copy the extracted archive to the target directory. useradd mongo mkdir -p /mongodb mkdir -p /data/db chown -R mongo.mongo /mongodb chown -R mongo.mongo /data/db cp -R -n … Read more