{"id":491,"date":"2019-11-01T21:48:57","date_gmt":"2019-11-01T13:48:57","guid":{"rendered":"https:\/\/cloudbool.com\/archive\/?p=491"},"modified":"2019-11-01T21:48:57","modified_gmt":"2019-11-01T13:48:57","slug":"centos-8-appstream","status":"publish","type":"post","link":"https:\/\/cloudbool.com\/archive\/centos-8-appstream.html","title":{"rendered":"CentOS 8 \u7cfb\u7edfAppStream\u4f7f\u7528"},"content":{"rendered":"<p>RedHat Enterprise Linux 8\uff08RHEL8\uff09\u521a\u53d1\u5e03\u7684\u65f6\u5019\u6211\u770bRHEL8\u7684CheatSheet\u5c31\u4e86\u89e3\u4e86RHEL8\u591a\u4e86\u4e00\u4e2aAppStream\u7684\u4e1c\u897f\uff0c\u5f53\u65f6\u5c31\u60f3\u6709\u7a7a\u597d\u597d\u770b\u770b\u8fd9\u4e2a\u65b0\u73a9\u610f\uff0c\u8fd9\u4e48\u4e45\u4e00\u76f4\u5728\u5fd9\u5de5\u4f5c\uff0c\u4e5f\u6ca1\u65f6\u95f4\u53bb\u7814\u7a76\u8fd9\u4e2a\uff0c\u8fd9\u51e0\u5929\u7ec8\u4e8e\u6709\u70b9\u65f6\u95f4\u4e86\uff0c\u7b80\u5355\u6298\u817e\u4e86\u4e0bAppStream\uff0c\u770b\u7f51\u4e0a\u76f8\u5173\u7684\u4e2d\u6587\u8d44\u6599\u4e5f\u4e0d\u591a\uff0c\u7279\u6b64\u5206\u4eab\u4e0b\u6211\u7684\u6298\u817e\u8fc7\u7a0b\u3002<br \/>\n<!--more--><\/p>\n<h2>AppStream\u662f\u4ec0\u4e48\uff0c\u6709\u4ec0\u4e48\u4f5c\u7528<\/h2>\n<p>\u533a\u522b\u4e8eBaseOS\uff0cAppStream\u662fRHEL8\u65b0\u51fa\u7684\u4e00\u79cd\u5e94\u7528\u7a0b\u5e8f\u6e90\u4ed3\u5e93\uff0c\u7b80\u5355\u6765\u8bf4\uff0cBaseOS\u6e90\u63d0\u4f9b\u4e86\u4e00\u4e2a\u6700\u5c0f\u5316\u7cfb\u7edf\u6240\u9700\u8981\u7684\u5305\uff0c\u800cAppStream\u63d0\u4f9b\u7684\u662f\u4e00\u7c7b\u8fd0\u7528\u7a0b\u5e8f\u7684\u96c6\u5408\uff0c\u5728RHEL8\u7cfb\u7edf\u4e2d\u73b0\u5728\u88ab\u53eb\u505a\u6a21\u5757\uff08module\uff09\uff0c\u6bd4\u5982\u8bf4\u5e38\u7528\u7684PHP\u3001Nginx\u3001MySQL\u7b49\uff0c\u90fd\u662f\u4e00\u4e2a\u4e2amodule\uff0c\u800cmodule\u53c8\u53ef\u80fd\u5305\u542b\u591a\u4e2astream\uff0c\u6bd4\u5982\u8bf4\u5728RHEL\u7cfb\u7edf\u4e2d\u5c31\u5305\u542b\u4e24\u4e2a\u7248\u672c\u7684<strong>container-tools<\/strong>\u53ca<strong>perl<\/strong>\u3002<br \/>\n\u8fd9\u4e48\u505a\u7684\u597d\u5904\uff0c\u5c31\u6211\u77e5\u9053\u7684\u6765\u8bf4\uff0c\u6bcf\u4e2a\u8fd0\u7528\u7a0b\u5e8f\u53ef\u4ee5\u5b58\u5728\u4e00\u4e2a\u6216\u8005\u591a\u4e2a\u7248\u672c\uff0c\u800c\u4e14\u53ef\u4ee5\u548c\u7cfb\u7edf\u6240\u9700\u7684\u5305\u533a\u5206\u5f00\u6765\uff0c\u7cfb\u7edf\u5f52\u7cfb\u7edf\uff0c\u8fd0\u7528\u7a0b\u5e8f\u5f52\u8fd0\u7528\u7a0b\u5e8f\u3002<br \/>\n\u66f4\u52a0\u5177\u4f53\u7684\u597d\u5904\u5c31\u662f\uff0c\u540c\u4e00\u4e2a\u7cfb\u7edf\u4e2d\u53ef\u80fd\u53ef\u4ee5\u9009\u62e9\u4e0d\u540c\u7248\u672c\u7684\u5e94\u7528\u8f6f\u4ef6\uff0c\u6bd4\u5982\u8bf4RHEL8\u9ed8\u8ba4\u63d0\u4f9b\u4e865.24\u548c5.26\u7248\u672c\u7684Perl\uff0c\u5982\u679c\u5bf9\u7248\u672c\u6709\u8981\u6c42\u7684\uff0c\u53ef\u4ee5\u9009\u62e9\u9700\u8981\u7684\u7248\u672c\u5b89\u88c5\u3002<br \/>\n\u867d\u7136\u4e0a\u9762\u4e00\u76f4\u8bf4\u7684\u662fRHEL8\uff0c\u4f46\u662f\u56e0\u4e3aCentOS8\u6e90\u81eaRHEL8\uff0c\u8fd9\u90e8\u5206\u529f\u80fd\u81ea\u7136\u4e5f\u6709\uff0c\u867d\u7136Redhat\u63d0\u4f9b\u4e86\u514d\u8d39\u7684RHEL8\u8ba2\u9605\uff0c\u4f46\u662f\u8003\u8651\u5230\u65b9\u4fbf\u95ee\u9898\uff0c\u6211\u8fd8\u662f\u66f4\u591a\u9009\u62e9CentOS8\u3002<br \/>\n\u4e0b\u9762\u5f00\u59cb\u8bf4\u8bf4AppStream\u7684\u7528\u6cd5\u3002<\/p>\n<h2>CentOS8\u7cfb\u7edfAppStream\u4f7f\u7528\u65b9\u6cd5<\/h2>\n<h3>\u5217\u51fa\u6240\u6709\u53ef\u7528\u7684module\uff1a<\/h3>\n<blockquote><p>\n  yum module list\n<\/p><\/blockquote>\n<p>\u76f8\u5173\u8f93\u51fa\uff1a<\/p>\n<pre><code>[root@cloudbool-Vultr ~]# yum module list\nExtra Packages for Enterprise Linux 8 - x86_64        2.1 MB\/s | 3.1 MB     00:01\nLast metadata expiration check: 0:00:01 ago on Thu 31 Oct 2019 01:04:59 PM UTC.\nCentOS-8 - AppStream\nName   Stream         Profiles   Summary\n389-ds 1.4       389 Directory Server (base)\nant    1.10 [d]       common [d] Java build tool\ncontainer-tools        1.0     common [d] Common tools and dependencies for container runtimes\ncontainer-tools        rhel8 [d][e]   common [d] Common tools and dependencies for container runtimes\nfreeradius      3.0 [d]        server [d] High-performance and highly configurable free RADIUS server\ngimp   2.8 [d]        common [d], devel   gimp module\ngo-toolset      rhel8 [d]      common [d] Go\nhttpd  2.4 [d]        common [d], devel, minimal Apache HTTP Server\nidm    DL1     common [d], adtrust, client, dns, server   The Red Hat Enterprise Linux Identity Management system module\nidm    client [d]     common [d] RHEL IdM long term support client module\ninkscape        0.92.3 [d]     common [d] Vector-based drawing program using SVG\njavapackages-runtime   201801 [d]     common [d] Basic runtime utilities to support Java applications\nlibselinux-python      2.8     common     Python 2 bindings for libselinux\nllvm-toolset    rhel8 [d]      common [d] LLVM\nmailman         2.1 [d]        common [d] Electronic mail discussion and e-newsletter lists managing software\nmariadb         10.3 [d]       client, server [d], galera MariaDB Module\nmaven  3.5 [d]        common [d] Java project management and project comprehension tool\nmercurial       4.8 [d]        common [d] Mercurial -- a distributed SCM\nmod_auth_openidc       2.3       Apache module suporting OpenID Connect authentication\nmysql  8.0 [d]        client, server [d]         MySQL Module\nnginx  1.14 [d]       common [d] nginx webserver\nnodejs 10 [d]         common [d], development, minimal, s2i      Javascript runtime\nparfait         0.5     common     Parfait Module\nperl   5.24    common [d], minimal        Practical Extraction and Report Language\nperl   5.26 [d]       common [d], minimal        Practical Extraction and Report Language\nperl-App-cpanminus     1.7044 [d]     common [d] Get, unpack, build and install CPAN modules\nperl-DBD-MySQL         4.046 [d]      common [d] A MySQL interface for Perl\nperl-DBD-Pg     3.7 [d]        common [d] A PostgreSQL interface for Perl\nperl-DBD-SQLite        1.58 [d]       common [d] SQLite DBI driver\nperl-DBI        1.641 [d]      common [d] A database access API for Perl\nperl-FCGI       0.78 [d]       common [d] FastCGI Perl bindings\nperl-YAML       1.24 [d]       common [d] Perl parser for YAML\nphp    7.2 [d]        common [d], devel, minimal PHP scripting language\npki-core        10.6      PKI Core\npki-deps        10.6      PKI Dependencies module\npostgresql      10 [d]         client, server [d]         PostgreSQL server and client module\npostgresql      9.6     client, server [d]         PostgreSQL server and client module\npython27        2.7 [d]        common [d] Python programming language, version 2.7\npython36        3.6 [d][e]     common [d], build   Python programming language, version 3.6\nredis  5 [d]   common [d] Redis persistent key-value database\nrhn-tools       1.0 [d]        common [d] Red Hat Satellite 5 tools for RHEL\nruby   2.5 [d]        common [d] An interpreter of object-oriented scripting language\nrust-toolset    rhel8 [d]      common [d] Rust\nsatellite-5-client     1.0 [d][e]     common [d], gui     Red Hat Satellite 5 client packages\nscala  2.10 [d]       common [d] A hybrid functional\/object-oriented language for the JVM\nsquid  4 [d]   common [d] Squid - Optimising Web Delivery\nsubversion      1.10 [d]       common [d], server         Apache Subversion\nswig   3.0 [d]        common [d], complete       Connects C\/C++\/Objective C to some high-level programming languages\nvarnish         6 [d]   common [d] Varnish HTTP cache\nvirt   rhel [d][e]    common [d] Virtualization module\nHint: [d]efault, [e]nabled, [x]disabled, [i]nstalled\n<\/code><\/pre>\n<h3>\u67e5\u770bmodule\u4fe1\u606f<\/h3>\n<p>\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n<blockquote><p>\n  yum module info module_name\n<\/p><\/blockquote>\n<p>\u6bd4\u5982\u8bf4\u67e5\u770bPHP\u7684\uff0c\u76f8\u5173\u8f93\u51fa\uff1a<\/p>\n<pre><code>[root@cloudbool-Vultr ~]# yum module info php\nLast metadata expiration check: 0:45:22 ago on Thu 31 Oct 2019 01:04:59 PM UTC.\nName             : php\nStream           : 7.2 [d][a]\nVersion          : 8000020190628155007\nContext          : ad195792\nProfiles         : common [d], devel, minimal\nDefault profiles : common\nRepo             : AppStream\nSummary          : PHP scripting language\nDescription      : php 7.2 module\nArtifacts        : apcu-panel-0:5.1.12-1.module_el8.0.0+56+d1ca79aa.noarch\n                 : libzip-0:1.5.1-1.module_el8.0.0+56+d1ca79aa.src\n                 : libzip-0:1.5.1-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : libzip-debuginfo-0:1.5.1-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : libzip-debugsource-0:1.5.1-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : libzip-devel-0:1.5.1-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : libzip-tools-0:1.5.1-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : libzip-tools-debuginfo-0:1.5.1-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.src\n                 : php-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-bcmath-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-bcmath-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-cli-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-cli-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-common-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-common-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                                                  : php-dba-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-dba-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-dbg-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-dbg-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-debugsource-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-devel-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-embedded-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-embedded-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-enchant-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-enchant-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-fpm-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-fpm-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-gd-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-gd-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-gmp-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-gmp-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-intl-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-intl-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-json-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-json-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-ldap-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-ldap-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-mbstring-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-mbstring-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-mysqlnd-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-mysqlnd-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-odbc-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-odbc-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-opcache-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-opcache-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-pdo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-pdo-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-pear-1:1.10.5-8.module_el8.0.0+56+d1ca79aa.noarch\n                 : php-pear-1:1.10.5-8.module_el8.0.0+56+d1ca79aa.src\n                 : php-pecl-apcu-0:5.1.12-1.module_el8.0.0+56+d1ca79aa.src\n                 : php-pecl-apcu-0:5.1.12-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-pecl-apcu-debuginfo-0:5.1.12-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-pecl-apcu-debugsource-0:5.1.12-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-pecl-apcu-devel-0:5.1.12-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-pecl-zip-0:1.15.3-1.module_el8.0.0+56+d1ca79aa.src\n                 : php-pecl-zip-0:1.15.3-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-pecl-zip-debuginfo-0:1.15.3-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-pecl-zip-debugsource-0:1.15.3-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-pgsql-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-pgsql-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-process-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-process-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-recode-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-recode-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-snmp-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-snmp-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-soap-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-soap-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-xml-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-xml-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-xmlrpc-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\n                 : php-xmlrpc-debuginfo-0:7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\nHint: [d]efault, [e]nabled, [x]disabled, [i]nstalled, [a]ctive]\n<\/code><\/pre>\n<h3>\u67e5\u770bmodule\u6240\u6709\u53ef\u7528\u7684profile<\/h3>\n<p>\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n<blockquote><p>\n  yum module info &#8211;profile module_name\n<\/p><\/blockquote>\n<p>\u6bd4\u5982\u8bf4PHP\u7684\uff1a<\/p>\n<pre><code>[root@cloudbool-Vultr ~]# yum module info --profile php\nLast metadata expiration check: 0:48:31 ago on Thu 31 Oct 2019 01:04:59 PM UTC.\nName    : php:7.2:8000020190628155007:ad195792:x86_64\ncommon  : php-cli\n        : php-common\n        : php-fpm\n        : php-json\n        : php-mbstring\n        : php-xml\ndevel   : libzip\n        : php-cli\n        : php-common\n        : php-devel\n        : php-fpm\n        : php-json\n        : php-mbstring\n        : php-pear\n        : php-pecl-zip\n        : php-process\n        : php-xml\nminimal : php-cli\n        : php-common\n<\/code><\/pre>\n<p>\u5f53\u7136\u4e5f\u53ef\u4ee5\u67e5\u770b\u6307\u5b9a\u7248\u672c\u7684\uff0c\u6bd4\u5982\u8bf4\uff1a<\/p>\n<blockquote><p>\n  yum module info &#8211;profile perl:5.24\n<\/p><\/blockquote>\n<h3>\u5b89\u88c5\u6307\u5b9aprofile\u7684module<\/h3>\n<p>\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n<blockquote><p>\n  yum module install module:version\/profile\n<\/p><\/blockquote>\n<p>\u6bd4\u5982\u8bf4\u5b89\u88c5minimal\u7248\u672c\u7684PHP 7.2\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n<pre><code>[root@cloudbool-Vultr ~]# yum module install php:7.2\/minimal\nLast metadata expiration check: 0:52:15 ago on Thu 31 Oct 2019 01:04:59 PM UTC.\n======================================================================================================================================================================================================================\n Package    Arch   Version    Repository        Size\n======================================================================================================================================================================================================================\nInstalling group\/module packages:\n php-cli    x86_64        7.2.11-1.module_el8.0.0+56+d1ca79aa    AppStream        3.1 M\n php-common        x86_64        7.2.11-1.module_el8.0.0+56+d1ca79aa    AppStream        653 k\nInstalling module profiles:\n php\/minimal\nEnabling module streams:\n httpd      2.4\n nginx      1.14\n php        7.2\nTransaction Summary\n======================================================================================================================================================================================================================\nInstall  2 Packages\nTotal download size: 3.7 M\nInstalled size: 16 M\nIs this ok [y\/N]: y\nDownloading Packages:\n(1\/2): php-common-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64.rpm      443 kB\/s | 653 kB     00:01\n(2\/2): php-cli-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64.rpm         1.3 MB\/s | 3.1 MB     00:02\n----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\nTotal         1.0 MB\/s | 3.7 MB     00:03\nRunning transaction check\nTransaction check succeeded.\nRunning transaction test\nTransaction test succeeded.\nRunning transaction\n  Preparing        :        1\/1\n  Installing       : php-common-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64   1\/2\n  Installing       : php-cli-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64      2\/2\n  Running scriptlet: php-cli-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64      2\/2\n  Verifying        : php-cli-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64      1\/2\n  Verifying        : php-common-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64   2\/2\nInstalled:\n  php-cli-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64      php-common-7.2.11-1.module_el8.0.0+56+d1ca79aa.x86_64\nComplete!\n<\/code><\/pre>\n<h3>\u542f\u7528\u53ca\u7981\u7528module<\/h3>\n<p>\u5982\u679c\u6211\u4eec\u540e\u7eed\u4e0d\u9700\u8981\u63a5\u6536\u67d0\u4e2amodule\u7684\u7248\u672c\u66f4\u65b0\uff0c\u53ef\u4ee5\u628a\u5b83\u7ed9disable\u6389\uff0c\u7c7b\u4f3c\u4e8eyum\u7684\u7248\u672clock\u529f\u80fd\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n<pre><code>yum module enable php\nyum module disable php\n<\/code><\/pre>\n<h3>\u5220\u9664module\u53caprofile<\/h3>\n<p>\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n<blockquote><p>\n  yum module remove module:version\/profile\n<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>RedHat Enterprise Linux 8\uff08RHEL8\uff09\u521a\u53d1\u5e03\u7684\u65f6\u5019\u6211\u770bRHEL8\u7684CheatShee &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/cloudbool.com\/archive\/centos-8-appstream.html\"> <span class=\"screen-reader-text\">CentOS 8 \u7cfb\u7edfAppStream\u4f7f\u7528<\/span> \u67e5\u770b\u5168\u6587 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"footnotes":""},"categories":[8],"tags":[17,149],"class_list":["post-491","post","type-post","status-publish","format-standard","hentry","category-tech","tag-centos","tag-centos-8"],"_links":{"self":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts\/491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/comments?post=491"}],"version-history":[{"count":0,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts\/491\/revisions"}],"wp:attachment":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/media?parent=491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/categories?post=491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/tags?post=491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}