How to Install latest MongoDB on Ubuntu 18.04 Bionic Beaver Linux -

The objective is to install MongoDB on Ubuntu 18.04 Bionic Beaver Linux. First head over to the official MongoDB download page and take a note of the latest MongoDB version. Note: At the time of writing there is currently no official release for Ubuntu 18.04 Bionic. From this reason we will be using Xenial version instead.
This is a companion discussion topic for the original entry at


thanks for sharing.
when I try changing /etc/mongodb.conf by adding the line bindIp: to bindIp:, mongodb does not start.

Any idea how to solve this issue?

Try to put your server IP address at the /etc/mongodb.conf by this way: