# How to Install OpenShift on an On-Prem Server Using Red Hat Enterprise Linux (RHEL): Step-by-Step Guide

**URL:** <https://community.abs-consulting.com/t/how-to-install-openshift-on-an-on-prem-server-using-red-hat-enterprise-linux-rhel-step-by-step-guide/815>\
**Category:** IBM Products\
**Created:** [January 16, 2025, 11:03pm UTC](https://community.abs-consulting.com/t/how-to-install-openshift-on-an-on-prem-server-using-red-hat-enterprise-linux-rhel-step-by-step-guide/815 "2025-01-16T23:03:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![robert](https://community.abs-consulting.com/user_avatar/community.abs-consulting.com/robert/32/28_2.png) [@robert](https://community.abs-consulting.com/u/robert)\
**Post date:** [January 16, 2025, 11:03pm UTC](https://community.abs-consulting.com/t/how-to-install-openshift-on-an-on-prem-server-using-red-hat-enterprise-linux-rhel-step-by-step-guide/815/1 "2025-01-16T23:03:59Z")

</div>

**Introduction**  
OpenShift is a powerful Kubernetes-based platform designed to accelerate the development, deployment, and management of containerized applications. Built by Red Hat, it provides developers with self-service capabilities while giving IT teams the tools to ensure security, compliance, and operational efficiency.

Organizations can use OpenShift for:

- **Developing modern applications** with built-in CI/CD pipelines.
- **Streamlining DevOps workflows** by standardizing Kubernetes-based infrastructure.
- **Managing hybrid or multi-cloud environments** with ease and scalability.

If you’re looking to deploy OpenShift on-premises using Red Hat Enterprise Linux, follow the steps below to set up your cluster.

* * *

### **Prerequisites**

1. **Hardware Requirements** (minimum):

2. **Software Requirements** :

3. **Download OpenShift Components** :

4. **Networking Requirements** :

* * *

### **Step 1: Prepare RHEL on All Nodes**

1. **Update Your System** :  
Ensure all nodes are running the latest updates.

2. **Install Required Packages** :

3. **Enable NTP for Time Synchronization** :

4. **Disable Swap** (required for Kubernetes):

5. **Enable Kernel Modules** :

6. **Configure Firewall Rules** :

* * *

### **Step 2: Set Up the OpenShift Installer**

1. **Download and Extract the Installer** :

2. **Verify the Installation** :

* * *

### **Step 3: Generate the Configuration**

1. **Create the install-config.yaml File** :  
Run the following command:

2. **Edit Configuration (Optional)**:  
Customize `install-config.yaml` to adjust networking, storage, or machine sets.

* * *

### **Step 4: Deploy the Cluster**

1. **Start Installation** :  
Run the following command to begin deploying your OpenShift cluster:

2. **Monitor Progress** :  
The installer will provide real-time updates. Logs are stored at `/var/log/openshift-install.log`.

* * *

### **Step 5: Access Your OpenShift Cluster**

1. **Retrieve the Administrator Credentials** :

2. **Open the OpenShift Console** :  
Navigate to:

* * *

### **Step 6: Verify Your Cluster**

1. **Check Node Status** :

2. **Verify Pod Deployments** :

* * *

### **Troubleshooting Tips**

- **DNS Issues** : Use `dig` or `nslookup` to confirm DNS records.
- **Firewall Configuration** : Ensure required ports are open between nodes.
- **Logs** : Check logs at `/var/log/openshift-install.log` for detailed error messages.

* * *

With OpenShift running on RHEL, you’re ready to deliver containerized workloads with enterprise-grade reliability and efficiency. Have any questions or need help? Drop them in the comments!
