Instana 저장소 추가 및 stanctl 도구 설치
온라인 환경 및 에어갭 환경에 Standard Edition 를 설치하기 전에, Instana 저장소를 추가하고 해당 stanctl 도구를 설치해야 합니다.
sudo을 사용하십시오.Instana 저장소 추가
호스트의 루트 사용자로서 다음 명령어를 실행하여 저장소를 추가하십시오:
Ubuntu 또는 Debian 호스트를 사용하는 경우 다음 명령어를 실행하십시오:
참고: 호스트가 Instana 설치 패키지에 접근할 수 있도록 호스트의 `/etc/apt/sources.list`sources.list파일에 ` Instana ` 저장소를 추가해야 합니다.export DOWNLOAD_KEY=<download_key> echo 'deb [signed-by=/usr/share/keyrings/instana-archive-keyring.gpg] https://artifact-public.instana.io/artifactory/rel-debian-public-virtual generic main' > /etc/apt/sources.list.d/instana-product.list cat << EOF > /etc/apt/auth.conf machine artifact-public.instana.io login _ password $DOWNLOAD_KEY EOF wget -nv -O- --user=_ --password="$DOWNLOAD_KEY" https://artifact-public.instana.io/artifactory/api/security/keypair/public/repositories/rel-debian-public-virtual | gpg --dearmor > /usr/share/keyrings/instana-archive-keyring.gpgRed Hat® Enterprise Linux®, CentOS Stream, Amazon Linux 또는 Oracle Linux 호스트를 사용 중이라면 다음 명령어를 실행하십시오:
export DOWNLOAD_KEY=<download_key> cat << EOF > /etc/yum.repos.d/Instana-Product.repo [instana-product] name=Instana-Product baseurl=https://_:$DOWNLOAD_KEY@artifact-public.instana.io/artifactory/rel-rpm-public-virtual/ enabled=1 gpgcheck=0 gpgkey=https://_:$DOWNLOAD_KEY@artifact-public.instana.io/artifactory/api/security/keypair/public/repositories/rel-rpm-public-virtual repo_gpgcheck=1 EOFSUSE Linux Enterprise Server (SLES) 호스트를 사용하는 경우 다음 명령어를 실행하십시오:
export DOWNLOAD_KEY=<download_key> cat << EOF > /etc/zypp/credentials.d/instana_auth username=_ password=$DOWNLOAD_KEY EOF cat << EOF > /etc/zypp/repos.d/Instana-Product.repo [instana-product] name=Instana-Product baseurl=https://artifact-public.instana.io/artifactory/rel-rpm-public-virtual/?credentials=instana_auth enabled=1 gpgcheck=0 gpgkey=https://artifact-public.instana.io/artifactory/api/security/keypair/public/repositories/rel-rpm-public-virtual?credentials=instana_auth repo_gpgcheck=1 EOF
stanctl 명령줄 도구 설치
Standard Edition 는 라는 명령줄 stanctl 도구로 관리되며, 이 도구를 설치해야 합니다.
Ubuntu 또는 Debian 호스트를 사용하는 경우 다음 명령어를 실행하십시오:
호스트의 패키지 인덱스 파일을 업데이트하십시오.
apt update -ystanctl설치를 수행하십시오.apt install -y stanctl자동 업데이트를 방지하려면 패키지
stanctl버전을 설정하십시오.apt-mark hold stanctl
Red Hat Enterprise Linux 또는 CentOS Stream 호스트를 사용 중이라면 다음 명령어를 실행하십시오:
저장소를
yum새로고침하세요.yum clean expire-cache -y호스트의 패키지 인덱스 파일을 업데이트하십시오.
yum update -ystanctl설치를 수행하십시오.yum install -y stanctl호스트에 버전락 플러그인이 설치되어 있지 않은 경우, 다음 명령어를 실행하여 플러그인을 설치하십시오.
yum install python3-dnf-plugin-versionlock자동 업데이트를 방지하려면 패키지
stanctl버전을 설정하십시오.yum versionlock add stanctl
Amazon Linux 또는 Oracle Linux 호스트를 사용하는 경우 다음 명령어를 실행하십시오:
저장소를
dnf새로고침하세요.dnf clean expire-cache -y호스트의 패키지 인덱스 파일을 업데이트하십시오.
dnf update -ystanctl설치를 수행하십시오.dnf install -y stanctl자동 업데이트를 방지하려면 패키지
stanctl버전을 설정하십시오.dnf versionlock add stanctl
SLES 호스트가 있는 경우 다음 명령어를 실행하십시오:
호스트의 패키지 인덱스 파일을 새로고침하고 업데이트하십시오.
zypper refresh참고: 질문을 볼 때 항상 신뢰한다는 의미의 ', '를 입력하세요a.Do you want to reject the key, trust temporarily, or trust always? [r/t/a/?] (r):stanctl설치를 수행하십시오.zypper install -y stanctl
도구를 설치하면 자동으로. $PATH에 추가됩니다. 명령어는 stanctl 어떤 디렉터리에서든 실행할 수 있습니다. 설치한 stanctl 버전을 확인하려면 다음 명령어를 실행하십시오:
stanctl --version
명령어에 stanctl 대한 자세한 내용은 stanctl 명령어 사용을 참조하십시오.