{"id":143,"date":"2023-09-20T13:54:56","date_gmt":"2023-09-20T05:54:56","guid":{"rendered":"https:\/\/www.techvc.net\/?p=143"},"modified":"2023-10-02T23:51:02","modified_gmt":"2023-10-02T15:51:02","slug":"centos7-6%e5%8d%87%e7%ba%a7%e5%88%b0rocky8-8","status":"publish","type":"post","link":"https:\/\/www.techvc.net\/index.php\/2023\/09\/20\/centos7-6%e5%8d%87%e7%ba%a7%e5%88%b0rocky8-8\/","title":{"rendered":"Linux\u7cfb\u5217\uff08\u4e8c\uff09\uff1acentos7.6\u5347\u7ea7\u5230rocky8.8"},"content":{"rendered":"\n<p>\u6709\u4e9b\u4e91\u8d2d\u4e70\u670d\u52a1\u5668\u7684\u65f6\u5019\uff0c\u6ca1\u6709rocky\u955c\u50cf\u3002\u6bd4\u5982\uff1a\u8f7b\u91cf\u670d\u52a1\u5668\u3002\u8fd9\u4e2a\u65f6\u5019\u9700\u8981\u5148\u8d2d\u4e70centOS7.6\u5347\u7ea7\u5230centOS7.9\uff0c\u7136\u540e\u5347\u7ea7\u5230rocky8.8\u3002<\/p>\n\n\n\n<p>\u4f46\u4e00\u822c\u90fd\u662f\u4e70\u4e00\u6b65\u5230\u4f4d\u7684rocky\uff0c\u5f88\u5c11\u4e70centOS\u5347\u7ea7\u5230rocky\uff0c\u505a\u4e2a\u5e95\u5c42\u4e86\u89e3\u6e38\u620f\u4e00\u4e0b\u3002<\/p>\n\n\n\n<p>\u521d\u59cb\u5b89\u88c5\u955c\u50cf\u4e3aCentOS7.6 64\u4f4d\u7248\u672c<\/p>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code># \u67e5\u770b\u5f53\u524d\u7248\u672c\u4fe1\u606f \u57fa\u7840\u7248\u672c\u4e3aCentOS7.6 64\u4f4d\u7248\u672c\nuname -r\n3.10.0-1160.88.1.el7.x86_64\n\nuname -a\nLinux VM-0-11-centos 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64 x86_64 x86_64 GNU\/Linux\n\ncat \/proc\/version\nLinux version 3.10.0-1160.88.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Mar 7 15:41:52 UTC 2023<\/code><\/pre>\n\n\n\n<p>\u5b89\u88c5epel\u4ed3\u5e93<\/p>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code>yum -y install epel-release\n\u5df2\u5b89\u88c5:\nepel-release.noarch 0:7-14<\/code><\/pre>\n\n\n\n<p>\u5347\u7ea7\u5230CentOS7.6\u6700\u65b0\u7248\u672ccentOS7.9\uff0c\u5e76\u4e14\u91cd\u542f\uff0c\u91cd\u542f\u540e\u5373\u8fd0\u884ccentOS7.9<\/p>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code>#\u5347\u7ea7\u5230CentOS\u6700\u65b0\u7248\u672c\nyum -y update \n# \u5347\u7ea7\u6210\u529f\u540e\u91cd\u542f\u670d\u52a1\u5668\nreboot<\/code><\/pre>\n\n\n\n<p>\u5b89\u88c5\u4f9d\u8d56<\/p>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code># \u5b89\u88c5rpmconf\u548cyum-utils\nyum -y install rpmconf yum-utils\n\n# \u6267\u884crpmconf\uff0c\u8f93\u5165Y\u548c\u56de\u8f66\u7ee7\u7eed,\u6211\u8fd9\u8fb9\u662f\u6309\u4e862\u6b21\u5373\u53ef\nrpmconf -a\n\n# \u5b89\u88c5dnf\uff0cDNF\u662fyum\u4e0b\u4e00\u4ee3\u7684\u5305\u4f9d\u8d56\u7ba1\u7406\nyum -y install dnf\n\n# \u79fb\u9664yum\u548cyum-metadata-parser\ndnf -y remove yum yum-metadata-parser<\/code><\/pre>\n\n\n\n<p>\u5b89\u88c5RockyLinux8.8\u7684\u6e90\u548c\u5347\u7ea7epel\u6e90<\/p>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code># \u5220\u9664CentOS7\u7684\u6e90\nrpm -e --nodeps `rpm -qa|grep centos-`\n\n# \u5b89\u88c5RockyLinux8.8\u7684\u6e90\nrpm -ivh --nodeps --force https:\/\/mirrors.aliyun.com\/rockylinux\/8\/BaseOS\/x86_64\/os\/Packages\/r\/rocky-release-8.8-1.8.el8.noarch.rpm\nrpm -ivh --nodeps  --force https:\/\/mirrors.aliyun.com\/rockylinux\/8\/BaseOS\/x86_64\/os\/Packages\/r\/rocky-repos-8.8-1.8.el8.noarch.rpm\nrpm -ivh --nodeps --force https:\/\/mirrors.aliyun.com\/rockylinux\/8\/BaseOS\/x86_64\/os\/Packages\/r\/rocky-gpg-keys-8.8-1.8.el8.noarch.rpm\n\n\n# \u5347\u7ea7epel\u6e90\ndnf -y upgrade https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-8.noarch.rpm\ndnf clean all<\/code><\/pre>\n\n\n\n<p>\u5378\u8f7dcentos7\u7684\u5185\u6838<\/p>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code>rpm -e --nodeps `rpm -qa|grep -i kernel`<\/code><\/pre>\n\n\n\n<p>\u4fee\u6539python2\u7f16\u7801<\/p>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code># \u4fee\u6539python2\u7f16\u7801\nvi \/usr\/lib\/python2.7\/site-packages\/sitecustomize.py\n\n#\u628a\u4e0b\u9762\u8fd9\u6bb5\u4ee3\u7801\u52a0\u5165\u6587\u4ef6\u91cc\u9762\n\nimport sys\nreload(sys)\nsys.setdefaultencoding('utf8')<\/code><\/pre>\n\n\n\n<p>\u5347\u7ea7\u5230RockyLinux8\uff0c\u8fd9\u4e00\u6b65\u4e00\u822c\u4f1a\u62a5\u9519<\/p>\n\n\n\n<p>\u7b2c\u4e00\u6b21\u5347\u7ea7\u62a5\u9519\uff1a\u8fd0\u884c\u4e8b\u52a1\u68c0\u67e5<\/p>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code>dnf -y --releasever=8 --allowerasing --setopt=deltarpm=false distro-sync\n\n\u8fd0\u884c\u4e8b\u52a1\u68c0\u67e5\n\u9519\u8bef\uff1a\u4e8b\u52a1\u68c0\u67e5\u4e0e\u4f9d\u8d56\u89e3\u51b3\u9519\u8bef\uff1a\n(gcc &gt;= 8 with gcc &lt; 9) \u88ab annobin-10.94-1.el8.x86_64 \u9700\u8981\nrpmlib(RichDependencies) &lt;= 4.12.0-1 \u88ab annobin-10.94-1.el8.x86_64 \u9700\u8981\n(NetworkManager &gt;= 1.20 or dhclient) \u88ab dracut-network-049-223.git20230119.el8.x86_64 \u9700\u8981\nrpmlib(RichDependencies) &lt;= 4.12.0-1 \u88ab dracut-network-049-223.git20230119.el8.x86_64 \u9700\u8981\n(annobin if gcc) \u88ab redhat-rpm-config-131-1.el8.noarch \u9700\u8981\n(gcc-plugin-annobin if gcc) \u88ab redhat-rpm-config-131-1.el8.noarch \u9700\u8981\nrpmlib(RichDependencies) &lt;= 4.12.0-1 \u88ab redhat-rpm-config-131-1.el8.noarch \u9700\u8981\n\u8981\u8bca\u65ad\u95ee\u9898\uff0c\u5c1d\u8bd5\u8fd0\u884c\uff1a'rpm -Va --nofiles --nodigest' \u3002\nRPM \u6570\u636e\u5e93\u53ef\u80fd\u51fa\u9519\uff0c\u8bf7\u5c1d\u8bd5\u8fd0\u884c'rpm --rebuilddb'\u8fdb\u884c\u6062\u590d\u3002\n\u4e0b\u8f7d\u7684\u8f6f\u4ef6\u5305\u4fdd\u5b58\u5728\u7f13\u5b58\u4e2d\uff0c\u76f4\u5230\u4e0b\u6b21\u6210\u529f\u6267\u884c\u4e8b\u52a1\u3002\n\u60a8\u53ef\u4ee5\u901a\u8fc7\u6267\u884c 'dnf clean packages' \u5220\u9664\u8f6f\u4ef6\u5305\u7f13\u5b58\u3002\n\n\u89e3\u51b3\u529e\u6cd5\uff1a\u624b\u52a8\u5b89\u88c5\u4f9d\u8d56\u5305\nfind \/var\/cache\/dnf\/ -name *annobin*\n\/var\/cache\/dnf\/appstream-62ae9a0bbea44fbe\/packages\/annobin-10.94-1.el8.x86_64.rpm\nrpm -ivh --nodeps --force  \/var\/cache\/dnf\/appstream-62ae9a0bbea44fbe\/packages\/annobin-10.94-1.el8.x86_64.rpm \n\nfind \/var\/cache\/dnf\/ -name *dracut-network*\n\/var\/cache\/dnf\/baseos-3e608afeebc9a90b\/packages\/dracut-network-049-223.git20230119.el8.x86_64.rpm\nrpm -ivh --nodeps --force  \/var\/cache\/dnf\/baseos-3e608afeebc9a90b\/packages\/dracut-network-049-223.git20230119.el8.x86_64.rpm\n\nfind \/var\/cache\/dnf\/ -name *redhat-rpm-config*\n\/var\/cache\/dnf\/appstream-62ae9a0bbea44fbe\/packages\/redhat-rpm-config-131-1.el8.noarch.rpm\nrpm -ivh --nodeps --force  \/var\/cache\/dnf\/appstream-62ae9a0bbea44fbe\/packages\/redhat-rpm-config-131-1.el8.noarch.rpm<\/code><\/pre>\n\n\n\n<p>\u7b2c\u4e8c\u6b21\u5347\u7ea7\u62a5\u9519\uff1a\u8fd0\u884c\u4e8b\u52a1\u6d4b\u8bd5<\/p>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code>dnf -y --releasever=8 --allowerasing --setopt=deltarpm=false distro-sync\n\n\u8fd0\u884c\u4e8b\u52a1\u6d4b\u8bd5\n\u4e0b\u8f7d\u7684\u8f6f\u4ef6\u5305\u4fdd\u5b58\u5728\u7f13\u5b58\u4e2d\uff0c\u76f4\u5230\u4e0b\u6b21\u6210\u529f\u6267\u884c\u4e8b\u52a1\u3002\n\u60a8\u53ef\u4ee5\u901a\u8fc7\u6267\u884c 'dnf clean packages' \u5220\u9664\u8f6f\u4ef6\u5305\u7f13\u5b58\u3002\n\u9519\u8bef\uff1a\u4e8b\u52a1\u68c0\u67e5\u9519\u8bef\uff1a\n  file \/usr\/sbin\/pidof from install of procps-ng-3.3.15-13.el8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64\n  file \/usr\/bin\/last from install of util-linux-2.32.1-42.el8_8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64\n  file \/usr\/bin\/mesg from install of util-linux-2.32.1-42.el8_8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64\n  file \/usr\/bin\/wall from install of util-linux-2.32.1-42.el8_8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64\n  file \/usr\/share\/man\/man1\/last.1.gz from install of util-linux-2.32.1-42.el8_8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64\n  file \/usr\/share\/man\/man1\/mesg.1.gz from install of util-linux-2.32.1-42.el8_8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64\n  file \/usr\/share\/man\/man1\/wall.1.gz from install of util-linux-2.32.1-42.el8_8.x86_64 conflicts with file from package sysvinit-tools-2.88-14.dsf.el7.x86_64\n\n\u9519\u8bef\u6c47\u603b\n-------------\n\n\u89e3\u51b3\u529e\u6cd5\uff1a\u5220\u9664sysvinit-tools-2.88-14.dsf.el7.x86_64\nrpm -e --nodeps sysvinit-tools-2.88-14.dsf.el7.x86_64<\/code><\/pre>\n\n\n\n<p>\u7b2c\u4e09\u6b21\u5b89\u88c5\uff1a\u76f4\u63a5\u6210\u529f<\/p>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code>dnf -y --releasever=8 --allowerasing --setopt=deltarpm=false distro-sync<\/code><\/pre>\n\n\n\n<p>\u5378\u8f7d\u91cd\u65b0\u5b89\u88c5epel\u4ed3\u5e93\u548crpmconf\u5e76\u5220\u9664\u51b2\u7a81\u8f6f\u4ef6\u5305<\/p>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code># \u5378\u8f7d\u65e7\u7684epel\u4ed3\u5e93\uff0c\u91cd\u65b0\u5b89\u88c5epel\u4ed3\u5e93\uff0c\u5220\u9664\u51b2\u7a81\u8f6f\u4ef6\u5305\uff0c\u91cd\u88c5rpmconf\u5e76\u6267\u884crpmconf\uff0c\u5728\u4ea4\u4e92\u754c\u9762\u4e00\u76f4\u8f93\u5165Y\u548c\u56de\u8f66\u5373\u53ef\n# \u5378\u8f7depel\u4ed3\u5e93\u6587\u4ef6\ncd \/etc\/yum.repos.d\nrm -rf \/etc\/yum.repos.d\/CentOS-Base.repo.rpmsave  \/etc\/yum.repos.d\/CentOS-Epel.repo \/etc\/yum.repos.d\/epel-modular.repo \/etc\/yum.repos.d\/epel.repo \/etc\/yum.repos.d\/epel-testing-modular.repo \/etc\/yum.repos.d\/epel-testing.repo\n\n# \u91cd\u65b0\u5b89\u88c5epel\u4ed3\u5e93\ndnf -y reinstall epel-release\n\n# \u5220\u9664\u51b2\u7a81\u7684\u8f6f\u4ef6\u5305\nrpm -e --nodeps python36-rpmconf-1.1.7-1.el7.1.noarch\n\n# \u91cd\u88c5rpmconf\ndnf -y install rpmconf yum-utils\n\n#\u6267\u884crpmconf\uff0c\u4f1a\u51fa\u73b0\u5982\u4e0b\u754c\u9762\uff0c\u4e00\u76f4\u8f93\u5165Y\u548c\u56de\u8f66\u5373\u53ef\nrpmconf -a<\/code><\/pre>\n\n\n\n<p>\u5b89\u88c5Rocky8.8\u5185\u6838<\/p>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code># \u5b89\u88c5\u5185\u6838\uff08\u9632\u6b62\u6709\u4e9b\u65f6\u5019\u6ca1\u5b89\u88c5\u5185\u6838\u5f00\u673a\u5931\u8d25\uff0c\u5f00\u673a\u5931\u8d25\u7684\u53ef\u4ee5\u7528RockyLinux-8 ISO\u955c\u50cf\u6551\u63f4\u6a21\u5f0f\u5b89\u88c5\u5185\u6838\uff09\ndnf -y install kernel kernel-core\ndnf -y install shim grub2-tools-extra grubby grub2-common grub2-pc\ndnf -y install grub2-tools-efi grub2-tools-minimal grub2-efi grub2-pc-modules grub2-tools<\/code><\/pre>\n\n\n\n<p>\u4fee\u590d\u5f15\u5bfc\u5e76\u5b89\u88c5Rocky8.8\u7684Minimal Install\u73af\u5883<\/p>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code># \u6267\u884c\u4e0b\u9762\u7684\u547d\u4ee4\uff0c\u9632\u6b62\u8fc1\u79fb\u5b8c\u6210\u540e\u627e\u4e0d\u5230\u5f15\u5bfc\uff0c\u91cd\u542f\u5f00\u4e0d\u4e86\u673a\uff0c\u6839\u636e\u4ee5\u4e0b\u547d\u4ee4\u9009\u62e9\u5206\u533a\u8868\u7c7b\u578b\uff0c\u6839\u636e\u5206\u533a\u8868\u7c7b\u578b\u6267\u884c\u76f8\u5173\u547d\u4ee4\n\n# \u67e5\u770b\u5206\u533a\u8868\u7c7b\u578b\nfdisk -l\n\n# MBR\u5206\u533a\uff08\u4f20\u7edf\u7684BIOS\u3001dos\u3001msdos\uff09\uff08\u6ce8\u610f\/dev\/vda\u9700\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u81ea\u884c\u9009\u62e9\u78c1\u76d8\u8def\u5f84\uff0c\u5177\u4f53\u53c2\u8003fdisk -l\u8fd4\u56de\u7684\u78c1\u76d8\u5377\u6807\u4fe1\u606f\uff09\n\ngrub2-mkconfig -o \/boot\/grub2\/grub.cfg\ngrub2-install \/dev\/vda<\/code><\/pre>\n\n\n\n<p>\u5b89\u88c5Rocky8.8\u7684\u73af\u5883\uff0c&#8221;Minimal Install&#8221;\u548c&#8221;Server with GUI&#8221;\u4e8c\u9009\u4e00<\/p>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code># \u8fd9\u4e00\u6b65\u9009\u62e9\u6027\u6267\u884c\uff0c\u6267\u884c\u8fd9\u4e00\u6b65\u80fd\u89e3\u51b3\u5b89\u88c5yum\u62a5\u9519\u3002\nrm -rf \/etc\/yum\n\n# \u5b89\u88c5\u57fa\u7840\u73af\u5883\uff0c\u4e8c\u9009\u4e00\ndnf -y groupinstall \"Minimal Install\"\n\n#\u6216\u8005\u5b89\u88c5\u684c\u9762\u73af\u5883\uff0c\u4e8c\u9009\u4e00\ndnf -y groupinstall \"Server with GUI\"\n\n# \u91cd\u542f\u673a\u5668\nreboot<\/code><\/pre>\n\n\n\n<p>\u5b89\u88c5\u7248\u672c\u67e5\u770b\u8f6f\u4ef6<\/p>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code> dnf install redhat-lsb\n\nlsb_release -a\nLSB Version:    :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch\nDistributor ID: Rocky\nDescription:    Rocky Linux release 8.8 (Green Obsidian)\nRelease:        8.8\nCodename:       GreenObsidian<\/code><\/pre>\n\n\n\n<p>\u6267\u884cdnf update \u62a5\u9519<\/p>\n\n\n\n<pre class=\"wp-block-code alignwide\"><code>dnf update\n\u4e0a\u6b21\u5143\u6570\u636e\u8fc7\u671f\u68c0\u67e5\uff1a0:21:05 \u524d\uff0c\u6267\u884c\u4e8e 2023\u5e7409\u670820\u65e5 \u661f\u671f\u4e09 13\u65f632\u520606\u79d2\u3002\n\u9519\u8bef\uff1a\n \u95ee\u9898: \u65e0\u6cd5\u540c\u65f6\u5b89\u88c5 libtomcrypt-1.18.2-5.el8.x86_64 \u548c libtomcrypt-1.17-26.el7.x86_64\n  - \u8f6f\u4ef6\u5305 python2-crypto-2.6.1-16.el7.x86_64 \u9700\u8981 libtomcrypt.so.0()(64bit)\uff0c\u4f46\u6ca1\u6709\u63d0\u4f9b\u8005\u53ef\u4ee5\u88ab\u5b89\u88c5\n  - \u65e0\u6cd5\u4e3a\u8f6f\u4ef6\u5305\u5b89\u88c5\u6700\u4f73\u66f4\u65b0\u5019\u9009 libtomcrypt-1.17-26.el7.x86_64\n  - \u5b89\u88c5\u7684\u8f6f\u4ef6\u5305\u7684\u95ee\u9898 python2-crypto-2.6.1-16.el7.x86_64\n(\u5c1d\u8bd5\u5728\u547d\u4ee4\u884c\u4e2d\u6dfb\u52a0 '--allowerasing' \u6765\u66ff\u6362\u51b2\u7a81\u7684\u8f6f\u4ef6\u5305 \u6216 '--skip-broken' \u6765\u8df3\u8fc7\u65e0\u6cd5\u5b89\u88c5\u7684\u8f6f\u4ef6\u5305 \u6216 '--nobest' \u6765\u4e0d\u53ea\u4f7f\u7528\u8f6f\u4ef6\u5305\u7684\u6700\u4f73\u5019\u9009)\n\n\u89e3\u51b3\u529e\u6cd5\ndnf update --allowerasing<\/code><\/pre>\n\n\n\n<p>\u53c2\u8003\u6587\u7ae0\uff1a<a href=\"https:\/\/cloud.tencent.com\/developer\/article\/2302258\">\u4eceCentOS7.6\u5347\u7ea7\u5230Rocky9.1\u955c\u50cf\u5236\u4f5c\u603b\u7ed3<\/a><\/p>\n\n\n\n<p><\/p>\n<p>Views: 1022<\/p>","protected":false},"excerpt":{"rendered":"<p>\u6709\u4e9b\u4e91\u8d2d\u4e70\u670d\u52a1\u5668\u7684\u65f6\u5019\uff0c\u6ca1\u6709rocky\u955c\u50cf\u3002\u6bd4\u5982\uff1a\u8f7b\u91cf\u670d\u52a1\u5668\u3002\u8fd9\u4e2a\u65f6\u5019\u9700\u8981\u5148\u8d2d\u4e70centOS7.6\u5347\u7ea7\u5230cen [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-143","post","type-post","status-publish","format-standard","hentry","category-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Linux\u7cfb\u5217\uff08\u4e8c\uff09\uff1acentos7.6\u5347\u7ea7\u5230rocky8.8 - \u6cf0\u514b\u7ef4\u897f@techvc.net<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.techvc.net\/index.php\/2023\/09\/20\/centos7-6\u5347\u7ea7\u5230rocky8-8\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux\u7cfb\u5217\uff08\u4e8c\uff09\uff1acentos7.6\u5347\u7ea7\u5230rocky8.8 - \u6cf0\u514b\u7ef4\u897f@techvc.net\" \/>\n<meta property=\"og:description\" content=\"\u6709\u4e9b\u4e91\u8d2d\u4e70\u670d\u52a1\u5668\u7684\u65f6\u5019\uff0c\u6ca1\u6709rocky\u955c\u50cf\u3002\u6bd4\u5982\uff1a\u8f7b\u91cf\u670d\u52a1\u5668\u3002\u8fd9\u4e2a\u65f6\u5019\u9700\u8981\u5148\u8d2d\u4e70centOS7.6\u5347\u7ea7\u5230cen [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.techvc.net\/index.php\/2023\/09\/20\/centos7-6\u5347\u7ea7\u5230rocky8-8\/\" \/>\n<meta property=\"og:site_name\" content=\"\u6cf0\u514b\u7ef4\u897f@techvc.net\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-20T05:54:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-02T15:51:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.techvc.net\/wp-content\/uploads\/2023\/09\/\u6cf0\u514b\u7ef4\u897f\u80cc\u666f-edited.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"763\" \/>\n\t<meta property=\"og:image:height\" content=\"371\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u732b\u5934\u54e5\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u732b\u5934\u54e5\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.techvc.net\\\/index.php\\\/2023\\\/09\\\/20\\\/centos7-6%e5%8d%87%e7%ba%a7%e5%88%b0rocky8-8\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.techvc.net\\\/index.php\\\/2023\\\/09\\\/20\\\/centos7-6%e5%8d%87%e7%ba%a7%e5%88%b0rocky8-8\\\/\"},\"author\":{\"name\":\"\u732b\u5934\u54e5\",\"@id\":\"https:\\\/\\\/www.techvc.net\\\/#\\\/schema\\\/person\\\/4d6bfbcd614005ea07c82a30df5a1bb1\"},\"headline\":\"Linux\u7cfb\u5217\uff08\u4e8c\uff09\uff1acentos7.6\u5347\u7ea7\u5230rocky8.8\",\"datePublished\":\"2023-09-20T05:54:56+00:00\",\"dateModified\":\"2023-10-02T15:51:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.techvc.net\\\/index.php\\\/2023\\\/09\\\/20\\\/centos7-6%e5%8d%87%e7%ba%a7%e5%88%b0rocky8-8\\\/\"},\"wordCount\":36,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.techvc.net\\\/#organization\"},\"articleSection\":[\"Linux\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.techvc.net\\\/index.php\\\/2023\\\/09\\\/20\\\/centos7-6%e5%8d%87%e7%ba%a7%e5%88%b0rocky8-8\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.techvc.net\\\/index.php\\\/2023\\\/09\\\/20\\\/centos7-6%e5%8d%87%e7%ba%a7%e5%88%b0rocky8-8\\\/\",\"url\":\"https:\\\/\\\/www.techvc.net\\\/index.php\\\/2023\\\/09\\\/20\\\/centos7-6%e5%8d%87%e7%ba%a7%e5%88%b0rocky8-8\\\/\",\"name\":\"Linux\u7cfb\u5217\uff08\u4e8c\uff09\uff1acentos7.6\u5347\u7ea7\u5230rocky8.8 - \u6cf0\u514b\u7ef4\u897f@techvc.net\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.techvc.net\\\/#website\"},\"datePublished\":\"2023-09-20T05:54:56+00:00\",\"dateModified\":\"2023-10-02T15:51:02+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.techvc.net\\\/index.php\\\/2023\\\/09\\\/20\\\/centos7-6%e5%8d%87%e7%ba%a7%e5%88%b0rocky8-8\\\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.techvc.net\\\/index.php\\\/2023\\\/09\\\/20\\\/centos7-6%e5%8d%87%e7%ba%a7%e5%88%b0rocky8-8\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.techvc.net\\\/index.php\\\/2023\\\/09\\\/20\\\/centos7-6%e5%8d%87%e7%ba%a7%e5%88%b0rocky8-8\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/www.techvc.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux\u7cfb\u5217\uff08\u4e8c\uff09\uff1acentos7.6\u5347\u7ea7\u5230rocky8.8\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.techvc.net\\\/#website\",\"url\":\"https:\\\/\\\/www.techvc.net\\\/\",\"name\":\"\u6cf0\u514b\u7ef4\u897f@techvc.net\",\"description\":\"\u89e3\u653e\u7a0b\u5e8f\u5458\uff0c\u5e2e\u52a9\u521b\u4e1a\u8005\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.techvc.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.techvc.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.techvc.net\\\/#organization\",\"name\":\"\u5317\u4eac\u6cf0\u514b\u7ef4\u897f\u79d1\u6280\u6709\u9650\u516c\u53f8\",\"url\":\"https:\\\/\\\/www.techvc.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.techvc.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.techvc.net\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/logo\u5b9d\u5251-edited.png\",\"contentUrl\":\"https:\\\/\\\/www.techvc.net\\\/wp-content\\\/uploads\\\/2023\\\/09\\\/logo\u5b9d\u5251-edited.png\",\"width\":820,\"height\":820,\"caption\":\"\u5317\u4eac\u6cf0\u514b\u7ef4\u897f\u79d1\u6280\u6709\u9650\u516c\u53f8\"},\"image\":{\"@id\":\"https:\\\/\\\/www.techvc.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.techvc.net\\\/#\\\/schema\\\/person\\\/4d6bfbcd614005ea07c82a30df5a1bb1\",\"name\":\"\u732b\u5934\u54e5\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\\\/\\\/www.techvc.net\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/\u6734\u6d77\u6797_avatar_1696137507.png\",\"url\":\"https:\\\/\\\/www.techvc.net\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/\u6734\u6d77\u6797_avatar_1696137507.png\",\"contentUrl\":\"https:\\\/\\\/www.techvc.net\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/\u6734\u6d77\u6797_avatar_1696137507.png\",\"caption\":\"\u732b\u5934\u54e5\"},\"description\":\"\u732b\u5934\u54e5\u64c5\u957f\u5927\u578b\u7f51\u7ad9\u6280\u672f\u67b6\u6784\uff0c\u5927\u578b\u7814\u53d1\u56e2\u961f\u6280\u672f\u7ba1\u7406\uff0c\u591a\u7aef\u7814\u53d1\u3001\u5168\u6808\u7814\u53d1\uff0c\u6b22\u8fce\u968f\u65f6\u54a8\u8be2\u3002\",\"url\":\"https:\\\/\\\/www.techvc.net\\\/index.php\\\/author\\\/piaohailin@techvc.net\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linux\u7cfb\u5217\uff08\u4e8c\uff09\uff1acentos7.6\u5347\u7ea7\u5230rocky8.8 - \u6cf0\u514b\u7ef4\u897f@techvc.net","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.techvc.net\/index.php\/2023\/09\/20\/centos7-6\u5347\u7ea7\u5230rocky8-8\/","og_locale":"zh_CN","og_type":"article","og_title":"Linux\u7cfb\u5217\uff08\u4e8c\uff09\uff1acentos7.6\u5347\u7ea7\u5230rocky8.8 - \u6cf0\u514b\u7ef4\u897f@techvc.net","og_description":"\u6709\u4e9b\u4e91\u8d2d\u4e70\u670d\u52a1\u5668\u7684\u65f6\u5019\uff0c\u6ca1\u6709rocky\u955c\u50cf\u3002\u6bd4\u5982\uff1a\u8f7b\u91cf\u670d\u52a1\u5668\u3002\u8fd9\u4e2a\u65f6\u5019\u9700\u8981\u5148\u8d2d\u4e70centOS7.6\u5347\u7ea7\u5230cen [&hellip;]","og_url":"https:\/\/www.techvc.net\/index.php\/2023\/09\/20\/centos7-6\u5347\u7ea7\u5230rocky8-8\/","og_site_name":"\u6cf0\u514b\u7ef4\u897f@techvc.net","article_published_time":"2023-09-20T05:54:56+00:00","article_modified_time":"2023-10-02T15:51:02+00:00","og_image":[{"width":763,"height":371,"url":"https:\/\/www.techvc.net\/wp-content\/uploads\/2023\/09\/\u6cf0\u514b\u7ef4\u897f\u80cc\u666f-edited.jpg","type":"image\/jpeg"}],"author":"\u732b\u5934\u54e5","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u732b\u5934\u54e5","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.techvc.net\/index.php\/2023\/09\/20\/centos7-6%e5%8d%87%e7%ba%a7%e5%88%b0rocky8-8\/#article","isPartOf":{"@id":"https:\/\/www.techvc.net\/index.php\/2023\/09\/20\/centos7-6%e5%8d%87%e7%ba%a7%e5%88%b0rocky8-8\/"},"author":{"name":"\u732b\u5934\u54e5","@id":"https:\/\/www.techvc.net\/#\/schema\/person\/4d6bfbcd614005ea07c82a30df5a1bb1"},"headline":"Linux\u7cfb\u5217\uff08\u4e8c\uff09\uff1acentos7.6\u5347\u7ea7\u5230rocky8.8","datePublished":"2023-09-20T05:54:56+00:00","dateModified":"2023-10-02T15:51:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.techvc.net\/index.php\/2023\/09\/20\/centos7-6%e5%8d%87%e7%ba%a7%e5%88%b0rocky8-8\/"},"wordCount":36,"commentCount":0,"publisher":{"@id":"https:\/\/www.techvc.net\/#organization"},"articleSection":["Linux"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.techvc.net\/index.php\/2023\/09\/20\/centos7-6%e5%8d%87%e7%ba%a7%e5%88%b0rocky8-8\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.techvc.net\/index.php\/2023\/09\/20\/centos7-6%e5%8d%87%e7%ba%a7%e5%88%b0rocky8-8\/","url":"https:\/\/www.techvc.net\/index.php\/2023\/09\/20\/centos7-6%e5%8d%87%e7%ba%a7%e5%88%b0rocky8-8\/","name":"Linux\u7cfb\u5217\uff08\u4e8c\uff09\uff1acentos7.6\u5347\u7ea7\u5230rocky8.8 - \u6cf0\u514b\u7ef4\u897f@techvc.net","isPartOf":{"@id":"https:\/\/www.techvc.net\/#website"},"datePublished":"2023-09-20T05:54:56+00:00","dateModified":"2023-10-02T15:51:02+00:00","breadcrumb":{"@id":"https:\/\/www.techvc.net\/index.php\/2023\/09\/20\/centos7-6%e5%8d%87%e7%ba%a7%e5%88%b0rocky8-8\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.techvc.net\/index.php\/2023\/09\/20\/centos7-6%e5%8d%87%e7%ba%a7%e5%88%b0rocky8-8\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.techvc.net\/index.php\/2023\/09\/20\/centos7-6%e5%8d%87%e7%ba%a7%e5%88%b0rocky8-8\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.techvc.net\/"},{"@type":"ListItem","position":2,"name":"Linux\u7cfb\u5217\uff08\u4e8c\uff09\uff1acentos7.6\u5347\u7ea7\u5230rocky8.8"}]},{"@type":"WebSite","@id":"https:\/\/www.techvc.net\/#website","url":"https:\/\/www.techvc.net\/","name":"\u6cf0\u514b\u7ef4\u897f@techvc.net","description":"\u89e3\u653e\u7a0b\u5e8f\u5458\uff0c\u5e2e\u52a9\u521b\u4e1a\u8005","publisher":{"@id":"https:\/\/www.techvc.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.techvc.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Organization","@id":"https:\/\/www.techvc.net\/#organization","name":"\u5317\u4eac\u6cf0\u514b\u7ef4\u897f\u79d1\u6280\u6709\u9650\u516c\u53f8","url":"https:\/\/www.techvc.net\/","logo":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.techvc.net\/#\/schema\/logo\/image\/","url":"https:\/\/www.techvc.net\/wp-content\/uploads\/2023\/09\/logo\u5b9d\u5251-edited.png","contentUrl":"https:\/\/www.techvc.net\/wp-content\/uploads\/2023\/09\/logo\u5b9d\u5251-edited.png","width":820,"height":820,"caption":"\u5317\u4eac\u6cf0\u514b\u7ef4\u897f\u79d1\u6280\u6709\u9650\u516c\u53f8"},"image":{"@id":"https:\/\/www.techvc.net\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.techvc.net\/#\/schema\/person\/4d6bfbcd614005ea07c82a30df5a1bb1","name":"\u732b\u5934\u54e5","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.techvc.net\/wp-content\/uploads\/2023\/10\/\u6734\u6d77\u6797_avatar_1696137507.png","url":"https:\/\/www.techvc.net\/wp-content\/uploads\/2023\/10\/\u6734\u6d77\u6797_avatar_1696137507.png","contentUrl":"https:\/\/www.techvc.net\/wp-content\/uploads\/2023\/10\/\u6734\u6d77\u6797_avatar_1696137507.png","caption":"\u732b\u5934\u54e5"},"description":"\u732b\u5934\u54e5\u64c5\u957f\u5927\u578b\u7f51\u7ad9\u6280\u672f\u67b6\u6784\uff0c\u5927\u578b\u7814\u53d1\u56e2\u961f\u6280\u672f\u7ba1\u7406\uff0c\u591a\u7aef\u7814\u53d1\u3001\u5168\u6808\u7814\u53d1\uff0c\u6b22\u8fce\u968f\u65f6\u54a8\u8be2\u3002","url":"https:\/\/www.techvc.net\/index.php\/author\/piaohailin@techvc.net\/"}]}},"_links":{"self":[{"href":"https:\/\/www.techvc.net\/index.php\/wp-json\/wp\/v2\/posts\/143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techvc.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techvc.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techvc.net\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techvc.net\/index.php\/wp-json\/wp\/v2\/comments?post=143"}],"version-history":[{"count":11,"href":"https:\/\/www.techvc.net\/index.php\/wp-json\/wp\/v2\/posts\/143\/revisions"}],"predecessor-version":[{"id":340,"href":"https:\/\/www.techvc.net\/index.php\/wp-json\/wp\/v2\/posts\/143\/revisions\/340"}],"wp:attachment":[{"href":"https:\/\/www.techvc.net\/index.php\/wp-json\/wp\/v2\/media?parent=143"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techvc.net\/index.php\/wp-json\/wp\/v2\/categories?post=143"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techvc.net\/index.php\/wp-json\/wp\/v2\/tags?post=143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}