In this section, you will Install the required OS packages necessary to complete the installation. The following steps assume you are using a Debian-based Linux distribution - Ubuntu is recommended.

Install Linux Text Editor

Ensure one of the following text editors is installed.

Install OS Packages

The following packages are required to install PrimeHub.

Install required linux packages.

For Ubuntu Linux:

# Install yq
sudo snap install yq
# Install other packages
sudo apt update
sudo apt install -y make jq git curl netcat
# Install these packages for system management purpose
sudo apt install -y ansible bash-completion chrony

For RHEL 7:

# Install other packages
sudo yum install make jq git curl nmap-ncat
# Install these packages for system management purpose
sudo yum install ansible bash-completion chrony
# Install yq
sudo rpm -ivh <https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm>
sudo subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms"
sudo yum update
sudo yum install snapd
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
sudo snap install yq

For RHEL 8:

# Install other packages
sudo dnf install make jq git curl nmap-ncat
# Install these packages for management purpose
sudo dnf install ansible chrony bash-completion
# Install yq
sudo dnf install <https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm>
sudo dnf upgrade
sudo subscription-manager repos --enable "rhel-*-optional-rpms" --enable "rhel-*-extras-rpms"
sudo dnf update
sudo dnf install snapd
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
sudo snap install yq

Verify that the above tools were successfully installed.

make --version
jq --version
yq --version
git --version
curl --version
# For Ubuntu Linux
dpkg --list | grep netcat
# For RHEL
rpm -qa | grep ncat

Install Kubectl

Kubectl is a tool to manage the k8s cluster.

On the designated master node, install kubectl using the official documentation.

Install and Set Up kubectl on Linux

You will download version 1.26.8 of kubectl to your system by running the commands below. Change the value of K8S_VERSION to your preference.