MongoDB - Xubuntu crouton - can't get started

I tried following the installation instructions outlined here: http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/

But I ran into a problem, I assume Upstart / initctl, and I can not get the mongod service to start other than to start it manually as sudo in the terminal, which is a bad IMO idea. (Even if it's just for the classroom, one-user setup.)

sudo /etc/init.d/mongod start

Holds this error:

initctl: Unknown job: mongod

I tried sudo initctl reload-configurationand ran the above run command again, but to no avail.

Any ideas or suggestions on what to do next?

+4
source share
1

mongodb , crouton. , , (crouton running elementaryOS).

  • mongodb linux ( mongodb.org)
  • mongodb tar -xvzf mongodb-linux-x86_64-2.6.7.tgz
  • (sudo mkdir /usr/lib/mongodb)
  • mongodb /usr/lib/mongodb (sudo mv mongodb-linux-x86_64-2.6.7 /usr/lib/mongodb)
  • (sudo mkdir -p /data/db)
  • mongodb (sudo /usr/lib/mongodb/mongodb-linux-x84_64-2.6.7/bin/mongod &)
+5

All Articles