Tuesday, July 18, 2017

::: How to Upgrade RHEL/Redhat Enterprise Linux 7 Using Repolocal, ISO & Online :::.


1. capture release version before upgrade
[root@teguhlab yum.repos.d]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.2 (Maipo)
[root@teguhlab yum.repos.d]#

2. Mounting Image Rhel 7.3/Latest Using ISO File or DVD Room/Repolocal
detail on http://teguhth.blogspot.co.id/2017/07/how-settting-install-package-os-redhat.html

3. Clean all
# yum clean all
# subscription-manager clean
All local data removed

4. Upgrade Rhel 7.2 to Rhel 7.3/Latest
# yum -y update

[root@teguhlab data]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.2 (Maipo)
[root@teguhlab data]#
[root@teguhlab data]# yum -y update
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscripti
on-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package ModemManager.x86_64 0:1.1.0-8.git20130913.el7 will be updated
---> Package ModemManager.x86_64 0:1.6.0-2.el7 will be an update
--> Processing Dependency: libmbim-utils for package: ModemManager-1.6.0-2.el7.x86_64

..........................
  xfsprogs.x86_64 0:4.5.0-8.el7                                                        
  xorg-x11-drv-ati.x86_64 0:7.6.1-3.20160215gitd41fccc.el7                             
  xorg-x11-drv-intel.x86_64 0:2.99.917-22.20151206.el7                                 
  xorg-x11-drv-nouveau.x86_64 1:1.0.11-4.el7                                           
  xorg-x11-drv-vmmouse.x86_64 0:13.0.0-12.el7                                          
  xorg-x11-server-Xorg.x86_64 0:1.17.2-22.el7                                          
  xorg-x11-server-common.x86_64 0:1.17.2-22.el7                                        
  xorg-x11-utils.x86_64 0:7.5-14.el7                                                   
  xz.x86_64 0:5.2.2-1.el7                                                              
  xz-libs.x86_64 0:5.2.2-1.el7                                                         
  yum.noarch 0:3.4.3-150.el7                                                           
  yum-langpacks.noarch 0:0.4.2-7.el7                                                   
  yum-rhn-plugin.noarch 0:2.0.1-6.el7                                                  
  yum-utils.noarch 0:1.1.31-40.el7                                                     
Failed:
  filesystem.x86_64 0:3.2-20.el7             filesystem.x86_64 0:3.2-21.el7           
Complete!

[root@teguhlab data]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.3 (Maipo)
[root@teguhlab data]#

5. capture release version after upgrade
[root@teguhlab yum.repos.d]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.2 (Maipo)
[root@teguhlab yum.repos.d]#

No comments:

Post a Comment

Popular Posts