When I try to install compiler in linux , I'm getting following error.
$ yum install -y gcc
Loaded plugins: product-id, refresh-packagekit, rhnplugin, security, subscription-
: manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
There was an error communicating with RHN.
RHN Satellite or RHN Classic support will be disabled.
Error communicating with server. The message was:
Unable to connect to the host and port specified
Perhaps this solution from RedHat site helps: https://access.redhat.com/solutions/253273