Skip to content

Commit

Permalink
Cleanup and manual Mongo links
Browse files Browse the repository at this point in the history
  • Loading branch information
psonnera committed Nov 23, 2023
1 parent 32b1fff commit e8c7eab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 61 deletions.
10 changes: 2 additions & 8 deletions docs/nightscout/wizard.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This set of questions will hopefully help choose the best solution for you, or a

</br>

| I want to contribute to Nightscout research and development.</br><select name="cont" id="CONT"><br/> <option value="yes">Yes</option><br/> <option value="no" selected="selected">No</option><br/></select> |
| I want to contribute to Nightscout research and development.</br><button>[Yes              ►](https://t1pal.com/)</button> |
| ------------------------------------------------------------ |
| **What is the maximum acceptable cost per month per site?**</br><select name="cost" id="COST"><br/> <option value="free">It MUST be free even if it requires a lot of work</option><br/> <option value="cent" selected="selected">Less than 10c</option><br/> <option value="pay1">Less than 6$</option><br/> <option value="pay2">Less than 10$</option><br/> <option value="pay3">Less than 15$</option><br/></select> |
| **How much of an issue is it when Nightscout is down?**</br><select name="rely" id="RELY"><br/> <option value="serious">Serious: I need someone to fix it ASAP</option><br/> <option value="mild" selected="selected">Disturbing: I will look for help and try to fix it myself</option><br/></select> |
Expand All @@ -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)
{
Expand Down Expand Up @@ -97,6 +90,7 @@ function Validate()




</br>

Now click SHOW below to validate your choices.
Expand Down
55 changes: 2 additions & 53 deletions docs/vendors/VPS/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e8c7eab

Please sign in to comment.