I have a Ruby stack of Bitnami up and running. I would like to install MongoDB on this stack (reason is that the server is a multi-purpose server).
Can you please tell me the correct way to install MongoDB?
I tried apt-get, but received the following error:
$ sudo apt-get install mongodb-org git build-essential openssl libssl-dev pkg-config
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
git is already the newest version.
git set to manually installed.
pkg-config is already the newest version.
libssl-dev is already the newest version.
libssl-dev set to manually installed.
openssl is already the newest version.
openssl set to manually installed.
mongodb-org is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up mongodb-org-server (2.6.12) ...
invoke-rc.d: unknown initscript, /etc/init.d/mongod not found.
dpkg: error processing mongodb-org-server (--configure):
subprocess installed post-installation script returned error exit status 100
dpkg: dependency problems prevent configuration of mongodb-org:
mongodb-org depends on mongodb-org-server; however:
Package mongodb-org-server is not configured yet.
dpkg: error processing mongodb-org (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
Thank you for your assistance!