title: Using Solus Linux to install MongoDB. I set path variable but Mongod shuts down at launch
body: <p>I am installing MongoDB on Solus linux using the instructions here:</p>
  
  <p><a href="https://docs.mongodb.com/manual/tutorial/install-mongodb-on-linux/" rel="nofollow noreferrer">https://docs.mongodb.com/manual/tutorial/install-mongodb-on-linux/</a></p>
  
  <p>I have Mongo DB in a folder named <code>mongo</code> on the desktop.</p>
  
  <p>I used the following to "set the path variable" per the instructions ( I'm not sure if I did this correctly )</p>
  
  <pre><code>export PATH=Desktop/mongo/bin:$PATH
  </code></pre>
  
  <p>In the terminal I went to:</p>
  
  <pre><code>admin@solus ~ $ 
  </code></pre>
  
  <p>I then typed <code>mongod</code></p>
  
  <p>The result is the following error:</p>
  
  <pre><code>2016-12-21T02:53:55.328-0800 I CONTROL  [initandlisten] MongoDB starting : pid=5052 port=27017 dbpath=/data/db 64-bit host=solus
  2016-12-21T02:53:55.328-0800 I CONTROL  [initandlisten] db version v3.4.1
  2016-12-21T02:53:55.328-0800 I CONTROL  [initandlisten] git version: 5e103c4f5583e2566a45d740225dc250baacfbd7
  2016-12-21T02:53:55.328-0800 I CONTROL  [initandlisten] allocator: tcmalloc
  2016-12-21T02:53:55.328-0800 I CONTROL  [initandlisten] modules: none
  2016-12-21T02:53:55.328-0800 I CONTROL  [initandlisten] build environment:
  2016-12-21T02:53:55.328-0800 I CONTROL  [initandlisten]     distarch: x86_64
  2016-12-21T02:53:55.328-0800 I CONTROL  [initandlisten]     target_arch: x86_64
  2016-12-21T02:53:55.328-0800 I CONTROL  [initandlisten] options: {}
  2016-12-21T02:53:55.328-0800 I STORAGE  [initandlisten] exception in initAndListen: 29 Data directory /data/db not found., terminating
  2016-12-21T02:53:55.328-0800 I NETWORK  [initandlisten] shutdown: going to close listening sockets...
  2016-12-21T02:53:55.328-0800 I NETWORK  [initandlisten] shutdown: going to flush diaglog...
  2016-12-21T02:53:55.328-0800 I CONTROL  [initandlisten] now exiting
  2016-12-21T02:53:55.328-0800 I CONTROL  [initandlisten] shutting down with code:100
  </code></pre>
  
  <p>It says it can't find the data/db folder, but I've tried placing it in the mongo directory as well as the home directory.</p>