Register in RHN after installation

There are many situation we need to register the host/server to RHN server manually, due to network issues, bad certificate/authentification or time difference on the host during installation.

Manul RHN registration is quite easy.
1. Check /etc/sysconfig/rhn/systemid file already exist, if YES delete the file

# rm /etc/sysconfig/rhn/systemid 

2. Register with the update agent using rhn_register

# rhn_register 

Other useful RHN client commands

Check Linux/Unix Operating System Version,Maintenance Level,Architecure

We can identify the Unix Operating System architecture by uname or arch command. Try below examples.

Linux

Linux kernel version and hardware architecture:
# uname -m
i686
# arch
i686


Here,
x86_64  : 64-bit architecture
i686   : 32-bit architecture.

Display distribution details and kernel version
# lsb_release -idr
Distributor ID: RedHatEnterpriseServer
Description:    Red Hat Enterprise Linux Server release 5.7 (Tikanga)
Release:        5.7

You might also like :

Related Posts with Thumbnails