Difference between revisions of "RedHat"

From wiki
Jump to: navigation, search
(Installation of devtoolset-2)
Line 23: Line 23:
 
  yum clean all
 
  yum clean all
 
  yum update yum*
 
  yum update yum*
 +
 +
== PYCURL error 7 ==
 +
 +
Note that this could easily occur is the squid server on marvin has failed. Make sure yo at least try and restart the squid server on marvin.
 +
 +
[https://access.redhat.com/solutions/291643 This link] has a farily exahustive for checking errors using tcpdump and nc.

Revision as of 15:03, 4 July 2017

The StAB cluster subscribes to Red Hat, and uses version 6, which is one behind the latest version, version 7.

Being one version behind is typicaly not a problem, as it continues to be fully supported. However, there are software packages that like to use the bleeding edge, and there are admitted problems installing these programs.


Installation of devtoolset-2

There are two ways apparently via RHN Classic or RH Subscription Management, and we choose the latter because there is a useful command-line tool for it.

To install on a node:

ssh node4 'subscription-manager subscribe --pool=8a85f9814ed67b98014eda13ed983c7d'

Note here that we have previously been able to verify the pool ID. Documentation for this can be found at

Click here or Google Red Hat Developer Toolset

This will also enable the appropriate repos for you (though *-source-rpms and *-debug-rpms may be left out).

Problems

outdated repomd.xml warnings

You can get rid of them (i.e. update the repomd.xml) by:

yum clean all
yum update yum*

PYCURL error 7

Note that this could easily occur is the squid server on marvin has failed. Make sure yo at least try and restart the squid server on marvin.

This link has a farily exahustive for checking errors using tcpdump and nc.