How to install MongoDB 3.6 on Ubuntu
Please share with your friends...
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

This post is a quick how-to for installing MongoDB 3.6 on Ubuntu.

The instructions in this post are supported on the following Ubuntu releases:
Ubuntu 12.04 LTS  Precise Pangolin
Ubuntu 14.04 LTS  Trusty Tahr
Ubuntu 16.04 LTS  Xenial Xerus
Ubuntu 17.10  Artful Aardvark
Ubuntu 18.04 LTS  Bionic Beaver

Warning: file_get_contents(): Peer certificate CN=`*.ssllock.net' did not match expected CN=`www.technologist.site' in /websites/te/technologist.site/wp-content/plugins/shortcodes-ultimate-maker/includes/do-shortcode.php(122) : eval()'d code on line 10

Warning: file_get_contents(): Failed to enable crypto in /websites/te/technologist.site/wp-content/plugins/shortcodes-ultimate-maker/includes/do-shortcode.php(122) : eval()'d code on line 10

Warning: file_get_contents(https://www.technologist.site/wp-content/uploads/includes/ubuntu-mongodb-3.6.html): failed to open stream: operation failed in /websites/te/technologist.site/wp-content/plugins/shortcodes-ultimate-maker/includes/do-shortcode.php(122) : eval()'d code on line 10

The remaining steps are optional, and will depend on your intended configuration.

  1. Allow the MongoDB service to start at boot, using the following command:
    sudo systemctl enable mongod
  2. Start the MongoDB service, using the following command:
    sudo systemctl start mongod
  3. Verify the MongoDB service is running, using the following command:
    sudo systemctl status mongod

    This command produces output similar to the following:

     mongod.service - High-performance, schema-free document-oriented database
       Loaded: loaded (/lib/systemd/system/mongod.service; enabled; vendor preset: enabled)
       Active: active (running) since Wed 2018-06-13 12:00:05 UTC; 5s ago
         Docs: https://docs.mongodb.org/manual
     Main PID: 3069 (mongod)
       CGroup: /system.slice/mongod.service
               └─3069 /usr/bin/mongod --config /etc/mongod.conf
    
    Jun 13 12:00:05 ubuntu systemd[1]: Started High-performance, schema-free document-oriented database.

    MongoDB 3.6 is now installed and ready for use.


Ubuntu is a trademark of Canonical Ltd. Mongo, MongoDB and the MongoDB leaf logo are registered trademarks of MongoDB, Inc.
How to install MongoDB 3.6 on Ubuntu

Please share with your friends...
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Tagged on:                 

Leave a Reply

Your email address will not be published. Required fields are marked *