Skip to content

Commit

Permalink
Merge pull request #632 from JohannesARENA2036/patch-2
Browse files Browse the repository at this point in the history
fix(tutorials): Update prerequisites.md - minor changes
  • Loading branch information
stephanbcbauer authored Feb 9, 2024
2 parents f4dad72 + 85b5886 commit 8499c1e
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions docs/tutorials/e2e/prerequisites/prerequisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ The above list is currently a candidate for changes, especially as long as the u
You will need https (port 443) as open port for getting access to the above repositories. If you do not have direct access from your system, you most likely work in an environment which is using proxy forwarding for https. An easy way to configure your system to use the proxy server is by setting the envionment variabale "https_proxy". For example with the command below (bash), if the port 8080 is used for the forwarding:

```bash
export https_proxy=http://arena2036-proxy.rus.uni-stuttgart.de:8080
export https_proxy=http://[proxy-web-or-IP-address]:8080
```

The complete format is:
Expand All @@ -121,7 +121,7 @@ export https_proxy=http://[username]:[password]@ [proxy-web-or-IP-address]:[port

:::tip

The above URLs then will be passed only if your proxy server is configured to forward the above whitelist of URLs. To ensure your setting is permant, you may want to add the above command in your .bashrc or /etc/environment. Futher you can configure apt to use the proxy by entering the following into the configuration file /etc/apt/apt.conf:
The above URLs then will be passed only if your proxy server is configured to forward the above whitelist of URLs. To ensure your setting is permant, you may want to add the above command in your .bashrc or /etc/environment. Further you can configure apt to use the proxy by entering the following into the configuration file /etc/apt/apt.conf:

```bash
Acquire::https::Proxy "http://[username]:[password]@ [proxy-web-or-IP-address]:[port-number]";
Expand All @@ -137,7 +137,7 @@ export NO_PROXY="localhost,127.0.0.1,::1"

#### http (80)

The port http (80) should not be used, but in case it will, you can apply the above hints just by replacing https by http.
The port http (80) should not be used, but it will. You can apply the above hints for https (port 443) just by replacing https by http.

#### ssh (22)

Expand Down Expand Up @@ -208,17 +208,23 @@ Prepare the installation of Terraform including helm:

```bash
sudo apt-get update && sudo apt-get install -y gnupg software-properties-common
```

Generate key for terraform:

sudo wget -o - https://apt.releases.hashicorp.com/gpg | | sudo gpg --dearmor -o | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg
```bash
sudo wget -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | tee /usr/share/keyrings/hashicorp-archive-keyring.gpg
```

Verify the generated key is working:

```bash
sudo gpg --no-default-keyring \
--keyring /usr/share/keyrings/hashicorp-archive-keyring.gpg \
--fingerprint
sudo gpg --no-default-keyring --keyring /usr/share/keyrings/hashicorp-archive-keyring.gpg --fingerprint
```

Store location into source for hashicorp:

```bash
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] \
https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
```
Expand Down

0 comments on commit 8499c1e

Please sign in to comment.