Procedure to Register System to Redhat Network (RHN)
1) Run command “Up2date”(redhat 4) -
redhat 5- use the commands “rhn_register”
2) If the system is not registered before, it give some initial intro & ask to read & agree to disclaimer. Click Next.
3) Enter appropriate hostname for identification. It should be hostname-server serialno.
4) Give package details to register to RHN so that system would automatically notified when new updates arrive.
5) Clicking Next will send all the details to RHN & will register the system.
6) Confirmation dialogue after registering.
7) Run “up2date –u”( redhat 4)
redhat 5 – use the commands yum update
Eg. It would automatically update the system. Answer relevant questions if asked by up2date agent.
[root@techgyaanrhn~]# yum update
Fetching Obsoletes list for channel: rhel-i386-es-4...
########################################
Fetching rpm headers...
########################################
Fetching Obsoletes list for channel: rhel-i386-es-4...
Name Version Rel
----------------------------------------------------------
up2date 4.6.2 7.el4_6.1 i386
Testing package set / solving RPM inter-dependencies...
########################################
up2date-4.6.2-7.el4_6.1.i38 ########################## Done.
rhnlib-2.1.1-9.el4_6.noarch ########################## Done.
New Up2date available
Preparing ########################################### [100%]
Installing...
1:rhnlib ########################################### [100%]
2:up2date ########################################### [100%]
New Up2date available
The following packages were added to your selection to satisfy dependencies:
Name Version Release
--------------------------------------------------------------
rhnlib 2.1.1 9.el4_6
Restarting up2date
Restarting up2date
[root@techgyaanrhn ~]#
Fetching Obsoletes list for channel: rhel-i386-es-4...
Fetching rpm headers...
########################################
Name Version Rel
----------------------------------------------------------
GConf2 2.8.1 1.el4 i386
MAKEDEV 3.15.2 3 i386
MyODBC 2.50.39 25.RHEL4.1 i386
MySQL-python 1.2.1_p2 1.el4.1 i386
NetworkManager 0.3.1 4.el4 i386
zsh 4.2.0 4.EL.4.5 i386
Testing package set / solving RPM inter-dependencies...
libxml2-python-2.6.16-10.1. ########################## Done.
lm_sensors-2.8.7-2.40.5.i38 ########################## Done.
lockdev-1.0.1-6.2.i386.rpm: ########################## Done.
lockdev-devel-1.0.1-6.2.i38 ########################## Done.
8) Goto http://rhn.redhat.com & verify your system status.
About Author
-------------------------------------------------------------------------------------------------------------
Bala is the TechGyaan's Editor and directs coverage of disruptive open source technology and media. Check out Bala's Google+ profile.
Follow @techgyaan






Comments
Post a Comment