Update Prepping FerretDB for use with Canopy

rainbow napkin 2024-12-07 18:50:06 +00:00
parent 9eaf0b6bec
commit 3186145782

@ -1,2 +1,19 @@
Prepping FerretDB for use with Canopy on Debian 12.
<br><sup>FerretDB is a FLOSS replacement for MongoDB. If you're not hell bent on using software with a hard FLOSS license like me, you're probably better off [using the original](mongodb-debian)</sup><br>
---
title: Prepping FerretDB for use with Canopy
---
## Step-by-step procedure for prepping FerretDB for use with Canopy:
<sup>FerretDB is a FLOSS replacement for MongoDB. If you're not hell bent on using software with a hard FLOSS license like me, you're probably better off [using the original](mongodb-debian)<sup><br>
### Install Pre-Req's
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 | \
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`
4. Tell apt to update repo's and install mongosh other preq-reqs `sudo apt update && sudo apt install mongosh postgresql`
### Install FerretDB
1. Download a copy of the latest `.deb` installer file for your distro from the [FerretDB Github Releases Page](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).
2. Install FerretDB from the downloaded .deb file `ferretdb-linux-amd64.deb`