Update Prepping MongoDB for use with Canopy
parent
038d433931
commit
907e07b894
|
|
@ -2,14 +2,13 @@
|
||||||
title: Prepping MongoDB for use with Canopy
|
title: Prepping MongoDB for use with Canopy
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
## Step-by-step procedure for prepping MongoDB for use with Canopy:
|
## Step-by-step procedure for prepping MongoDB for use with Canopy:
|
||||||
<sup>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)<sup><br>
|
<sup>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)<sup><br>
|
||||||
|
|
||||||
### Install MongoDB
|
### Install MongoDB
|
||||||
1. Install curl, assuming you haven't already `sudo apt install curl`
|
1. Install curl, assuming you haven't already `sudo apt install curl`
|
||||||
2. Import public key for mongo repo `curl -fsSL https://www.mongodb.org/static/pgp/server-8.0.asc | \
|
2. Import public key for mongo repo `curl -fsSL https://www.mongodb.org/static/pgp/server-8.0.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-8.0.gpg --dearmor`
|
||||||
sudo gpg -o /usr/share/keyrings/mongodb-server-8.0.gpg \
|
|
||||||
--dearmor`
|
|
||||||
3. Add mongodb sources to apt sources.list.d `echo "deb [ signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] http://repo.mongodb.org/apt/debian bookworm/mongodb-org/8.0 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-8.0.list`
|
3. Add mongodb sources to apt sources.list.d `echo "deb [ signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] http://repo.mongodb.org/apt/debian bookworm/mongodb-org/8.0 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-8.0.list`
|
||||||
4. Tell apt to update repo's and install mongosh other preq-reqs `sudo apt update && sudo apt install mongodb-org`
|
4. Tell apt to update repo's and install mongosh other preq-reqs `sudo apt update && sudo apt install mongodb-org`
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue