Monday, May 13, 2013

Install MongoDB on Linux Mint 14

Install MongoDB on Linux Mint 14 or 15 Cinnamon 64 bit


Follow steps on mongoDB page to install mongo.


Configure MongoDB
These packages configure MongoDB using the /etc/mongodb.conf file in conjunction with the control script. You will find the control script is at /etc/init.d/mongodb.
This MongoDB instance will store its data files in the /var/lib/mongodb and its log files in /var/log/mongodb, and run using the mongodb user account.


Starting MongoDB
You can start the mongod process by issuing the following command:
sudo service mongodb start
You can verify that mongod has started successfully by checking the contents of the log file at /var/log/mongodb/mongodb.log.
Stopping MongoDB
As needed, you may stop the mongod process by issuing the following command:
sudo service mongodb stop
Restarting MongoDB
You may restart the mongod process by issuing the following command:
sudo service mongodb restart



No comments:

Post a Comment