Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOpsSchool!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Restore a default RHEL 7.x default repo list of EC2 Instance

Many time, my students have deleted or corrupted a yum repo list of RHEL7 or Centos 7 and i spent lots of time solving these problem. This, this is quick guide to solve a problems when /etc/yum.repos.d has been corrupted or deleted.

Options 1

$ cd /etc/yum.repos.d
$ git clone https://github.com/devopsschool-sample-projects/restore-rhel-centos-aws-default-yum-repo.git

Options 2

$ cd /etc/yum.repos.d

$ curl -o docker-ce.repo https://raw.githubusercontent.com/devopsschool-sample-projects/restore-rhel-centos-aws-default-yum-repo/master/docker-ce.repo

$ curl -o epel-testing.repo https://raw.githubusercontent.com/devopsschool-sample-projects/restore-rhel-centos-aws-default-yum-repo/master/epel-testing.repo

$ curl -o redhat-rhui.repo https://raw.githubusercontent.com/devopsschool-sample-projects/restore-rhel-centos-aws-default-yum-repo/master/redhat-rhui.repo

$ curl -o epel.repo https://raw.githubusercontent.com/devopsschool-sample-projects/restore-rhel-centos-aws-default-yum-repo/master/epel.repo

$ curl -o redhat-rhui-client-config.repo https://raw.githubusercontent.com/devopsschool-sample-projects/restore-rhel-centos-aws-default-yum-repo/master/redhat-rhui-client-config.repo

$ curl -o rhui-load-balancers.conf https://raw.githubusercontent.com/devopsschool-sample-projects/restore-rhel-centos-aws-default-yum-repo/master/rhui-load-balancers.confCode language: JavaScript (javascript)

Error:

  • This system is not registered with an entitlement server. You can use subscription-manager to register
  • /var/tmp/yum-root-02AK54/epel-release-latest-7.noarch.rpm: does not update installed package.

Certification Courses

DevOpsSchool has introduced a series of professional certification courses designed to enhance your skills and expertise in cutting-edge technologies and methodologies. Whether you are aiming to excel in development, security, or operations, these certifications provide a comprehensive learning experience. Explore the following programs:

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.