Answer the question
In order to leave comments, you need to log in
Windows 10 Linux Subsystem. How to install MongoDB?
Recently a new Windows 10 Anniversary Update has been released that includes a Linux Subsystem built on Ubuntu 14.04 and now I want to migrate my working environment to this Linux Subsystem. The problem is only with MongoDB installation.
I install it according to this instruction from the official site https://docs.mongodb.com/manual/tutorial/install-m...
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list
sudo apt-get update
sudo apt-get install -y mongodb-org
sudo service mongod start
[email protected]:/mnt/c/Users/User$ sudo service mongod start
mongod: unrecognized service
/etc/init.d/mongod
after installation according to that instruction is missing. sudo apt-get install mongodb
the service starts, the file is there, everything is fine. But version 2.xx is installed Answer the question
In order to leave comments, you need to log in
> The /etc/init.d/mongod file is missing after installation according to that instruction.
And rightly so, because Ubuntu 14.04 uses upstart as its init system.
ls -l /etc/init/mongo* will show you what?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question