{"id":7910,"date":"2021-12-20T07:07:00","date_gmt":"2021-12-19T23:07:00","guid":{"rendered":"https:\/\/www.ldhost.cn\/jc\/?p=7910"},"modified":"2021-11-25T14:12:48","modified_gmt":"2021-11-25T06:12:48","slug":"almalinux-%e6%96%b0%e5%8a%9f%e8%83%bd-elevate%e5%b0%86%e6%9c%8d%e5%8a%a1%e5%99%a8centos-7-x%e7%b3%bb%e7%bb%9f%e8%bf%81%e7%a7%bb%e5%88%b0-almalinux-8-x","status":"publish","type":"post","link":"https:\/\/www.ldhost.cn\/jc\/weberror\/7910.html","title":{"rendered":"AlmaLinux \u65b0\u529f\u80fd ELevate\u5c06\u670d\u52a1\u5668CentOS 7.x\u7cfb\u7edf\u8fc1\u79fb\u5230 AlmaLinux 8.x"},"content":{"rendered":"\n<p>AlmaLinux \u4eca\u5929\u5ba3\u5e03\u63a8\u51fa\u4ed6\u4eec\u7684\u65b0\u529f\u80fd ELevate\uff0c\u5b83\u5141\u8bb8\u60a8\u5728\u57fa\u4e8e RHEL \u7684\u53d1\u884c\u7248\u7684\u4e3b\u8981\u7248\u672c\u4e4b\u95f4\u4ece 7.x \u8fc1\u79fb\u5230 8.x\u3002\u8fd9\u4ee5\u524d\u5728 CentOS \u4e0b\u662f\u4e0d\u53ef\u80fd\u7684\uff0c\u5e76\u4e14\u5728 CentOS 6.x \u751f\u547d\u5468\u671f\u7ed3\u675f\u65f6\u51fa\u73b0\uff0c\u5e76\u4e14\u5728 2024 \u5e74\u5c06\u5728 CentOS 7.x \u751f\u547d\u5468\u671f\u7ed3\u675f\u65f6\u518d\u6b21\u51fa\u73b0\u3002\u5728 ELevate \u4e4b\u524d\uff0c\u8fc1\u79fb\u5230\u57fa\u4e8e RHEL \u7684\u6700\u65b0\u7248\u672c\u7684\u53d1\u884c\u7248\u7684\u552f\u4e00\u65b9\u6cd5\u662f\u90e8\u7f72\u5177\u6709\u6240\u9700\u7248\u672c\u7684\u65b0\u670d\u52a1\u5668\uff0c\u7136\u540e\u914d\u7f6e\u6240\u6709\u5185\u5bb9\u5e76\u5c06\u5176\u8fc1\u79fb\u5230\u65b0\u670d\u52a1\u5668\u3002<\/p>\n\n\n\n<p>AlmaLinux ELevate \u5982\u4f55\u5b9e\u73b0\u8fd9\u4e00\u58ee\u4e3e\u662f\u901a\u8fc7\u5229\u7528\u7ea2\u5e3d\u7684 Leapp \u6846\u67b6\u4ee5\u53ca\u793e\u533a\u521b\u5efa\u7684\u5e93\u548c\u670d\u52a1\u6765\u5b9e\u73b0\u5b83\u6240\u9700\u7684\u8fc1\u79fb\u96c6\u3002ELevate \u4f9d\u8d56\u4e8e\u5305\u6f14\u5316\u670d\u52a1 (PES)\uff0c\u5b83\u5141\u8bb8\u60a8\u4e0b\u8f7d\u3001\u81ea\u5b9a\u4e49\u548c\u63d0\u4ea4\u5305\u7684\u65b0\u6570\u636e\u96c6\u3002\u8fd9\u5c06\u4f7f\u7ef4\u62a4\u4eba\u5458\u548c\u7528\u6237\u90fd\u80fd\u591f\u987a\u5229\u548c\u8f7b\u677e\u5730\u8fdb\u884c\u8fc1\u79fb\u3002ELevate \u76ee\u524d\u6b63\u5728\u5f00\u53d1\u4e2d\uff0c\u5efa\u8bae\u60a8\u5728\u5c1d\u8bd5\u4e4b\u524d\u6d4b\u8bd5\u60a8\u7684\u8fc1\u79fb\u65b9\u6848\u3002\u8bdd\u867d\u5982\u6b64\uff0c\u8ba9\u6211\u4eec\u5feb\u901f\u6d4f\u89c8\u4e00\u4e0b\u5c06\u5e93\u5b58 CentOS 7.x\u00a0\u4e91\u8ba1\u7b97\u8fc1\u79fb\u5230 AlmaLinux 8.x<\/p>\n\n\n\n<p>\u5347\u7ea7\u8fc7\u7a0b\u7684\u7b2c\u4e00\u6b65\u662f\u786e\u4fdd\u6211\u4eec\u6709\u4e00\u4e2a\u5b8c\u5168\u5347\u7ea7\u7684\u7cfb\u7edf\uff0c\u76ee\u524d\u62e5\u6709\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@el7conversion ~]# uname -rv\n3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021\n&#91;root@el7conversion ~]# cat \/etc\/redhat-release \nCentOS Linux release 7.9.2009 (Core)\n&#91;root@el7conversion ~]# <\/code><\/pre>\n\n\n\n<p>\u73b0\u5728\u662f\u65f6\u5019\u4f7f\u7528\u9879\u76ee\u5b58\u50a8\u5e93\u548c GPG \u5bc6\u94a5\u5b89\u88c5 elevate-release \u5305\u4e86\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yum install -y http:\/\/repo.almalinux.org\/elevate\/elevate-release-latest-el7.noarch.rpm<\/code><\/pre>\n\n\n\n<p>\u4e0b\u4e00\u6b65\u662f\u5b89\u88c5\u6240\u9700\u7684\u5305\uff0c\u5728\u6211\u4eec\u7684\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u5e0c\u671b\u5347\u7ea7\u5230 AlmaLinux 8.x\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yum install -y leapp-upgrade leapp-data-almalinux<\/code><\/pre>\n\n\n\n<p>\u7136\u540e\u6211\u4eec\u4ece\u8fd9\u91cc\u5f00\u59cb\u8fdb\u884c\u5347\u7ea7\u524d\u68c0\u67e5\uff0c\u770b\u770b\u6211\u4eec\u662f\u5426\u6ee1\u8db3\u6267\u884c\u5347\u7ea7\u7684\u6700\u4f4e\u8981\u6c42\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>leapp preupgrade<\/code><\/pre>\n\n\n\n<p>\u5b8c\u6210\u540e\uff0c\u6211\u88ab\u544a\u77e5\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>============================================================\n                     UPGRADE INHIBITED                      \n============================================================\n\nUpgrade has been inhibited due to the following problems:\n    1. Inhibitor: Possible problems with remote login using root account\n    2. Inhibitor: Detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed.\n    3. Inhibitor: Missing required answers in the answer file\nConsult the pre-upgrade report for details and possible remediation.\n\n============================================================\n                     UPGRADE INHIBITED                      \n============================================================\n\n\nDebug output written to \/var\/log\/leapp\/leapp-preupgrade.log\n\n============================================================\n                           REPORT                           \n============================================================\n\nA report has been generated at \/var\/log\/leapp\/leapp-report.json\nA report has been generated at \/var\/log\/leapp\/leapp-report.txt\n\n============================================================\n                       END OF REPORT                        \n============================================================\n\nAnswerfile has been generated at \/var\/log\/leapp\/answerfile<\/code><\/pre>\n\n\n\n<p>\u4e0d\u5e78\u7684\u662f\uff0c\u57fa\u7840\u7cfb\u7edf\u4e0d\u517c\u5bb9\uff0c\u9700\u8981\u51e0\u4e2a\u6b65\u9aa4\u624d\u80fd\u7ee7\u7eed\u5347\u7ea7\u3002\u8fd9\u53ef\u4ee5\u5728 \/var\/log\/leapp\/leapp-report.txt \u4e2d\u68c0\u67e5\uff0c\u5728\u6211\u4eec\u7684\u4f8b\u5b50\u4e2d\u5b83\u5305\u542b\u4ee5\u4e0b\u9879\u76ee\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Risk Factor: high (inhibitor)\nTitle: Possible problems with remote login using root account\nSummary: OpenSSH configuration file does not explicitly state the option PermitRootLogin in sshd_config file, which will default in RHEL8 to \"prohibit-password\".\nRemediation: &#91;hint] If you depend on remote root logins using passwords, consider setting up a different user for remote administration or adding \"PermitRootLogin yes\" to sshd_config.\nKey: 3d21e8cc9e1c09dc60429de7716165787e99515f<\/code><\/pre>\n\n\n\n<p>\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u6765\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo PermitRootLogin yes | sudo tee -a \/etc\/ssh\/sshd_config\n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>Risk Factor: high (inhibitor)\nTitle: Detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed.\nSummary: Support for the following RHEL 7 device drivers has been removed in RHEL 8: \n     - floppy\n     - pata_acpi\nPlease see https:\/\/access.redhat.com\/documentation\/en-us\/red_hat_enterprise_linux\/8\/html-single\/considerations_in_adopting_rhel_8\/index#removed-device-drivers_hardware-enablement for details.\nRemediation: &#91;hint] Please disable detected kernel drivers in order to proceed with the upgrade process using the rmmod or modprobe -r.\nKey: b6fd580136aaf67fa42d68fb75b27f6e13f47c2d<\/code><\/pre>\n\n\n\n<p>\u6211\u4eec\u6709\u4e24\u4e2a\u4e0d\u517c\u5bb9\u7684\u9a71\u52a8\u7a0b\u5e8f\uff0c\u5728\u6211\u4eec\u7684\u8ba1\u7b97\u673a\u4e0a\u6211\u4eec\u4e0d\u9700\u8981\u5b83\u4eec\uff0c\u56e0\u6b64\u6211\u4eec\u53ef\u4ee5\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rmmod floppy\nrmmod pata_acpi<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>Risk Factor: high (inhibitor)\nTitle: Missing required answers in the answer file\nSummary: One or more sections in answerfile are missing user choices: remove_pam_pkcs11_module_check.confirm\nFor more information consult https:\/\/leapp.readthedocs.io\/en\/latest\/dialogs.html\nRemediation: &#91;hint] Please register user choices with leapp answer cli command or by manually editing the answerfile.\n&#91;command] leapp answer --section remove_pam_pkcs11_module_check.confirm=True\nKey: d35f6c6b1b1fa6924ef442e3670d90fa92f0d54b<\/code><\/pre>\n\n\n\n<p>\u8fd9\u9700\u8981\u4e00\u4e2a\u6211\u4eec\u53ef\u4ee5\u63a5\u53d7\u7684\u8df3\u8dc3\u7b54\u6848\uff0c\u56e0\u6b64\u6211\u4eec\u53ef\u4ee5\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>leapp answer --section remove_pam_pkcs11_module_check.confirm=True<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>Risk Factor: high\nTitle: Packages from unknown repositories may not be installed\nSummary: 1 packages may not be installed or upgraded due to repositories unknown to leapp:\n- kernel-uek (repoid: ol8-uek)\nRemediation: &#91;hint] Please file a bug in http:\/\/bugzilla.redhat.com\/ for leapp-repository component of the Red Hat Enterprise Linux product.\nKey: 9a2b05abf8f45fd7915e52542887bb334bb218ea<\/code><\/pre>\n\n\n\n<p>\u5728\u6211\u4eec\u7684\u6848\u4f8b\u4e2d\uff0c\u867d\u7136\u8bc4\u7ea7\u5f88\u9ad8\uff0c\u4f46\u5bf9\u6211\u4eec\u7684\u5347\u7ea7\u6ca1\u6709\u5f71\u54cd\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Risk Factor: high\nTitle: Difference in Python versions and support in RHEL 8\nSummary: In RHEL 8, there is no 'python' command. Python 3 (backward incompatible) is the primary Python version and Python 2 is available with limited support and limited set of packages. Read more here: https:\/\/access.redhat.com\/documentation\/en-us\/red_hat_enterprise_linux\/8\/html-single\/configuring_basic_system_settings\/#using-python3\nRemediation: &#91;hint] Please run \"alternatives --set python \/usr\/bin\/python3\" after upgrade\nKey: 0c98585b1d8d252eb540bf61560094f3495351f5<\/code><\/pre>\n\n\n\n<p>\u6211\u4eec\u53ef\u4ee5\u653e\u5fc3\u5730\u5ffd\u7565\u5b83\uff0c\u56e0\u4e3a\u5b83\u662f\u4e00\u4e2a\u57fa\u7840\u955c\u50cf\uff0c\u800c\u4e14\u6211\u4eec\u81ea\u5df1\u6ca1\u6709\u4f7f\u7528 Python 2 \u6216 Python 3\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Risk Factor: high\nTitle: Leapp could not identify where GRUB core is located\nSummary: We assume GRUB core is located on the same device as \/boot. Leapp needs to update GRUB core as it is not done automatically on legacy (BIOS) systems. \nRemediation: &#91;hint] Please run \"grub2-install &lt;GRUB_DEVICE&gt; command manually after upgrade<\/code><\/pre>\n\n\n\n<p>\u5347\u7ea7\u5b8c\u6210\u540e\uff0c\u6211\u4eec\u5c06\u6309\u7167 grub2-install \u8bf4\u660e\u8fdb\u884c\u64cd\u4f5c\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Title: Packages not signed by Red Hat found on the system\nSummary: The following packages have not been signed by Red Hat and may be removed during the upgrade process in case Red Hat-signed packages to be removed during the upgrade depend on them:\n- elevate-release\n- gpg-pubkey\n- leapp\n- leapp-data-almalinux\n- leapp-deps\n- leapp-upgrade-el7toel8\n- leapp-upgrade-el7toel8-deps\n- python2-leapp\nKey: 13f0791ae5f19f50e7d0d606fb6501f91b1efb2c<\/code><\/pre>\n\n\n\n<p>\u5728\u6211\u4eec\u7684\u4f8b\u5b50\u4e2d\uff0c\u8fd9\u53ef\u4ee5\u88ab\u5ffd\u7565\uff0c\u56e0\u4e3a\u8fd9\u4e9b\u662f\u4e0e\u8df3\u8dc3\u76f8\u5173\u7684\u5305\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Risk Factor: medium\nTitle: chrony using default configuration\nSummary: default chrony configuration in RHEL8 uses leapsectz directive, which cannot be used with leap smearing NTP servers, and uses a single pool directive instead of four server directives\nKey: c4222ebd18730a76f6bc7b3b66df898b106e6554<\/code><\/pre>\n\n\n\n<p>\u8fd9\u7eaf\u7cb9\u662f\u63d0\u4f9b\u4fe1\u606f\uff0c\u5728\u6211\u4eec\u7684\u4f8b\u5b50\u4e2d\u53ef\u4ee5\u5b89\u5168\u5730\u5ffd\u7565\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Risk Factor: low\nTitle: Grep has incompatible changes in the next major version\nSummary: If a file contains data improperly encoded for the current locale, and this is discovered before any of the file's contents are output, grep now treats the file as binary.\nThe 'grep -P' no longer reports an error and exits when given invalid UTF-8 data. Instead, it considers the data to be non-matching.\nIn locales with multibyte character encodings other than UTF-8, grep -P now reports an error and exits instead of misbehaving.\nWhen searching binary data, grep now may treat non-text bytes as line terminators. This can boost performance significantly.\nThe 'grep -z' no longer automatically treats the byte '\\200' as binary data.\nContext no longer excludes selected lines omitted because of -m. For example, 'grep \"^\" -m1 -A1' now outputs the first two input lines, not just the first line.\n\nRemediation: &#91;hint] Please update your scripts to be compatible with the changes.\nKey: 94665a499e2eeee35eca3e7093a7abe183384b16<\/code><\/pre>\n\n\n\n<p>\u53e6\u4e00\u4e2a\u9700\u8981\u4e86\u89e3\u7684\u597d\u4fe1\u606f\u7684\u60c5\u51b5\uff0c\u4f46\u5982\u679c\u6211\u4eec\u5728\u670d\u52a1\u5668\u4e0a\u6709\u4f7f\u7528 grep \u7684\u811a\u672c\uff0c\u8fd9\u4f1a\u66f4\u91cd\u8981\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Risk Factor: low\nTitle: Postfix has incompatible changes in the next major version\nSummary: Postfix 3.x has so called \"compatibility safety net\" that runs Postfix programs with backwards-compatible default settings. It will log a warning whenever backwards-compatible default setting may be required for continuity of service. Based on this logging the system administrator can decide if any backwards-compatible settings need to be made permanent in main.cf or master.cf, before turning off the backwards-compatibility safety net.\nThe backward compatibility safety net is by default turned off in Red Hat Enterprise Linux 8.\nIt can be turned on by running:  \"postconf -e compatibility_level=0\nIt can be turned off by running: \"postconf -e compatibility_level=2\n\nIn the Postfix MySQL database client, the default \"option_group\" value has changed to \"client\", i.e. it now reads options from the &#91;client] group from the MySQL configuration file. To disable it, set \"option_group\" to the empty string.\n\nThe postqueue command no longer forces all message arrival times to be reported in UTC. To get the old behavior, set TZ=UTC in main.cf:import_environment.\n\nPostfix 3.2 enables elliptic curve negotiation. This changes the default smtpd_tls_eecdh_grade setting to \"auto\", and introduces a new parameter \"tls_eecdh_auto_curves\" with the names of curves that may be negotiated.\n\nThe \"master.cf\" chroot default value has changed from \"y\" (yes) to \"n\" (no). This applies to master.cf services where chroot field is not explicitly specified.\n\nThe \"append_dot_mydomain\" default value has changed from \"yes\" to \"no\". You may need changing it to \"yes\" if senders cannot use complete domain names in e-mail addresses.\n\nThe \"relay_domains\" default value has changed from \"$mydestination\" to the empty value. This could result in unexpected \"Relay access denied\" errors or ETRN errors, because now will postfix by default relay only for the localhost.\n\nThe \"mynetworks_style\" default value has changed from \"subnet\" to \"host\". This parameter is used to implement the \"permit_mynetworks\" feature. The change could result in unexpected \"access denied\" errors, because postfix will now by default trust only the local machine, not the remote SMTP clients on the same IP subnetwork.\n\nPostfix now supports dynamically loaded database plugins. Plugins are shipped in individual RPM sub-packages. Correct database plugins have to be installed, otherwise the specific database client will not work. For example for PostgreSQL map to work, the postfix-pgsql RPM package has to be installed.\n\nKey: 5721e0a07a67d82cf7e5ea6f17662cd4f82e0a33<\/code><\/pre>\n\n\n\n<p>\u5728\u6211\u4eec\u7684\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u5ffd\u7565\u8fd9\u4e00\u70b9\uff0c\u56e0\u4e3a\u6211\u4eec\u6709\u4e00\u4e2a\u5e93\u5b58\u7684 CentOS 7.x \u670d\u52a1\u5668\uff0c\u4e0d\u9700\u8981\u62c5\u5fc3\u8fd9\u4e2a\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Risk Factor: info\nTitle: SElinux disabled\nSummary: SElinux disabled, continuing...\nKey: 4f25fea9b15b9d1d07d52cc1de02073f295dac3<\/code><\/pre>\n\n\n\n<p>\u53e6\u4e00\u4e2a\u7eaf\u7cb9\u7684\u4fe1\u606f\u6027\u6d88\u606f\u8ba9\u6211\u4eec\u77e5\u9053\u6211\u4eec\u5df2\u7ecf\u7981\u7528\u4e86 SElinux\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Risk Factor: info\nTitle: Current PAM and nsswitch.conf configuration will be kept.\nSummary: There is a new tool called authselect in RHEL8 that replaced authconfig. The upgrade process was unable to find an authselect profile that would be equivalent to your current configuration. Therefore your configuration will be left intact.\nKey: 40c4ab1da4a30dc1ca40e543f6385e1336d8810c<\/code><\/pre>\n\n\n\n<p>\u8fd9\u662f\u53e6\u4e00\u4e2a\u9700\u8981\u4e86\u89e3\u7684\u6709\u7528\u4fe1\u606f\u7684\u6848\u4f8b\uff0c\u4f46\u6211\u4eec\u53ef\u4ee5\u5ffd\u7565\u6211\u4eec\u7684\u6848\u4f8b\u3002\u81f3\u6b64\uff0c\u6211\u4eec\u7ec8\u4e8e\u5b8c\u6210\u4e86\u6240\u6709\u5de5\u4f5c\uff0c\u73b0\u5728\u662f\u8fd0\u884c\u5b9e\u9645\u5347\u7ea7\u7684\u65f6\u5019\u4e86\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>leapp upgrade<\/code><\/pre>\n\n\n\n<p>\u5728\u6211\u4eec\u7684\u4f8b\u5b50\u4e2d\uff0c\u6839\u636e\u8b66\u544a\uff0c\u6211\u4eec\u9700\u8981\u5728\u91cd\u65b0\u542f\u52a8\u4e4b\u524d\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>grub2-mkconfig -o \/boot\/grub2\/grub.cfg<\/code><\/pre>\n\n\n\n<p>\u6211\u4eec\u73b0\u5728\u53ef\u4ee5\u6267\u884c\u91cd\u65b0\u542f\u52a8\u5e76\u4f7f\u7528\u6211\u4eec\u5ba2\u6237\u533a\u4e2d\u53ef\u7528\u7684\u63a7\u5236\u53f0\uff0c\u6211\u4eec\u53ef\u4ee5\u89c2\u5bdf\u5347\u7ea7\u8fc7\u7a0b\u3002\u5c31\u6211\u800c\u8a00\uff0c\u6211\u4eec\u9700\u8981\u5c06\u5185\u6838\u5207\u6362\u5230 Leap \u521b\u5efa\u7684\u5347\u7ea7\u7248\u672c\u3002\u542f\u52a8\u540e\uff0c\u5347\u7ea7\u8fc7\u7a0b\u5f00\u59cb\uff0c\u5b8c\u6210\u540e\u670d\u52a1\u5668\u91cd\u65b0\u542f\u52a8\u3002\u518d\u6b21\u767b\u5f55\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u786e\u8ba4\u5b83\u73b0\u5728\u6b63\u5728\u4f7f\u7528 AlmaLinux 8\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@el7conversion ~]# uname -rv\n4.18.0-305.19.1.el8_4.x86_64 #1 SMP Wed Sep 15 11:28:53 EDT 2021\n&#91;root@el7conversion ~]# cat \/etc\/redhat-release \nAlmaLinux release 8.4 (Electric Cheetah)<\/code><\/pre>\n\n\n\n<p>\u5728\u6211\u4eec\u7684\u4f8b\u5b50\u4e2d\uff0c\u5b83\u8fd0\u884c\u5f97\u5f88\u597d\uff0c\u4f46\u6211\u4eec\u6b63\u5728\u4ece\u57fa\u672c\u7684<a href=\"https:\/\/www.ldhost.cn\/vps.html\" target=\"_blank\" rel=\"noreferrer noopener\">\u670d\u52a1\u5668<\/a>CentOS 7.x \u5347\u7ea7\u5230\u57fa\u672c\u7684 AlmaLinux 8.x \u5b89\u88c5\u3002\u8fd9\u5728\u6211\u4eec\u7684\u6848\u4f8b\u4e2d\u662f\u4e0d\u5fc5\u8981\u7684\uff0c\u56e0\u4e3a\u6211\u4eec\u5df2\u7ecf\u63d0\u4f9b\u4e86AlmaLinux 8 \u64cd\u4f5c\u7cfb\u7edf\u6620\u50cf\u3002\u4f46\u662f\uff0c\u5982\u679c\u60a8\u5e0c\u671b\u4ece CentOS 7.x \u8fc1\u79fb\u5230 AlmaLinux 8\uff0c\u8fd9\u5bf9\u60a8\u6765\u8bf4\u7edd\u5bf9\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002\u6839\u636e\u4ed6\u4eec\u7684\u5efa\u8bae\uff0c\u8bf7\u52a1\u5fc5\u5728\u5347\u7ea7\u524d\u8fdb\u884c\u6d4b\u8bd5\uff0c\u5e76\u5728\u5347\u7ea7\u8fc7\u7a0b\u5bf9\u60a8\u4e0d\u8d77\u4f5c\u7528\u65f6\u8fdb\u884c\u5907\u4efd\u3002<\/p>\n<div><img decoding=\"async\" src=\"https:\/\/www.ldhost.cn\/images\/ad-845-3.png\" alt=\"\u56fe\u7247\u63cf\u8ff0\" \/><\/div>","protected":false},"excerpt":{"rendered":"<p>AlmaLinux \u4eca\u5929\u5ba3\u5e03\u63a8\u51fa\u4ed6\u4eec\u7684\u65b0\u529f\u80fd ELevate\uff0c\u5b83\u5141\u8bb8\u60a8\u5728\u57fa\u4e8e RHEL \u7684\u53d1\u884c\u7248\u7684\u4e3b\u8981\u7248\u672c\u4e4b\u95f4\u4ece 7.x \u8fc1\u79fb\u5230 8.x\u3002\u8fd9\u4ee5\u524d\u5728 CentOS \u4e0b\u662f\u4e0d\u53ef\u80fd\u7684\uff0c\u5e76\u4e14\u5728 CentOS 6.x \u751f\u547d\u5468\u671f\u7ed3\u675f\u65f6\u51fa\u73b0\uff0c\u5e76\u4e14\u5728 2024 \u5e74\u5c06\u5728 CentOS 7.x \u751f\u547d\u5468\u671f\u7ed3\u675f\u65f6\u518d\u6b21\u51fa\u73b0\u3002\u5728 ELevate \u4e4b\u524d\uff0c\u8fc1\u79fb\u5230\u57fa\u4e8e RHEL \u7684\u6700\u65b0\u7248\u672c\u7684\u53d1\u884c\u7248\u7684\u552f\u4e00\u65b9\u6cd5\u662f\u90e8\u7f72\u5177\u6709\u6240\u9700\u7248\u672c\u7684\u65b0\u670d\u52a1\u5668\uff0c\u7136\u540e\u914d\u7f6e\u6240\u6709\u5185\u5bb9\u5e76\u5c06\u5176\u8fc1\u79fb\u5230\u65b0\u670d\u52a1\u5668\u3002 AlmaLinux ELevate \u5982\u4f55\u5b9e\u73b0\u8fd9\u4e00\u58ee\u4e3e\u662f\u901a\u8fc7\u5229\u7528\u7ea2\u5e3d\u7684 Leapp \u6846\u67b6\u4ee5\u53ca\u793e\u533a\u521b\u5efa\u7684\u5e93\u548c\u670d\u52a1\u6765\u5b9e\u73b0\u5b83\u6240\u9700\u7684\u8fc1\u79fb\u96c6\u3002ELevate \u4f9d\u8d56\u4e8e\u5305\u6f14&#8230; <a href=\"https:\/\/www.ldhost.cn\/jc\/weberror\/7910.html\" class=\"readmore\">\u9605\u8bfb\u5168\u6587<span class=\"screen-reader-text\">AlmaLinux \u65b0\u529f\u80fd ELevate\u5c06\u670d\u52a1\u5668CentOS 7.x\u7cfb\u7edf\u8fc1\u79fb\u5230 AlmaLinux 8.x<\/span><span class=\"fa fa-angle-double-right\" aria-hidden=\"true\"><\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"class_list":["post-7910","post","type-post","status-publish","format-standard","hentry","category-weberror","content-layout-excerpt-thumb"],"_links":{"self":[{"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/posts\/7910","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/comments?post=7910"}],"version-history":[{"count":1,"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/posts\/7910\/revisions"}],"predecessor-version":[{"id":7911,"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/posts\/7910\/revisions\/7911"}],"wp:attachment":[{"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/media?parent=7910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/categories?post=7910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ldhost.cn\/jc\/wp-json\/wp\/v2\/tags?post=7910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}