Page tree
Skip to end of metadata
Go to start of metadata


Configuring your RHEL 8.3 VM




Purchase Subscription

Subscription Manager

https://access.redhat.com/solutions/253273

[obrienlabs@localhost ~]$ subscription-manager register --username m*** --password **** --auto-attach
Registering to: subscription.rhsm.redhat.com:443/subscription
The system has been registered with ID: 8ea341e9-**-924e868305c3
The registered system name is: localhost.localdomain
Installed Product Current Status:
Product Name: Red Hat Enterprise Linux for x86_64
Status:       Subscribed
sudo yum update

add account to sudoers
su
usermod -aG wheel <account>
reboot now

update Java from 8 to 11
sudo yum install java-11-openjdk-devel
sudo alternatives --config java

flip on network
sudo systemctl restart NetworkManager.service

Installing Podman as an alternative to Docker on Redhat RHEL 8

Podman will run as non-root

[obrienlabs@localhost ~]$ docker version
bash: docker: command not found...
Install package 'podman-docker' to provide command 'docker'? [N/y] y
 * Waiting in queue... 
 * Loading list of packages.... 
The following packages have to be installed:
 conmon-2:2.0.20-2.module+el8.3.0+8221+97165c3f.x86_64	OCI container runtime monitor
 container-selinux-2:2.144.0-1.module+el8.3.0+8221+97165c3f.noarch	SELinux policies for container runtimes
 containernetworking-plugins-0.8.6-2.module+el8.3.0+8221+97165c3f.x86_64	CNI network plugins
 containers-common-1:1.1.1-3.module+el8.3.0+8221+97165c3f.x86_64	Configuration files for working with image signatures
 criu-3.14-2.module+el8.3.0+8221+97165c3f.x86_64	Tool for Checkpoint/Restore in User-space
 fuse-overlayfs-1.1.2-3.module+el8.3.0+8221+97165c3f.x86_64	FUSE overlay+shiftfs implementation for rootless containers
 fuse3-libs-3.2.1-12.el8.x86_64	File System in Userspace (FUSE) v3 libraries
 libnet-1.1.6-15.el8.x86_64	C library for portable packet creation and injection
 libslirp-4.3.1-1.module+el8.3.0+8221+97165c3f.x86_64	A general purpose TCP-IP emulator
 libvarlink-18-3.el8.x86_64	Varlink C Library
 podman-2.0.5-5.module+el8.3.0+8221+97165c3f.x86_64	Manage Pods, Containers and Container Images
 podman-catatonit-2.0.5-5.module+el8.3.0+8221+97165c3f.x86_64	A signal-forwarding process manager for containers
 podman-docker-2.0.5-5.module+el8.3.0+8221+97165c3f.noarch	Emulate Docker CLI using podman
 protobuf-c-1.3.0-4.el8.x86_64	C bindings for Google's Protocol Buffers
 runc-1.0.0-68.rc92.module+el8.3.0+8221+97165c3f.x86_64	CLI for running Open Containers
 slirp4netns-1.1.4-2.module+el8.3.0+8221+97165c3f.x86_64	slirp for network namespaces
Proceed with changes? [N/y] y
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.

[obrienlabs@localhost ~]$ sudo yum install podman-docker
[sudo] password for obrienlabs: 
Updating Subscription Management repositories.
Last metadata expiration check: 2:12:30 ago on Sun 13 Dec 2020 01:27:01 PM PST.
Package podman-docker-2.0.5-5.module+el8.3.0+8221+97165c3f.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[obrienlabs@localhost ~]$ docker version
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
Version:      2.0.5
API Version:  1
Go Version:   go1.14.7
Built:        Wed Sep 23 09:18:02 2020
OS/Arch:      linux/amd64
[obrienlabs@localhost ~]$ docker ps
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
CONTAINER ID  IMAGE   COMMAND  CREATED  STATUS  PORTS   NAMES


Installing Redhat OpenShift 4.6 for Kubernetes Development

follow https://docs.openshift.com/container-platform/4.6/welcome/index.html
https://docs.openshift.com/container-platform/4.6/installing/installing_bare_metal/installing-bare-metal.html#installing-bare-metal

Requires account - https://cloud.redhat.com/openshift/install/

OpenShift Code Ready Containers on a single RHEL VM

https://www.openshift.com/blog/how-to-create-a-single-node-cluster-for-openshift-4-on-power-and-z
https://code-ready.github.io/crc/

4 vCores + 9Gb


Ansible


  • No labels