...
Download MongoDB from the Website at httphttps://www.mongodb.org/downloadsdownloads#previous (version 2.2.3 was latest at the time of writing this so the examples are using the 64-bit version of this release)
...
For other systems, check that the location in the provided init script is where you want the database to store its files (the default is mongodbpath=/var/mongodb for the original version):
NOTE - this file will only exist AFTER you have run an installer which requires mongodb.
Code Block |
---|
vi /usr/local/opmantekomk/install/mongod.init.d ### you will see ### two suggestions provided mongodbpath=/var/mongodb ## mongodbpath=/data/mongodb |
...
Code Block | ||
---|---|---|
| ||
# as root cp /usr/local/opmantekomk/install/mongod.init.d /etc/init.d/mongod chkconfig mongod on service mongod start |
...