Tweak debian installation for newer debian testing servers (#4142)
* Tweak debian installation for newer debian testing servers Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Tweaks Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Update _install-and-configure/install-dashboards/debian.md Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Update _install-and-configure/install-opensearch/debian.md Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> --------- Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> Co-authored-by: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com>
This commit is contained in:
parent
c1fd49d432
commit
f055a7ff85
|
@ -67,13 +67,17 @@ The Debian package is not signed. If you would like to verify the fingerprint, t
|
|||
|
||||
APT, the primary package management tool for Debian–based operating systems, allows you to download and install the Debian package from the APT repository.
|
||||
|
||||
1. Install the necessary packages.
|
||||
```bash
|
||||
sudo apt-get update && sudo apt-get -y install lsb-release ca-certificates curl gnupg2
|
||||
```
|
||||
1. Import the public GPG key. This key is used to verify that the APT repository is signed.
|
||||
```bash
|
||||
curl -o- https://artifacts.opensearch.org/publickeys/opensearch.pgp | sudo apt-key add -
|
||||
curl -o- https://artifacts.opensearch.org/publickeys/opensearch.pgp | sudo gpg --dearmor --batch --yes -o /usr/share/keyrings/opensearch-keyring
|
||||
```
|
||||
1. Create an APT repository for OpenSearch.
|
||||
```bash
|
||||
echo "deb https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/2.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/opensearch-dashboards-2.x.list
|
||||
echo "deb [signed-by=/usr/share/keyrings/opensearch-keyring] https://artifacts.opensearch.org/releases/bundle/opensearch-dashboards/2.x/apt stable main" | sudo tee /etc/apt/sources.list.d/opensearch-dashboards-2.x.list
|
||||
```
|
||||
1. Verify that the repository was created successfully.
|
||||
```bash
|
||||
|
|
|
@ -94,15 +94,21 @@ The Debian package is not signed. If you would like to verify the fingerprint, t
|
|||
|
||||
APT, the primary package management tool for Debian–based operating systems, allows you to download and install the Debian package from the APT repository.
|
||||
|
||||
1. Install the necessary packages.
|
||||
```bash
|
||||
sudo apt-get update && sudo apt-get -y install lsb-release ca-certificates curl gnupg2
|
||||
```
|
||||
{% include copy.html %}
|
||||
|
||||
1. Import the public GPG key. This key is used to verify that the APT repository is signed.
|
||||
```bash
|
||||
curl -o- https://artifacts.opensearch.org/publickeys/opensearch.pgp | sudo apt-key add -
|
||||
curl -o- https://artifacts.opensearch.org/publickeys/opensearch.pgp | sudo gpg --dearmor --batch --yes -o /usr/share/keyrings/opensearch-keyring
|
||||
```
|
||||
{% include copy.html %}
|
||||
|
||||
1. Create an APT repository for OpenSearch:
|
||||
```bash
|
||||
echo "deb https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/opensearch-2.x.list
|
||||
echo "deb [signed-by=/usr/share/keyrings/opensearch-keyring] https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/apt stable main" | sudo tee /etc/apt/sources.list.d/opensearch-2.x.list
|
||||
```
|
||||
{% include copy.html %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue