How to install MongoDb on Ubuntu and Azure?

Follow the following instructions to install MongoDb on Ubuntu https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/ Or execute the following commands After installing, you can start MongoDb Some commands for daily use To allow remote connection for Azure, open the port Edit /etc/mongod.conf