Here are the steps to install Mongo DB version 3.0.4 on CentOS:
1. Download Mongo DB archive:
wget http://downloads.mongodb.org/linux/mongodb-linux-x86_64-3.0.4.tgz
2. Extract the archive:
tar -xzf mongodb-linux-x86_64-3.0.4.tgz
3. Mongo DB uses /data/db as default directory for data storage, so create this directory with proper permissions:
mkdir -p /data/db
4. Launch Mongo DB:
cd mongodb-linux-x86_64-3.0.4
./mongod
If everything is fine, MongoDB will start listening to some port.
No comments:
Post a Comment