diff --git a/guides/ubuntu/pages/mongodb-install.md b/guides/ubuntu/pages/mongodb-install.md index 177e5f4..2f4bc4d 100644 --- a/guides/ubuntu/pages/mongodb-install.md +++ b/guides/ubuntu/pages/mongodb-install.md @@ -105,7 +105,11 @@ You should see something like this: └─1234 /usr/bin/mongod --config /etc/mongod.conf ``` -## Securing MongoDB +## Finished + +You have successfully installed MongoDB on Ubuntu 22.04. For user creation and securing MongoDB, please see the next sections. + +## Optional: Securing MongoDB 1. Connect to MongoDB, so that we can create an admin user. Run the following command: @@ -152,7 +156,7 @@ security: 7. Save the file and exit the editor. You can do this by pressing `CTRL + X`, then `Y`, then `ENTER`. -## Adding a user / database +## Optional: Adding a user / database 1. Connect to MongoDB, so that we can create a user. Run the following command: @@ -217,7 +221,3 @@ sudo systemctl restart mongod ``` You should now be able to connect to MongoDB from a remote machine. - -## Finished - -You have successfully installed MongoDB on Ubuntu 22.04. You can now connect to MongoDB and start using it.