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 https://linuxconfig.org/how-to-install-latest-mongodb-on-ubuntu-18-04-bionic-beaver-linux
thanks for sharing.
when I try changing /etc/mongodb.conf by adding the line bindIp: 127.0.0.1 to bindIp: 0.0.0.0, mongodb does not start.
Any idea how to solve this issue?