|
|
(10 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| + | [[ Red Hat 7 registration ]]- '''how to connect to and register to Red Hat Network''' |
| + | |
| + | rm /etc/sysconfig/rhn/systemid<br> |
| + | rhn_register<br> |
| + | subscription-manager register --username your_username --password your_password --auto-attach |
| + | |
| subscription-manager list --available --all <br> | | subscription-manager list --available --all <br> |
| or <br> | | or <br> |
Line 12: |
Line 18: |
| rpm -q rhn-client-tools<br> | | rpm -q rhn-client-tools<br> |
| rhn-client-tools-0.4.13-1.el5<br> | | rhn-client-tools-0.4.13-1.el5<br> |
− |
| |
− | '''Problems with Red Hat 5'''<br>
| |
− | <source lang="text">
| |
− |
| |
− | -rw-r--r-- 1 root root 3584000 Nov 6 11:30 registration_update-rhel-5.tar.gz
| |
− | Contains :
| |
− | -rw-r--r-- 1 root root 387571 Sep 3 2012 hal-0.5.8.1-64.el5.x86_64.rpm
| |
− | -rw-r--r-- 1 root root 510748 Jul 25 2012 m2crypto-0.16-9.el5.x86_64.rpm
| |
− | -rw-r--r-- 1 root root 91514 Sep 6 2010 python-dmidecode-3.10.13-1.el5_5.1.x86_64.rpm
| |
− | -rw-r--r-- 1 root root 34363 Jul 26 2012 python-iniparse-0.2.3-6.el5.noarch.rpm
| |
− | -rw-r--r-- 1 root root 47454 May 21 2014 rhn-check-0.4.20.1-9.el5.noarch.rpm
| |
− | -rw-r--r-- 1 root root 944636 May 21 2014 rhn-client-tools-0.4.20.1-9.el5.noarch.rpm
| |
− | -rw-r--r-- 1 root root 73624 Aug 22 2013 rhnlib-2.5.22.1-6.el5.noarch.rpm
| |
− | -rw-r--r-- 1 root root 34839 Oct 11 2012 rhnsd-4.7.0-14.el5.x86_64.rpm
| |
− | -rw-r--r-- 1 root root 126934 May 21 2014 rhn-setup-0.4.20.1-9.el5.noarch.rpm
| |
− | -rw-r--r-- 1 root root 157546 May 21 2014 rhn-setup-gnome-0.4.20.1-9.el5.noarch.rpm
| |
− | -rw-r--r-- 1 root root 1034777 Jul 24 2012 yum-3.2.22-40.el5.noarch.rpm
| |
− | -rw-r--r-- 1 root root 26063 Jul 18 2012 yum-metadata-parser-1.1.2-4.el5.x86_64.rpm
| |
− | -rw-r--r-- 1 root root 73718 Sep 10 2013 yum-rhn-plugin-0.5.4.1-7.el5.noarch.rpm
| |
− | -rw-r--r-- 1 root root 23245 Aug 4 2014 yum-updatesd-0.9-6.el5_10.noarch.rpm
| |
− |
| |
− |
| |
− | # rpm -Uvh *.rpm --replacefiles
| |
− | warning: hal-0.5.8.1-64.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
| |
− | error: Failed dependencies:
| |
− | pm-utils >= 0.99.3-6 is needed by hal-0.5.8.1-64.el5.x86_64
| |
− | # rpm -q pm-utils
| |
− | pm-utils-0.19-3
| |
− |
| |
− | rpm -i hal-0.5.8.1-64.el5.x86_64.rpm --nodeps --replacefiles
| |
− | warning: hal-0.5.8.1-64.el5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
| |
− |
| |
− |
| |
− | </source>
| |
Latest revision as of 08:45, 14 February 2022
Red Hat 7 registration - how to connect to and register to Red Hat Network
rm /etc/sysconfig/rhn/systemid
rhn_register
subscription-manager register --username your_username --password your_password --auto-attach
subscription-manager list --available --all
or
subscription-manager list ( to see the current machine )
Check for software updates - gpk-update-viewer
Update the operating system - yum update
Install a specific package - yum install vsftpd
To update a specific package - yum update bind
Checking a certificate :
openssl s_client -connect xmlrpc.rhn.redhat.com:443 -CAfile /usr/share/rhn/RHNS-CA-CERT
rpm -q rhn-client-tools
rhn-client-tools-0.4.13-1.el5