Refer to the following steps to install SCS RPM with Internet access:
Install the EPEL release.
Download the latest EPEL package
curl -O https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Install the downloaded RPM
yum install epel-release-latest-7.noarch.rpm
If running Red Hat, enable the server extras repository:
subscription-manager repos --enable=rhel-7-server-extras-rpms
Download Kubic Repo for Podman 3.
Note: Though this repo points to Suse, it is the official location podman has chosen to publish the RPM for RHEL/CentOS 7.[root@scs-rhel ~]# curl -L "https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/CentOS_7/devel:kubic:libcontainers:stable.repo" -o "/etc/yum.repos.d/devel:kubic:libcontainers:stable.repo" % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 403 100 403 0 0 655 0 --:--:-- --:--:-- --:--:-- 655 100 404 100 404 0 0 549 0 --:--:-- --:--:-- --:--:-- 549 100 405 100 405 0 0 473 0 --:--:-- --:--:-- --:--:-- 473 100 359 100 359 0 0 366 0 --:--:-- --:--:-- --:--:-- 366 [root@scs-rhel ~]# ls -l /etc/yum.repos.d/ total 340 drwxr-xr-x. 2 root root 4096 Mar 17 14:33 ./ drwxr-xr-x. 77 root root 4096 Mar 17 13:24 ../ -rw-r--r--. 1 root root 359 Mar 17 14:33 devel:kubic:libcontainers:stable.repo -rw-r--r--. 1 root root 1358 Sep 4 2021 epel.repo -rw-r--r--. 1 root root 1457 Sep 4 2021 epel-testing.repo -rw-r--r--. 1 root root 325697 Mar 17 13:08 redhat.repo [root@scs-rhel ~]# cat /etc/yum.repos.d/devel\:kubic\:libcontainers\:stable.repo [devel_kubic_libcontainers_stable] name=Stable Releases of Upstream github.com/containers packages (CentOS_7) type=rpm-md baseurl=https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_7/ gpgcheck=1 gpgkey=https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_7/repodata/repomd.xml.key enabled=1 [root@scs-rhel ~]#
List the enabled repos using
yum repolist enabled
to verify Kubic is on the list.Install SCS build
yum -y install swarm-scs-1.1.0-1.x86_64.rpm
.Check the
scsctl help
command to verify the SCS is installed.usage: scsctl [-v | --info-log | --debug-log | --trace-log] [--user USER | --token TOKEN] options: ... Provides basic control and visibility into the Platform service. optional arguments: --user USER User name and (optionally) password. If password is included, then this must be in the form "{user_name}:{password}" (default: None) --token TOKEN Authentication token. (default: None) output options: These options affect the way output is displayed. -v, --verbose Increase output verbosity (ex: -v, -vv, -vvv). Verbose output is always sent to stdout. (default: None) --info-log Set info-level verbosity (equivalent to -v). (default: None) --debug-log Set debug-level verbosity (equivalent to -vv). (default: None) --trace-log Set trace-level verbosity (equivalent to -vvv). (default: None) subcommands: Which action you wish to perform. To get detailed help, add 'help' to the end. For example: 'scsctl auth help' options: auth Manages persisted credentials for contacting the Platform API. backup Manages backing up and restoring the Platform service. diagnostics Performs diagnostics on the Platform server setup. init Utilities for setting up a Swarm environment. license Manages the license for this Swarm ecosystem installation. repo Manages the Platform repository. The repository contains installed component versions and other third-party software. system Performs administrative operations on the system. help Outputs this help and exits. ERROR: Cannot connect to the Platform API service at 172.16.33.10:8095. Please ensure the service is up and running.