PHP 7 and security on 7.1 RHEL

Latest response

I am starting a new thread so I can add some clarity to my problem.
I have a new Dell R220 server with Redhat 7.1
3.10.0-514.10.2.el7.x86_64 #1 SMP Mon Feb 20 02:37:52 EST 2017 x86_64 x86_64 x86_64 GNU/Linux
I have resisted it .

I want to install PHP 7 so I won't have to un-install php 5x

Additionally I know that security updates from emails are available but I am unable to install them.

I tried to add the repo as follows:

subscription-manager repos --enable rhel-server-rhscl-7-rpms

Error: 'rhel-server-rhscl-7-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
This is what I have in /etc/yum.repos.d/
dell-preinstall.repo
redhat.repo

Do I ?:
1. Enable one of the repos from the list available.
Here are my repos: http://tritechsc.ksd.org/updates/repo-list-170320.txt
2. yum update;
3. Install the packages from the desired repo.

How do I add:
rhel-server-rhscl-7-rpms

This is the closest to the desired repo:
Repo ID: rhel-server-rhscl-7-beta-rpms
Repo Name: Red Hat Software Collections Beta RPMs for Red Hat Enterprise Linux 7 Server
Repo URL: https://cdn.redhat.com/content/beta/rhel/server/7/$basearch/rhscl/1/os
Enabled: 1

Responses

Your current subscription does not seem to grant you access to the RedHat Software Collections repo.

First, run:

subscription-manager list --available

Find the Pool ID of the subscription that includes RedHat Software Collections, then run:

subscription-manager attach --pool=<pool_id>

Then list the available repositories again: the rhel-server-rhscl-7-rpms repo should now be listed there. Now you should be able to enable the repo:

subscription-manager repos --enable rhel-server-rhscl-7-rpms

and now the software from RHSCL should be available for yum.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.