Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Linux Distributions»CentOS»How to Upgrade CentOS 6.10 from CentOS 6.9-6.0

    How to Upgrade CentOS 6.10 from CentOS 6.9-6.0

    RahulBy RahulAugust 29, 20152 Mins ReadUpdated:November 12, 2019

    CentOS 6.10 has been released, If you are using older version 6.x release of CentOS operating system, this article will help to upgrade CentOS to latest release 6.10. This new release has lots of security changes and updates to packages. Currently, my server is running CentOS 6.9. Follow the below steps to upgrade it CentOS 6.10.

    Step 1 – Check Current CentOS Release

    The centos-release package contains a file /etc/centos-release or /etc/redhat-release having the current version of CentOS. Simply view the content of this file using cat command to find CentOS version.

    cat /etc/redhat-release
    
    CentOS release 6.9 (Final)
    

    Now, the following steps will help you to upgrade CentOS to the latest release. Before upgrading centos make sure you have taken backup of all your data to a remote location.

    Step 2 – Backup Important Data

    Below is a few suggested items to take backup.

    • Backup all databases ( MySQL, PostgreSQL, etc.. )
    • Backup all configuration files ( Apache, PHP, MySQL, DNS and Other services )
    • Backup all websites data running in webserver
    • Backup other service if any running on system

    Step 3 – Upgrade CentOS 6

    Use yum upgrade command to upgrade your current running system.

    yum clean all
    yum update
    

    After successful completion of above command just reboot your system.

    reboot
    

    Step 4 – Verify Upgrade

    Finally, verify that your system has been upgraded successfully. To confirm it check the /etc/redhat-release file content.

    cat /etc/redhat-release
    
    CentOS release 6.10 (Final)
    
    centos CentOS 6 linux upgrade
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp
    Previous ArticleSubmit Form without Page Refresh – PHP/jQuery
    Next Article How to Create a Branch in Remote Git Repository

    Related Posts

    Changing the Login Screen Background in Ubuntu 22.04 & 20.04

    Updated:May 9, 20222 Mins Read

    (Resolved) Please install all available updates for your release before upgrading

    2 Mins Read

    How to Install LightDM Display Manager on Ubuntu

    Updated:May 10, 20222 Mins Read

    Change Screen Resolution of An Ubuntu VM in Hyper-V

    Updated:May 2, 20222 Mins Read

    How to Check IPv4 Address on Ubuntu 22.04

    2 Mins Read

    How to Configure Static IP Address on Ubuntu 22.04

    Updated:May 4, 20223 Mins Read

    7 Comments

    1. Peter on May 17, 2019 4:13 am

      Where is the command that adds the new repositories ?
      How is this suppose to work ?

      Explain what is going on rather than a dumb list of commands.

      Reply
    2. xxx on July 18, 2018 5:01 am

      yum -y upgrade

      A simple

      Reply
    3. Justin on August 31, 2016 3:32 am

      How to tie a system to a specific update of Red Hat Enterprise Linux with a temporary setting.

      # yum clean all
      # yum –releasever=6.6 update

      Use the –releasever=X.Y option with yum to override the major.minor release versions, where X is the major release and Y is the minor release. Since it is not persistent, this option would need to be repeated for later executions of yum.

      Reply
    4. WebTechGal on May 14, 2016 6:16 am

      I had an old 6.4 that just won’t update with the regular yum update.

      A simple

      yum clean all
      and then
      yum update

      worked like a charm. Thanks for sharing. 🙂

      Reply
    5. MightyJ on November 3, 2015 4:42 pm

      Can you show me how to perform the update offline?
      My server is CentOS release 6.4 (Final) and it does not have access to the web or other Linux servers?

      Reply
    6. Frederic Dumesle on March 4, 2015 11:52 am

      I have this
      Running rpm_check_debug
      ERROR with rpm_check_debug vs depsolve:
      yum-plugin-fastestmirror is needed by yum-3.2.29-60.el6.centos.noarch
      ** Found 1 pre-existing rpmdb problem(s), ‘yum check’ output follows:
      yum-3.2.29-43.el6.centos.noarch has missing requires of yum-plugin-fastestmirror

      Reply
    7. Tony on July 3, 2014 4:51 pm

      Why not use …

      yum -y upgrade

      it removes obsolete packages.

      Reply

    Leave A Reply Cancel Reply

    Recent Posts
    • How to Enable / disable Firewall in Windows
    • How to Install JAVA on Ubuntu 22.04
    • Switching Display Manager in Ubuntu – GDM, LightDM & SDDM
    • Changing the Login Screen Background in Ubuntu 22.04 & 20.04
    • How To Install PHP (8.1, 7.4 or 5.6) on Ubuntu 22.04
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.