From cfb3f7533d28adead94aa6b1a0dd11af5a790422 Mon Sep 17 00:00:00 2001 From: Nick Piper Date: Wed, 8 Sep 2021 11:31:38 +0100 Subject: [PATCH 1/2] Mention the repository GPG key, and restore other detailed installation notes Since the 'combined' documentation no longer says how to install the agent, I think this is the new place to give the GPG key ID maybe? It used to mention at https://github.com/stackabletech/documentation/commit/b316f65ab098f3d3bd79c251b071dca3ab58a30f#diff-48920fd40a21468cbed9ab168fd260a0f0a0e182946cb909886cb26c13b2f85cR171 --- .../ROOT/pages/installation/binaries.adoc | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/installation/binaries.adoc b/docs/modules/ROOT/pages/installation/binaries.adoc index 77f4db65..24d80969 100644 --- a/docs/modules/ROOT/pages/installation/binaries.adoc +++ b/docs/modules/ROOT/pages/installation/binaries.adoc @@ -12,4 +12,24 @@ We provide OS packages for RHEL/CentOS 7 & 8 as well as Debian 10 (buster). * EL8: https://repo.stackable.tech/repository/rpm-release/el8/ * Debian 10: https://repo.stackable.tech/repository/deb-release -Add these repositories to your OS and then install the `stackable-agent` package. +Add these repositories to your OS, such as as suggested below, and then install the `stackable-agent` package. + +=== Configuring the Stackable OS package repository + +You will need to configure the Stackable OS package repository on the worker nodes. We’ll also take the opportunity to install OpenJDK Java 11 as well as this will be required by the Stackable services we will be running. + +==== Debian and Ubuntu + apt-get install gnupg openjdk-11-jdk curl + apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16dd12f5c7a6d76a + echo "deb https://repo.stackable.tech/repository/deb-release buster main" > /etc/apt/sources.list.d/stackable.list + +==== Red Hat and CentOS + /usr/bin/yum -y install gnupg2 java-11-openjdk curl + /usr/bin/curl -s "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xce45c7a0a3e41385acd4358916dd12f5c7a6d76a" > /etc/pki/rpm-gpg/RPM-GPG-KEY-stackable + /usr/bin/rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-stackable + echo "[stackable] + name=Stackable ${REPO_TYPE} repo + baseurl=${REPO_URL} + enabled=1 + gpgcheck=0" > /etc/yum.repos.d/stackable.repo + /usr/bin/yum clean all From 084a6692f5a0b2b8f402a16ad6d387a4ad83a687 Mon Sep 17 00:00:00 2001 From: Lee Butcher Date: Thu, 11 Nov 2021 21:43:02 +0000 Subject: [PATCH 2/2] Tidy up environment variables, move agent and prerequisites install into separate section --- .../ROOT/pages/installation/binaries.adoc | 21 ++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/docs/modules/ROOT/pages/installation/binaries.adoc b/docs/modules/ROOT/pages/installation/binaries.adoc index 24d80969..b2f885fe 100644 --- a/docs/modules/ROOT/pages/installation/binaries.adoc +++ b/docs/modules/ROOT/pages/installation/binaries.adoc @@ -16,20 +16,31 @@ Add these repositories to your OS, such as as suggested below, and then install === Configuring the Stackable OS package repository -You will need to configure the Stackable OS package repository on the worker nodes. We’ll also take the opportunity to install OpenJDK Java 11 as well as this will be required by the Stackable services we will be running. +You will need to configure the Stackable OS package repository on the worker nodes. ==== Debian and Ubuntu - apt-get install gnupg openjdk-11-jdk curl + apt-get install gnupg curl apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 16dd12f5c7a6d76a echo "deb https://repo.stackable.tech/repository/deb-release buster main" > /etc/apt/sources.list.d/stackable.list ==== Red Hat and CentOS - /usr/bin/yum -y install gnupg2 java-11-openjdk curl + /usr/bin/yum -y install gnupg2 curl /usr/bin/curl -s "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xce45c7a0a3e41385acd4358916dd12f5c7a6d76a" > /etc/pki/rpm-gpg/RPM-GPG-KEY-stackable /usr/bin/rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-stackable echo "[stackable] - name=Stackable ${REPO_TYPE} repo - baseurl=${REPO_URL} + name=Stackable dev repo + baseurl=https://repo.stackable.tech/repository/rpm-dev/el\$releasever/ enabled=1 gpgcheck=0" > /etc/yum.repos.d/stackable.repo /usr/bin/yum clean all + +=== Installation of the Stackable agent + +You will then need to install the Stackable agent and it's prerequite packages + +==== Debian and Ubuntu + apt-get install openjdk-11-jdk stackable-agent + +==== Red Hat and CentOS + /usr/bin/yum -y install java-11-openjdk stackable-agent +