How to install MongoDB 3.2.3 in Ubuntu 14.04?
<p>I am new to mongodb, cant understand how i can install MongoDB 3.2.3 in Ubuntu 14.04. </p>

<p>Also i have downloaded <a href="https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1404-3.2.3.tgz" rel="nofollow">https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1404-3.2.3.tgz</a> and extracted files from that directory, <strong>now how i can add it with php?</strong></p>

<p>when i go to the bin directory and run mongod then this error occurs:</p>

<blockquote>
  <p>vagrant@vagrant-ubuntu-trusty-64:/vagrant/mongodb/mongodb/bin$ ./mongod</p>
  
  <p>2016-02-23T16:59:47.366+0000 I CONTROL  [initandlisten] MongoDB starting : pid=8246 port=27017 dbpath=/data/db 64-bit host=vagrant-ubuntu-trusty-64</p>
  
  <p>2016-02-23T16:59:47.366+0000 I CONTROL  [initandlisten] db version v3.2.3</p>
  
  <p>2016-02-23T16:59:47.367+0000 I CONTROL  [initandlisten] git version: b326ba835e1b70f6f31ece7937</p>
  
  <p>2016-02-23T16:59:47.367+0000 I CONTROL  [initandlisten] OpenSSL version: OpenSSL 1.0.1f 6 Jan 2014</p>
  
  <p>2016-02-23T16:59:47.367+0000 I CONTROL  [initandlisten] allocator: tcmalloc</p>
  
  <p>2016-02-23T16:59:47.367+0000 I CONTROL  [initandlisten] modules: none</p>
  
  <p>2016-02-23T16:59:47.367+0000 I CONTROL  [initandlisten] build environment:</p>
  
  <p>2016-02-23T16:59:47.367+0000 I CONTROL  [initandlisten]     distmod: ubuntu1404</p>
  
  <p>2016-02-23T16:59:47.368+0000 I CONTROL  [initandlisten]     distarch: x86_64</p>
  
  <p>2016-02-23T16:59:47.368+0000 I CONTROL  [initandlisten]     target_arch: x86_64</p>
  
  <p>2016-02-23T16:59:47.368+0000 I CONTROL  [initandlisten] options: {}</p>
  
  <p>2016-02-23T16:59:47.384+0000 E NETWORK  [initandlisten] Failed to unlink socket file /tmp/mongodb- 27017.sock errno:1 Operation not permitted</p>
  
  <p>2016-02-23T16:59:47.384+0000 I -        [initandlisten] Fatal Assertion 28578</p>
  
  <p>2016-02-23T16:59:47.385+0000 I -        [initandlisten]</p>
  
  <p>***aborting after fassert() failure</p>
</blockquote>