From e8c7eab27266c0a3d706b39abda905af108c9aaf Mon Sep 17 00:00:00 2001 From: Patrick Sonnerat Date: Thu, 23 Nov 2023 22:38:43 +0100 Subject: [PATCH] Cleanup and manual Mongo links --- docs/nightscout/wizard.md | 10 ++----- docs/vendors/VPS/ubuntu.md | 55 ++------------------------------------ 2 files changed, 4 insertions(+), 61 deletions(-) diff --git a/docs/nightscout/wizard.md b/docs/nightscout/wizard.md index 056f9d3a..747ab2b2 100644 --- a/docs/nightscout/wizard.md +++ b/docs/nightscout/wizard.md @@ -12,7 +12,7 @@ This set of questions will hopefully help choose the best solution for you, or a
-| I want to contribute to Nightscout research and development.
| +| I want to contribute to Nightscout research and development.
| | ------------------------------------------------------------ | | **What is the maximum acceptable cost per month per site?**
| | **How much of an issue is it when Nightscout is down?**
| @@ -27,13 +27,6 @@ function Validate() sDB=""; sNS="" dbAtla=1; dbAtlaP=1; dbRail=1; dbNort=1; dbVPS=1; nsHero=1; nsRail=1; nsNort=1; nsAzur=1; nsVPS=1; nsFly=1; nsRend=1; nsGoog=1; nsT1Pal=1; ns10be=1; nsPro=1; nsSerendipity=1; - sel = document.getElementById("CONT"); - switch(sel.selectedIndex) - { - case 0: dbAtla=0; dbAtlaP=0; dbRail=0; dbNort=0; dbVPS=0; - nsHero=0; nsRail=0; nsNort=0; nsAzur=0; nsVPS=0; nsFly=0; nsRend=0; nsGoog=0; ns10be=0; nsPro=0; nsSerendipity=0; - break; - } sel = document.getElementById("SIMPLE"); switch(sel.selectedIndex) { @@ -97,6 +90,7 @@ function Validate() +
Now click SHOW below to validate your choices. diff --git a/docs/vendors/VPS/ubuntu.md b/docs/vendors/VPS/ubuntu.md index ac337edc..806ac9d4 100644 --- a/docs/vendors/VPS/ubuntu.md +++ b/docs/vendors/VPS/ubuntu.md @@ -43,60 +43,9 @@ sudo apt install nano -y ## Step 1 - Install MongoDB -If you use Ubuntu 22.04 skip this and continue to a2). +a) Follow the vendor instructions -a1) Install MongoDB with Ubuntu 20.04 - -```bash -sudo apt install mongodb -y -``` - -Wait until it completes, continue to b). - -a2) Install MongoDB with Ubuntu 22.04 - -You first need to install ssl 1.1. - -Mind your architecture, check first: - -``` -dpkg --print-architecture -``` - -For arm64: - -```bash -sudo -i -wget http://launchpadlibrarian.net/475575244/libssl1.1_1.1.1f-1ubuntu2_arm64.deb -apt install -y ./libssl1.1_1.1.1f-1ubuntu2_arm64.deb -``` - -For amd64: - -``` -sudo -i -wget http://launchpadlibrarian.net/475575244/libssl1.1_1.1.1f-1ubuntu2_amd64.deb -apt install -y ./libssl1.1_1.1.1f-1ubuntu2_amd64.deb -``` - -You can now install Mongo dependencies. - -``` -apt-get update -apt-get install gnupg -wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | sudo apt-key add - -echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org -/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list -``` - -And Mongo server. - -``` -apt-get update -apt-get install -y mongodb-org -systemctl start mongod -systemctl status mongodsystemctl enable mongod -``` +[MongoDB 5 with Ubuntu 20.04](https://www.mongodb.com/docs/v5.0/tutorial/install-mongodb-on-ubuntu/) or [MongoDB 6 with Ubuntu 22.04](https://www.mongodb.com/docs/v6.0/tutorial/install-mongodb-on-ubuntu/) b) Enter in Mongo shell