From f3f366b3c74c77fe11418974142874d67b53f233 Mon Sep 17 00:00:00 2001 From: LMurphy001 Date: Mon, 23 Aug 2021 22:11:27 -0400 Subject: [PATCH] Chgd 03-Install-docker-on-Capsul/ name, minor changes --- 01-CreateCapsul-and-Login/README.md | 4 +- 02-Setup-DNS-Records/README.md | 8 ++-- .../01.png | Bin .../02.png | Bin .../03.png | Bin .../04.png | Bin .../05.png | Bin .../07.png | Bin .../08.png | Bin .../09.png | Bin .../10.png | Bin .../11.png | Bin .../12.png | Bin .../13.png | Bin .../14.png | Bin .../15.png | Bin 03-Install-docker-on-Capsul/README.md | 29 ++++++++++++++ 03-Install-docker-on-VPS/README.md | 28 ------------- issue#1.md | 37 ++++++++++++++++++ 19 files changed, 73 insertions(+), 33 deletions(-) rename {03-Install-docker-on-VPS => 03-Install-docker-on-Capsul}/01.png (100%) rename {03-Install-docker-on-VPS => 03-Install-docker-on-Capsul}/02.png (100%) rename {03-Install-docker-on-VPS => 03-Install-docker-on-Capsul}/03.png (100%) rename {03-Install-docker-on-VPS => 03-Install-docker-on-Capsul}/04.png (100%) rename {03-Install-docker-on-VPS => 03-Install-docker-on-Capsul}/05.png (100%) rename {03-Install-docker-on-VPS => 03-Install-docker-on-Capsul}/07.png (100%) rename {03-Install-docker-on-VPS => 03-Install-docker-on-Capsul}/08.png (100%) rename {03-Install-docker-on-VPS => 03-Install-docker-on-Capsul}/09.png (100%) rename {03-Install-docker-on-VPS => 03-Install-docker-on-Capsul}/10.png (100%) rename {03-Install-docker-on-VPS => 03-Install-docker-on-Capsul}/11.png (100%) rename {03-Install-docker-on-VPS => 03-Install-docker-on-Capsul}/12.png (100%) rename {03-Install-docker-on-VPS => 03-Install-docker-on-Capsul}/13.png (100%) rename {03-Install-docker-on-VPS => 03-Install-docker-on-Capsul}/14.png (100%) rename {03-Install-docker-on-VPS => 03-Install-docker-on-Capsul}/15.png (100%) create mode 100644 03-Install-docker-on-Capsul/README.md delete mode 100644 03-Install-docker-on-VPS/README.md create mode 100644 issue#1.md diff --git a/01-CreateCapsul-and-Login/README.md b/01-CreateCapsul-and-Login/README.md index af27a39..04f2d6b 100644 --- a/01-CreateCapsul-and-Login/README.md +++ b/01-CreateCapsul-and-Login/README.md @@ -16,7 +16,7 @@ The email message contains an authorization link to your new account on yolo.ser 1. Back in your browser on the yolo servers website, click the *SSH & API Keys* link. There will be no front-end to your capsul. All access to it will be remote, for example, with *ssh*. You need to create SSH keys before you can create your capsul. ![open SSH & API Keys](07-yolo-ssh-public-keys.png "open SSH & API Keys") -1. Create SSH Keys on your local Windows computer. This guide explains how to do so using Window's built-in OpenSSH feature. If you prefer PuTTY, you can skip these steps and use that instead. +1. Create SSH Keys on your local Windows computer. This guide explains how to do so using Window's built-in OpenSSH feature. If you prefer [PuTTY](https://en.wikipedia.org/wiki/PuTTY), you can skip these steps and use that instead. 1. Open an Administrator PowerShell window. ![open administrator powershell on windows](08-win-admin-power-shell.png "open administrator powershell on windows") 1. Use the *get-WindowsCapability* command to find out if Windows already has the OpenSSH client installed. @@ -50,7 +50,7 @@ The email message contains an authorization link to your new account on yolo.ser 1. Leave *Debian 10 (Buster)* as the operating system; it's the only one available for Capsuls at this time. 1. Put a check mark in the box next to the name of your public SSH key. In this screenshot, it's named *user-name@host-name*. 1. Click on the *Create* button. - 1. Wait for your Capsul to be created and initialized. + 1. Wait for your Capsul to be created and initialized. It shouldn't be more than a minute. ![Create capsule](15-yolo-create-capsule.png "Create capsule") 1. Check out your new Capsul! 1. Click the Capsul *id* link, which is capsul-fk46nit117 in this example. ![capsule created](16-yolo-capsule-created.png "capsule created") diff --git a/02-Setup-DNS-Records/README.md b/02-Setup-DNS-Records/README.md index c62e3d1..de7dcea 100644 --- a/02-Setup-DNS-Records/README.md +++ b/02-Setup-DNS-Records/README.md @@ -1,9 +1,11 @@ -Your Capsul needs a hostname, also known as a domain name. There are many services which provide domain names, such as [Gandi](https://www.gandi.net) and many more. You need to register for a domain name, and then set up DNS records to connect your domain name with the IPv4 address assigned to your Capsul when you created it. +Your Capsul needs a hostname, also known as a domain name. There are many services which provide domain names, such as [Gandi](https://www.gandi.net) and many more. You need to register a domain name, and then set up DNS records to connect your domain name with the IPv4 address assigned to your Capsul when you created it. -Each domain registrar has a different user interface for managing DNS records. It will look something like this: +Each domain registrar has a different user interface for managing DNS records. Set up three 'A' records. One for the domain itself, one for www.your-domain-name, and one for subdomains of the domain. It will look something like this: ![set up dns records](01-setup-dns-records.png "set up dns records") - **Be sure to remove CNAME and ALIAS records.** After you save your updated DNS records, you can verify they've been propagated with the [DNS Checker](https://dnschecker.org/) website. + **Be sure to remove CNAME and ALIAS records.** + + After you save your updated DNS records, you can verify they've been propagated with the [DNS Checker](https://dnschecker.org/) website. The green check marks indicate the name has been propagated. ![check dns propagation](02-check-dns-propagation.png "check dns propagation") diff --git a/03-Install-docker-on-VPS/01.png b/03-Install-docker-on-Capsul/01.png similarity index 100% rename from 03-Install-docker-on-VPS/01.png rename to 03-Install-docker-on-Capsul/01.png diff --git a/03-Install-docker-on-VPS/02.png b/03-Install-docker-on-Capsul/02.png similarity index 100% rename from 03-Install-docker-on-VPS/02.png rename to 03-Install-docker-on-Capsul/02.png diff --git a/03-Install-docker-on-VPS/03.png b/03-Install-docker-on-Capsul/03.png similarity index 100% rename from 03-Install-docker-on-VPS/03.png rename to 03-Install-docker-on-Capsul/03.png diff --git a/03-Install-docker-on-VPS/04.png b/03-Install-docker-on-Capsul/04.png similarity index 100% rename from 03-Install-docker-on-VPS/04.png rename to 03-Install-docker-on-Capsul/04.png diff --git a/03-Install-docker-on-VPS/05.png b/03-Install-docker-on-Capsul/05.png similarity index 100% rename from 03-Install-docker-on-VPS/05.png rename to 03-Install-docker-on-Capsul/05.png diff --git a/03-Install-docker-on-VPS/07.png b/03-Install-docker-on-Capsul/07.png similarity index 100% rename from 03-Install-docker-on-VPS/07.png rename to 03-Install-docker-on-Capsul/07.png diff --git a/03-Install-docker-on-VPS/08.png b/03-Install-docker-on-Capsul/08.png similarity index 100% rename from 03-Install-docker-on-VPS/08.png rename to 03-Install-docker-on-Capsul/08.png diff --git a/03-Install-docker-on-VPS/09.png b/03-Install-docker-on-Capsul/09.png similarity index 100% rename from 03-Install-docker-on-VPS/09.png rename to 03-Install-docker-on-Capsul/09.png diff --git a/03-Install-docker-on-VPS/10.png b/03-Install-docker-on-Capsul/10.png similarity index 100% rename from 03-Install-docker-on-VPS/10.png rename to 03-Install-docker-on-Capsul/10.png diff --git a/03-Install-docker-on-VPS/11.png b/03-Install-docker-on-Capsul/11.png similarity index 100% rename from 03-Install-docker-on-VPS/11.png rename to 03-Install-docker-on-Capsul/11.png diff --git a/03-Install-docker-on-VPS/12.png b/03-Install-docker-on-Capsul/12.png similarity index 100% rename from 03-Install-docker-on-VPS/12.png rename to 03-Install-docker-on-Capsul/12.png diff --git a/03-Install-docker-on-VPS/13.png b/03-Install-docker-on-Capsul/13.png similarity index 100% rename from 03-Install-docker-on-VPS/13.png rename to 03-Install-docker-on-Capsul/13.png diff --git a/03-Install-docker-on-VPS/14.png b/03-Install-docker-on-Capsul/14.png similarity index 100% rename from 03-Install-docker-on-VPS/14.png rename to 03-Install-docker-on-Capsul/14.png diff --git a/03-Install-docker-on-VPS/15.png b/03-Install-docker-on-Capsul/15.png similarity index 100% rename from 03-Install-docker-on-VPS/15.png rename to 03-Install-docker-on-Capsul/15.png diff --git a/03-Install-docker-on-Capsul/README.md b/03-Install-docker-on-Capsul/README.md new file mode 100644 index 0000000..5eab6b2 --- /dev/null +++ b/03-Install-docker-on-Capsul/README.md @@ -0,0 +1,29 @@ +1. Open [Install server prerequisites](https://docs.coopcloud.tech/deploy#install-server-prerequisites) and scroll down to **Install server prerequisites**. Click on the [*install documentation*](https://docs.docker.com/engine/install/) link. +![01](01.png "01") +1. You will see the page below. Scroll to the **Server** section and find the link for *Debian* and click on it. +![02](02.png "02") +1. fill in 1 +![03](03.png "03") +1. fill in 2 +![04](04.png "04") +1. fill in 3 +![05](05.png "05") +1. fill in 4 +![07](07.png "07") +1. fill in 5 +![08](08.png "08") +1. fill in 6 +![09](09.png "09") +1. fill in 7 +![10](10.png "10") +1. fill in 8 +![11](11.png "11") +1. fill in 9 +![12](12.png "12") +1. fill in 10 +![13](13.png "13") +1. fill in 11 +![14](14.png "14") +1. fill in 12 +![15](15.png "15") +1. fill in 13 \ No newline at end of file diff --git a/03-Install-docker-on-VPS/README.md b/03-Install-docker-on-VPS/README.md deleted file mode 100644 index a938908..0000000 --- a/03-Install-docker-on-VPS/README.md +++ /dev/null @@ -1,28 +0,0 @@ -![01](01.png "01") - -![02](02.png "02") - -![03](03.png "03") - -![04](04.png "04") - -![05](05.png "05") - - -![07](07.png "07") - -![08](08.png "08") - -![09](09.png "09") - -![10](10.png "10") - -![11](11.png "11") - -![12](12.png "12") - -![13](13.png "13") - -![14](14.png "14") - -![15](15.png "15") diff --git a/issue#1.md b/issue#1.md new file mode 100644 index 0000000..a0c3852 --- /dev/null +++ b/issue#1.md @@ -0,0 +1,37 @@ +From https://docs.coopcloud.tech/deploy/#install-server-prerequisites : + + sudo apt-get remove docker docker-engine docker.io containerd runc + sudo apt update + sudo apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common + curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add - + sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" + sudo apt-get update + sudo apt-get install -y docker-ce docker-ce-cli containerd.io +_______________________________________________________________________ +From https://docs.docker.com/engine/install/debian/ : + + sudo apt-get remove docker docker-engine docker.io containerd runc + sudo apt-get update + sudo apt-get install \ + apt-transport-https \ + ca-certificates \ + curl \ + gnupg \ + lsb-release + curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg + echo \ + "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \ + $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null + sudo apt-get update + sudo apt-get install docker-ce docker-ce-cli containerd.io +_______________________________________________________________________ +DIFFERENCES +=========== +1. Two sudo apt-get install coopcloud docs use the -y command line option, docker doc does not +1. coopcloud docs installs gnupg-agent while docker docs installs gnupg +1. coopcloud docs installs software-properties-common while docker docs installs lsb-release +1. coopcloud docs pipes curl output into "sudo apt-key add -" while + docker docs uses "sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg" +1. coopcloud docs use add-apt-repository while docker docs use echo and lsb_release and writes to a file in /etc/apt/sources.list.d + +