Install KX Sensors in an air-gapped environment¶
This page explains how to install KX Sensors on hosts that have no internet access, by providing the dependencies the installer would otherwise download.
By default, the installer downloads and installs its dependencies automatically. If a target host has no active internet connection, you provide the dependencies yourself before you install KX Sensors.
etcd¶
Get the following .tar.gz file from a host that has internet access and place it in the deps directory at the root of the extracted installation bundle, not inside a deploy directory such as default-deploy. The installer checks for the file and skips the download if it finds it.
curl -L https://storage.googleapis.com/etcd/v3.5.2/etcd-v3.5.2-linux-amd64.tar.gz -o /path/to/deps/etcd-v3.5.2-linux-amd64.tar.gz
The installer looks for the exact version as defined by ETCD_VER=v3.5.2 in the installation bundle file scripts/remote/install-etcd.sh. If the etcd version has changed in your release, place the matching tarball in deps before you install. For more information, see Upgrade etcd.
yum repositories¶
The following packages must exist in a local yum repository. If a package is missing on a host without internet access, the yum command fails and the installation stops. To recover, add the package to a local yum repository and run the installation again.
unziptartmuxrsyncfontconfigiputils(providesping)nmap-ncat(providesnc)
If any package is missing, the installer first tries to download the EPEL release RPM. On a host without internet access, this download fails. The installer doesn't check the result, so the failure is harmless, but it adds errors to the installation log. Ignore them.