{"id":466,"date":"2021-12-15T06:07:57","date_gmt":"2021-12-15T06:07:57","guid":{"rendered":"https:\/\/mumbaiwebhosting.co.in\/portal\/?p=466"},"modified":"2022-02-25T02:47:21","modified_gmt":"2022-02-25T02:47:21","slug":"how-to-upgrade-centos-7-x-to-the-centos-7-9","status":"publish","type":"post","link":"https:\/\/mumbaiwebhosting.co.in\/portal\/how-to-upgrade-centos-7-x-to-the-centos-7-9\/","title":{"rendered":"How to Upgrade CentOS 7.x to the CentOS 7.9"},"content":{"rendered":"<p><strong>This article will explain How to Upgrade CentOS 7.x to the CentOS 7.9<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Login into SSH terminal using putty<\/strong><\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-471\" src=\"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-content\/uploads\/2021\/12\/login-putty.png\" alt=\"\" width=\"463\" height=\"444\" srcset=\"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-content\/uploads\/2021\/12\/login-putty.png 463w, https:\/\/mumbaiwebhosting.co.in\/portal\/wp-content\/uploads\/2021\/12\/login-putty-300x288.png 300w\" sizes=\"(max-width: 463px) 100vw, 463px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 1 &#8211; Check the Current Version for CentOS<\/strong><\/p>\n<p><strong>CentOS programs store version information in \/ etc \/ redhat-release and \/ etc \/ centos-release. You just need to check the contents of one of these files.<\/strong><\/p>\n<pre class=\"lang:null decode:true lang:\">#cat \/etc\/centos-release\r\n\r\nCentOS Linux release 7.6.1810 (Core)<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Step 2 &#8211; Save important data<\/strong><\/p>\n<p><strong>Before upgrading centos be sure to back up all your data to a remote location. Below are a few suggestions on how to create a backup copy.<\/strong><\/p>\n<p><strong>Back up all information (MySQL, PostgreSQL, etc)<br \/>\nBack up all configuration files (Apache, PHP, MySQL, DNS and other resources)<br \/>\nBack up all website data running on a web server<br \/>\nSave another service if available in the system<\/strong><\/p>\n<p><strong>Step 3 &#8211; Upgrade to CentOS 7.8<\/strong><\/p>\n<p><strong>The following are the steps to help you upgrade CentOS to the latest release. Use the yum upgrade command to upgrade your current operating system.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang: decode:true\">#yum clean all\r\n#yum update<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>After successfully completing the above command just restart your system.<\/strong><\/p>\n<pre class=\"lang: decode:true\"># reboot<\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Step 4 &#8211; Ensure Improvement<\/strong><\/p>\n<p><strong>Lastly, make sure your system is successfully upgraded. For verification check the contents of the file \/ etc \/ redhat-release.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<pre class=\"lang: decode:true\">cat \/etc\/redhat-release\r\n\r\nCentOS Linux release 7.9.2009 (Core)<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article will explain How to Upgrade CentOS 7.x to the CentOS 7.9 &nbsp; Login into SSH terminal using putty &nbsp; Step 1 &#8211; Check the Current Version for CentOS&#8230; <a class=\"read-more-link\" href=\"https:\/\/mumbaiwebhosting.co.in\/portal\/how-to-upgrade-centos-7-x-to-the-centos-7-9\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-json\/wp\/v2\/posts\/466"}],"collection":[{"href":"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-json\/wp\/v2\/comments?post=466"}],"version-history":[{"count":8,"href":"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-json\/wp\/v2\/posts\/466\/revisions"}],"predecessor-version":[{"id":477,"href":"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-json\/wp\/v2\/posts\/466\/revisions\/477"}],"wp:attachment":[{"href":"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-json\/wp\/v2\/media?parent=466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-json\/wp\/v2\/categories?post=466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mumbaiwebhosting.co.in\/portal\/wp-json\/wp\/v2\/tags?post=466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}