Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Create a new working directory for SCS Installation.
mkdir /root/datacore

...

Copy the local repo (repo.tar) and Pause Container (k8s.gcr.io_pause_3.2.tar

...

Create a local repo - “/etc/yum.repos.d/local.repo”.

Code Block
[local] 
name=Everything we need to install scs
baseurl=file:///root/datacore/packages
enabled=true
gpgcheck=0

...

Create a local repo for installing Podman. Example: “/etc/yum.repos.d/devel:kubic:libcontainers:stable.repo“.
Note:
Verify that the file name is exactly matched.

Code Block
[kubic] 
name=Stable Releases of Upstream   packages (CentOS_7) 
baseurl=file:///root/datacore/packages 
enabled=true 
gpgcheck=0 

...

Disable base, updates, extras, and CentOsPlus repositories. Add enable=0 to [base], [updates], [extras] and [centosplus] session of “/etc/yum.repos.d/CentOS-Base.repo” or rename it. 

Code Block
languagebash
[base]
name=CentOS-$releasever - Base 
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra 
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ 
gpgcheck=1 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 
enabled=0 

#released updates 
[updates] 
name=CentOS-$releasever - Updates 
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra 
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ 
gpgcheck=1 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 
enabled=0 

#additional packages that may be useful 
[extras] 
name=CentOS-$releasever - Extras 
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras&infra=$infra 
#baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ 
gpgcheck=1 
enabled=0 
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 

#additional packages that extend functionality of existing packages 
[centosplus] 
name=CentOS-$releasever - Plus 
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus&infra=$infra 
#baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ 
gpgcheck=1 
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 

...

Flush repo metadata.

Code Block
yum clean all
yum repolist

...

Install NTP Server (don’t use Active Directory as NTP Server Source).
yum -y install chrony

...

Configure sync with local NTP Server.
IMPORTANT:
NTP does not sync with the Active Directory.

...

Install Podman 3.0.1.
yum -y install podman

...

Verify if Podman 3.0.1 install is successful or not.

Code Block
languagebash
podman -v
podman version 3.0.1

...

Load Pause Container.
podman image load -i /root/datacore/k8s.gcr.io_pause_3.2.tar

...

Verify the Pause Container is loaded. Ensure that the container TAG label is 3.2.

Code Block
podman images

REPOSITORY        TAG     IMAGE ID      CREATED        SIZE 
k8s.gcr.io/pause  3.2     80d28bedfe5d  22 months ago  688 kB 

...

) created from the previous session to the CentOS 7 to install SCS Server 14.

Two different ways to download SCS offline are:

Child pages (Children Display)