简体   繁体   English

将Azure OpenLogic Centos 6.7升级到CentOS 7.2

[英]upgrade Azure OpenLogic Centos 6.7 to CentOS 7.2

What is the best way to upgrade Azure Openlogic CentOS 6.7 to CentOS7.2 So that it has it is similar to CentOS 7.2 image. 将Azure Openlogic CentOS 6.7升级到CentOS7.2的最佳方法是什么,使其与CentOS 7.2映像相似。 I did sudo yum update but it did not upgrade to the latest version. 我做了sudo yum更新,但是没有升级到最新版本。 Can some provide the steps for upgrading to the latest major version 能否提供升级到最新主版本的步骤

I would suggest deploying a new OS with CentOS 7.2 template and then migrate the data and configuration from the older VM. 我建议使用CentOS 7.2模板部署新的OS,然后从较旧的VM迁移数据和配置。

In-place upgrading is error-prone. 就地升级容易出错。 For now, the official website of the CentOS also doesn't suggest the in-place upgrade from 6 to 7. 目前,CentOS的官方网站也不建议就地从6升级到7。

DO NOT USE this tool. 请勿使用此工具。 Warning: use of this tool is currently BROKEN as several system-critical packages are of a higher version number in CentOS 6.7 than they are in CentOS 7 so those do not get upgraded correctly. 警告:目前该工具的使用已被破坏,因为CentOS 6.7中的几个系统关键软件包的版本号高于CentOS 7中的版本,因此这些软件包不能正确升级。 This renders yum and several other system tools non-functional. 这会使yum和其他一些系统工具无法正常工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM