MongoDb Install on Linux
1. Download mongodb from http://mongodb.org
2. Goto folder mongodb using "cd mongodb" from terminal
3. To run the server type
4. To run the client type
5. If error occurs on running server then create folder "data" and "data/db" by command line
1. Download mongodb from http://mongodb.org
2. Goto folder mongodb using "cd mongodb" from terminal
3. To run the server type
bin/mongod
4. To run the client type
bin/mongo
5. If error occurs on running server then create folder "data" and "data/db" by command line
sudo mkdir -p /data/db
sudo chown `id -u` /data/db
No comments:
Post a Comment