To perform an installation without internet access,
create a local YUM mirror with the OL7 latest, epel, and addons repositories
used by the "OS installation" process. Additionally a local repository is
needed to hold the version of the docker-ce RPM used by the "Kubernetes
installer" process. Repository files will need to be created to reference these
local YUM repositories, and placed on the necessary machines (those which run
the OCCNE installation Docker instances).
-
Create OL7
repository mirror repo.
Below is an example of a repository file providing the details on
a mirror with the necessary repositories. This repository file would be placed
on the machine that will run the OCCNE deployment containers.
/etc/yum.repos.d/ol7-mirror.repo
[local_ol7_x86_64_UEKR5]
name=Unbreakable Enterprise Kernel Release 5 for Oracle Linux 7 (x86_64)
baseurl=http://10.75.155.195/yum/OracleLinux/OL7/UEKR5/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
enabled=1
proxy=_none_
[local_ol7_x86_64_latest]
name=Oracle Linux 7 Latest (x86_64)
baseurl=http://10.75.155.195/yum/OracleLinux/OL7/latest/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
enabled=1
proxy=_none_
[local_ol7_x86_64_addons]
name=Oracle Linux 7 Addons (x86_64)
baseurl=http://10.75.155.195/yum/OracleLinux/OL7/addons/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
enabled=1
proxy=_none_
[local_ol7_x86_64_ksplice]
name=Ksplice for Oracle Linux 7 (x86_64)
baseurl=http://10.75.155.195/yum/OracleLinux/OL7/ksplice/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
enabled=1
proxy=_none_
[local_ol7_x86_64_developer]
name=Packages for creating test and development environments for Oracle Linux 7 (x86_64)
baseurl=http://10.75.155.195/yum/OracleLinux/OL7/developer/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
enabled=1
proxy=_none_
[local_ol7_x86_64_developer_EPEL]
name=EPEL Packages for creating test and development environments for Oracle Linux 7 (x86_64)
baseurl=http://10.75.155.195/yum/OracleLinux/OL7/developer/EPEL/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
enabled=1
proxy=_none_
-
Create Docker CE
repository repo.
Below is an example of a repository file providing the details on
a repository with the necessary docker-ce package.
/etc/yum.repos.d/docker-ce-stable.repo
[local_docker-ce-stable]
name=Docker CE Stable (x86_64)
baseurl=http://10.75.155.195/yum/centos/7/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
enabled=1
The docker RPM placed into the repository should be docker-ce
version 18.06.1.ce-3.el7 for x86_64 downloaded from:
https://download.docker.com/linux/centos/7/x86_64/stable
gpg-key for the rpm can be downloaded from:
https://download.docker.com/linux/centos/gpg