diff --git a/mongodb-debian.md b/mongodb-debian.md index e07a4d9..b923eaf 100644 --- a/mongodb-debian.md +++ b/mongodb-debian.md @@ -4,6 +4,7 @@ title: Prepping MongoDB for use with Canopy + ## Step-by-step procedure for prepping MongoDB for use with Canopy: MongoDB, while gratis and open-source, is not entirely FLOSS. If you're hell bent on using software with a hard FLOSS license, you're probably better off [FerretDB](ferretdb-debian)
@@ -14,6 +15,7 @@ title: Prepping MongoDB for use with Canopy 4. Tell apt to update repo's and install mongosh other preq-reqs `sudo apt update && sudo apt install mongodb-org` ### Hardening MongoDB +This section is incomplete, I'd like to go over this with more security-related documentation for MongoDB. I'm not a professional DBA XP 1. Start mongod without authentication and drop into a shell `sudo systemctl start mongod & mongosh` 2. Switch over to the admin database `use admin` 3. Create the administrative user: @@ -36,7 +38,6 @@ security: ``` ### Setting up the Canopy User/DB -This section is incomplete, I'd like to go over this with more security-related documentation for MongoDB. I'm not a professional DBA XP 1. Restart `mongod` with `sudo systemctl restart mongod` 2. Drop back into `mongosh` with authentication `mongosh -u 'admin'`, entering the password on prompt 3. Switch over to the canopy database `use canopy`