title: Windows 10 Linux Subsystem. How to install MongoDB
body: <p>Recently published a new update to the Windows 10 Anniversary Update includes Linux Subsystem <a href="https://i.imgur.com/Tyv7e4e.jpg" rel="nofollow noreferrer">based on Ubuntu 14.04</a> and now I want to all of my working environment was in this Linux Subsystem.</p>
  
  <p>I try to install MongoDB with this instructions from official website <a href="https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/" rel="nofollow noreferrer">https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/</a></p>
  
  <pre><code>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
  </code></pre>
  
  <p>After installation is complete I try to run mongodb with</p>
  
  <pre><code>sudo service mongodb start
  </code></pre>
  
  <p>but have follow error</p>
  
  <pre><code>User@DESKTOP-TPQIRNP:/mnt/c/Users/User$ sudo service mongod start
  initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
  mongod: unrecognized service
  </code></pre>
  
  <p>How to install the latest stable version of MongoDB without errors ?</p>