Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

โ€œInvest in yourself โ€” your confidence is always worth it.โ€

Explore Cosmetic Hospitals

Start your journey today โ€” compare options in one place.

OpenShift Install & Configurations using OpenShift Local in Linux laptops/desktops

Here is the correct and updated step-by-step guide to install and configure OpenShift Local (formerly CRC โ€“ CodeReady Containers) on Linux laptops/desktops for local development and testing.


๐Ÿง OpenShift Local on Linux โ€“ Overview

FeatureDescription
Product NameOpenShift Local (formerly CodeReady Containers – CRC)
CLI Tool Namecrc
Cluster TypeSingle-node OpenShift 4.x cluster
VirtualizationUses QEMU/KVM + libvirt
Ideal ForDevelopers testing OpenShift workloads locally

โœ… System Requirements

RequirementValue
OSFedora, RHEL, CentOS, Ubuntu, Debian
CPUMin 4 cores
RAMMin 9 GB (16 GB recommended)
Disk SpaceMin 35+ GB free
VirtualizationKVM/QEMU enabled, libvirt installed
Pull SecretRequired from Red Hat account

๐Ÿงฐ Step 1: Install Required Packages

๐Ÿ”น Fedora / RHEL / CentOS:

sudo dnf install @virtualization libvirt libvirt-daemon-kvm qemu-kvm
sudo systemctl enable --now libvirtd
sudo usermod -a -G libvirt $(whoami)
Code language: JavaScript (javascript)

๐Ÿ”น Ubuntu / Debian:

sudo apt update
sudo apt install -y qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virt-manager
sudo systemctl enable --now libvirtd
sudo usermod -aG libvirt $(whoami)
Code language: JavaScript (javascript)

๐Ÿ” Logout and re-login to apply group changes.


๐Ÿ“ฅ Step 2: Download OpenShift Local (CRC) & Pull Secret

  1. Visit: https://console.redhat.com/openshift/create/local
  2. Sign in or register with a free Red Hat account.
  3. Download:
    • Linux CRC archive (e.g. crc-linux-amd64.tar.xz)
    • Pull Secret and save it as pull-secret.txt

๐Ÿ“ฆ Step 3: Install the crc Binary

tar -xvf crc-linux-*.tar.xz
sudo mv crc-linux-*/crc /usr/local/bin/crc
Code language: JavaScript (javascript)

Check the version:

crc version

๐Ÿ”ง Step 4: Setup the Cluster

crc setup --pull-secret ~/Downloads/pull-secret.txt
Code language: JavaScript (javascript)

Replace the path to the actual location of your pull secret.


โ–ถ๏ธ Step 5: Start the OpenShift Cluster

crc start
  • This initializes and boots the OpenShift VM
  • Takes 5โ€“15 minutes to fully start

๐ŸŒ Step 6: Access the Web Console

After the cluster starts, it will output a URL like:

https://console-openshift-console.apps-crc.testing
Code language: JavaScript (javascript)

Login Credentials:

RoleUsernamePassword
AdminkubeadminPrinted in terminal output
Developerdeveloperdeveloper

Open the URL in your browser and login using the credentials.


๐Ÿงช Step 7: Use the OpenShift CLI

Configure CLI access:

eval $(crc oc-env)
Code language: JavaScript (javascript)

Login via CLI:

oc login -u developer -p developer https://api.crc.testing:6443
Code language: JavaScript (javascript)

You can now deploy workloads, create namespaces, and test apps locally.


๐Ÿ” Cluster Management Commands

ActionCommand
Stop clustercrc stop
Delete clustercrc delete
Check statuscrc status

โš ๏ธ Common Issues & Fixes

IssueFix
libvirt permission errorsEnsure you are in the libvirt group (groups command)
DNS resolution failsDisable VPN or firewall; restart NetworkManager
CRC start fails with bundle errorUse latest CRC version from Red Hat site
No CRC commandReboot OR ensure /usr/local/bin is in your PATH

๐Ÿ“Ž Notes

  • CRC installs a single-node OpenShift cluster optimized for development.
  • It’s not meant for production or multi-node use.
  • Automatically sets up a VM using libvirt with a .crc domain.

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services โ€” all in one place.

Explore Hospitals
Iโ€™m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at <a href="https://www.cotocus.com/">Cotocus</a>. I share tech blog at <a href="https://www.devopsschool.com/">DevOps School</a>, travel stories at <a href="https://www.holidaylandmark.com/">Holiday Landmark</a>, stock market tips at <a href="https://www.stocksmantra.in/">Stocks Mantra</a>, health and fitness guidance at <a href="https://www.mymedicplus.com/">My Medic Plus</a>, product reviews at <a href="https://www.truereviewnow.com/">TrueReviewNow</a> , and SEO strategies at <a href="https://www.wizbrand.com/">Wizbrand.</a> Do you want to learn <a href="https://www.quantumuting.com/">Quantum Computing</a>? <strong>Please find my social handles as below;</strong> <a href="https://www.rajeshkumar.xyz/">Rajesh Kumar Personal Website</a> <a href="https://www.youtube.com/TheDevOpsSchool">Rajesh Kumar at YOUTUBE</a> <a href="https://www.instagram.com/rajeshkumarin">Rajesh Kumar at INSTAGRAM</a> <a href="https://x.com/RajeshKumarIn">Rajesh Kumar at X</a> <a href="https://www.facebook.com/RajeshKumarLog">Rajesh Kumar at FACEBOOK</a> <a href="https://www.linkedin.com/in/rajeshkumarin/">Rajesh Kumar at LINKEDIN</a> <a href="https://www.wizbrand.com/rajeshkumar">Rajesh Kumar at WIZBRAND</a> <a href="https://www.rajeshkumar.xyz/dailylogs">Rajesh Kumar DailyLogs</a>

Related Posts

List of all Job Roles, Job Titles in Software and IT Companies

The software and IT industry is home to a diverse array of job roles and titles, reflecting the dynamic and ever-evolving nature of technology. From core technical…

Read More

Best DevOps Tools in 2024

hereโ€™s a clear, structured breakdown of the Best DevOps Tools (grouped by categories), so you can use it for learning, training, or posts. ๐Ÿš€ Best DevOps Tools…

Read More

OpenShift Install & Configurations using OpenShift Local in windows laptops/desktops

Below is the 100% correct and updated step-by-step guide to install and configure OpenShift Local (aka CRC) on Windows 10/11 laptops or desktops using the correct crc…

Read More

Openshift: How to configure Azure openshift ARO with Custom Domain

Step-by-Step Guide: Configuring Azure Red Hat OpenShift (ARO) with a Custom Domain Setting up a custom domain for your ARO cluster involves both Azure and DNS provider…

Read More

Openshift: Lab 10 – View performance information using the OpenShift web console

Rajesh Kumar Iโ€™m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at…

Read More

Openshift: How to add Helm Repository in Openshift

Adding a Helm repository in OpenShift is a common step to manage and deploy Helm charts in your OpenShift cluster. OpenShift supports Helm CLI out of the…

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x