{"id":41563,"date":"2022-09-01T19:24:26","date_gmt":"2022-12-05T12:20:46","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e7%89%b9%e5%ae%9a%e7%89%88%e6%9c%ac%e7%9a%84postgresql%e5%ae%a2%e6%88%b7%e7%ab%af%e5%9c%a8rhel8%e4%b8%8a%e8%bf%9b%e8%a1%8c%e5%ae%89%e8%a3%85%e3%80%82\/"},"modified":"2024-01-15T11:01:51","modified_gmt":"2024-01-15T03:01:51","slug":"%e4%bd%bf%e7%94%a8%e7%89%b9%e5%ae%9a%e7%89%88%e6%9c%ac%e7%9a%84postgresql%e5%ae%a2%e6%88%b7%e7%ab%af%e5%9c%a8rhel8%e4%b8%8a%e8%bf%9b%e8%a1%8c%e5%ae%89%e8%a3%85%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e7%89%b9%e5%ae%9a%e7%89%88%e6%9c%ac%e7%9a%84postgresql%e5%ae%a2%e6%88%b7%e7%ab%af%e5%9c%a8rhel8%e4%b8%8a%e8%bf%9b%e8%a1%8c%e5%ae%89%e8%a3%85%e3%80%82\/","title":{"rendered":"\u4f7f\u7528\u7279\u5b9a\u7248\u672c\u7684PostgreSQL\u5ba2\u6237\u7aef\u5728RHEL8\u4e0a\u8fdb\u884c\u5b89\u88c5"},"content":{"rendered":"<p>\u4f5c\u4e3aPostgreSQL\u7684\u5ba2\u6237\u7aef\uff0c\u6211\u60f3\u8981\u5f15\u5165\u7248\u672c12\u3002<\/p>\n<p>\u53ef\u4ee5\u4f7f\u7528 &#8220;dnf module install [\u540d\u79f0]:[\u6d41]\/[\u914d\u7f6e\u6587\u4ef6]&#8221; \u7684\u5f62\u5f0f\u8fdb\u884c\u6307\u5b9a\u3002<\/p>\n<pre class=\"post-pre\"><code>[root@power-rhel8 ~]# dnf module list postgresql\r\nUpdating Subscription Management repositories.\r\nRed Hat Ansible Engine 2 for RHEL 8 ppc64le (RPMs)                                                                                        122 kB\/s | 4.0 kB     00:00\r\nRed Hat Enterprise Linux 8 for Power, little endian - AppStream (RPMs)\r\nName                                Stream                          Profiles                                   Summary\r\npostgresql                          9.6                             client, server [d]                         PostgreSQL server and client module\r\npostgresql                          10 [d]                          client, server [d]                         PostgreSQL server and client module\r\npostgresql                          12                              client, server [d]                         PostgreSQL server and client module\r\npostgresql                          13                              client, server [d]                         PostgreSQL server and client module\r\n\r\nHint: [d]efault, [e]nabled, [x]disabled, [i]nstalled\r\n\r\n\r\n[root@power-rhel8 ~]# dnf module install postgresql:12\/client\r\nUpdating Subscription Management repositories.\r\nRed Hat Ansible Engine 2 for RHEL 8 ppc64le (RPMs)                                                                                        115 kB\/s | 4.0 kB     00:00\r\nDependencies resolved.\r\n==========================================================================================================================================================================\r\n Package                      Architecture              Version                                                 Repository                                           Size\r\n==========================================================================================================================================================================\r\nInstalling group\/module packages:\r\n postgresql                   ppc64le                   12.12-1.module+el8.6.0+16796+0abe6678                   rhel-8-for-ppc64le-appstream-rpms                   1.6 M\r\nInstalling dependencies:\r\n libpq                        ppc64le                   13.5-1.el8                                              rhel-8-for-ppc64le-appstream-rpms                   214 k\r\nInstalling module profiles:\r\n postgresql\/client\r\nEnabling module streams:\r\n postgresql                                             12\r\n\r\nTransaction Summary\r\n==========================================================================================================================================================================\r\nInstall  2 Packages\r\n\r\nTotal download size: 1.8 M\r\nInstalled size: 7.6 M\r\nIs this ok [y\/N]: y\r\nDownloading Packages:\r\n(1\/2): libpq-13.5-1.el8.ppc64le.rpm                                                                                                       3.2 MB\/s | 214 kB     00:00\r\n(2\/2): postgresql-12.12-1.module+el8.6.0+16796+0abe6678.ppc64le.rpm                                                                        14 MB\/s | 1.6 MB     00:00\r\n--------------------------------------------------------------------------------------------------------------------------------------------------------------------------\r\nTotal                                                                                                                                      16 MB\/s | 1.8 MB     00:00\r\nRunning transaction check\r\nTransaction check succeeded.\r\nRunning transaction test\r\nTransaction test succeeded.\r\nRunning transaction\r\n  Preparing        :                                                                                                                                                  1\/1\r\n  Installing       : libpq-13.5-1.el8.ppc64le                                                                                                                         1\/2\r\n  Installing       : postgresql-12.12-1.module+el8.6.0+16796+0abe6678.ppc64le                                                                                         2\/2\r\n  Running scriptlet: postgresql-12.12-1.module+el8.6.0+16796+0abe6678.ppc64le                                                                                         2\/2\r\n  Verifying        : libpq-13.5-1.el8.ppc64le                                                                                                                         1\/2\r\n  Verifying        : postgresql-12.12-1.module+el8.6.0+16796+0abe6678.ppc64le                                                                                         2\/2\r\nInstalled products updated.\r\n\r\nInstalled:\r\n  libpq-13.5-1.el8.ppc64le                                            postgresql-12.12-1.module+el8.6.0+16796+0abe6678.ppc64le\r\n\r\nComplete!\r\n\r\n\r\n[root@power-rhel8 ~]# psql --version\r\npsql (PostgreSQL) 12.12\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4f5c\u4e3aPostgreSQL\u7684\u5ba2\u6237\u7aef\uff0c\u6211\u60f3\u8981\u5f15\u5165\u7248\u672c12\u3002 \u53ef\u4ee5\u4f7f\u7528 &#8220;dnf module inst [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-41563","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4f7f\u7528\u7279\u5b9a\u7248\u672c\u7684PostgreSQL\u5ba2\u6237\u7aef\u5728RHEL8\u4e0a\u8fdb\u884c\u5b89\u88c5 - Blog - Silicon Cloud<\/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.silicloud.com\/zh\/blog\/\u4f7f\u7528\u7279\u5b9a\u7248\u672c\u7684postgresql\u5ba2\u6237\u7aef\u5728rhel8\u4e0a\u8fdb\u884c\u5b89\u88c5\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4f7f\u7528\u7279\u5b9a\u7248\u672c\u7684PostgreSQL\u5ba2\u6237\u7aef\u5728RHEL8\u4e0a\u8fdb\u884c\u5b89\u88c5\" \/>\n<meta property=\"og:description\" content=\"\u4f5c\u4e3aPostgreSQL\u7684\u5ba2\u6237\u7aef\uff0c\u6211\u60f3\u8981\u5f15\u5165\u7248\u672c12\u3002 \u53ef\u4ee5\u4f7f\u7528 &#8220;dnf module inst [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528\u7279\u5b9a\u7248\u672c\u7684postgresql\u5ba2\u6237\u7aef\u5728rhel8\u4e0a\u8fdb\u884c\u5b89\u88c5\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-12-05T12:20:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-15T03:01:51+00:00\" \/>\n<meta name=\"author\" content=\"\u65b0, \u97f5\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u65b0, \u97f5\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e7%89%b9%e5%ae%9a%e7%89%88%e6%9c%ac%e7%9a%84postgresql%e5%ae%a2%e6%88%b7%e7%ab%af%e5%9c%a8rhel8%e4%b8%8a%e8%bf%9b%e8%a1%8c%e5%ae%89%e8%a3%85%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e7%89%b9%e5%ae%9a%e7%89%88%e6%9c%ac%e7%9a%84postgresql%e5%ae%a2%e6%88%b7%e7%ab%af%e5%9c%a8rhel8%e4%b8%8a%e8%bf%9b%e8%a1%8c%e5%ae%89%e8%a3%85%e3%80%82\/\",\"name\":\"\u4f7f\u7528\u7279\u5b9a\u7248\u672c\u7684PostgreSQL\u5ba2\u6237\u7aef\u5728RHEL8\u4e0a\u8fdb\u884c\u5b89\u88c5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2022-12-05T12:20:46+00:00\",\"dateModified\":\"2024-01-15T03:01:51+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e7%89%b9%e5%ae%9a%e7%89%88%e6%9c%ac%e7%9a%84postgresql%e5%ae%a2%e6%88%b7%e7%ab%af%e5%9c%a8rhel8%e4%b8%8a%e8%bf%9b%e8%a1%8c%e5%ae%89%e8%a3%85%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e7%89%b9%e5%ae%9a%e7%89%88%e6%9c%ac%e7%9a%84postgresql%e5%ae%a2%e6%88%b7%e7%ab%af%e5%9c%a8rhel8%e4%b8%8a%e8%bf%9b%e8%a1%8c%e5%ae%89%e8%a3%85%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e7%89%b9%e5%ae%9a%e7%89%88%e6%9c%ac%e7%9a%84postgresql%e5%ae%a2%e6%88%b7%e7%ab%af%e5%9c%a8rhel8%e4%b8%8a%e8%bf%9b%e8%a1%8c%e5%ae%89%e8%a3%85%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4f7f\u7528\u7279\u5b9a\u7248\u672c\u7684PostgreSQL\u5ba2\u6237\u7aef\u5728RHEL8\u4e0a\u8fdb\u884c\u5b89\u88c5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9\",\"name\":\"\u65b0, \u97f5\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g\",\"caption\":\"\u65b0, \u97f5\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunxin\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e7%89%b9%e5%ae%9a%e7%89%88%e6%9c%ac%e7%9a%84postgresql%e5%ae%a2%e6%88%b7%e7%ab%af%e5%9c%a8rhel8%e4%b8%8a%e8%bf%9b%e8%a1%8c%e5%ae%89%e8%a3%85%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u4f7f\u7528\u7279\u5b9a\u7248\u672c\u7684PostgreSQL\u5ba2\u6237\u7aef\u5728RHEL8\u4e0a\u8fdb\u884c\u5b89\u88c5 - Blog - Silicon Cloud","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.silicloud.com\/zh\/blog\/\u4f7f\u7528\u7279\u5b9a\u7248\u672c\u7684postgresql\u5ba2\u6237\u7aef\u5728rhel8\u4e0a\u8fdb\u884c\u5b89\u88c5\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u4f7f\u7528\u7279\u5b9a\u7248\u672c\u7684PostgreSQL\u5ba2\u6237\u7aef\u5728RHEL8\u4e0a\u8fdb\u884c\u5b89\u88c5","og_description":"\u4f5c\u4e3aPostgreSQL\u7684\u5ba2\u6237\u7aef\uff0c\u6211\u60f3\u8981\u5f15\u5165\u7248\u672c12\u3002 \u53ef\u4ee5\u4f7f\u7528 &#8220;dnf module inst [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u4f7f\u7528\u7279\u5b9a\u7248\u672c\u7684postgresql\u5ba2\u6237\u7aef\u5728rhel8\u4e0a\u8fdb\u884c\u5b89\u88c5\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-12-05T12:20:46+00:00","article_modified_time":"2024-01-15T03:01:51+00:00","author":"\u65b0, \u97f5","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u65b0, \u97f5","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e7%89%b9%e5%ae%9a%e7%89%88%e6%9c%ac%e7%9a%84postgresql%e5%ae%a2%e6%88%b7%e7%ab%af%e5%9c%a8rhel8%e4%b8%8a%e8%bf%9b%e8%a1%8c%e5%ae%89%e8%a3%85%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e7%89%b9%e5%ae%9a%e7%89%88%e6%9c%ac%e7%9a%84postgresql%e5%ae%a2%e6%88%b7%e7%ab%af%e5%9c%a8rhel8%e4%b8%8a%e8%bf%9b%e8%a1%8c%e5%ae%89%e8%a3%85%e3%80%82\/","name":"\u4f7f\u7528\u7279\u5b9a\u7248\u672c\u7684PostgreSQL\u5ba2\u6237\u7aef\u5728RHEL8\u4e0a\u8fdb\u884c\u5b89\u88c5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2022-12-05T12:20:46+00:00","dateModified":"2024-01-15T03:01:51+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e7%89%b9%e5%ae%9a%e7%89%88%e6%9c%ac%e7%9a%84postgresql%e5%ae%a2%e6%88%b7%e7%ab%af%e5%9c%a8rhel8%e4%b8%8a%e8%bf%9b%e8%a1%8c%e5%ae%89%e8%a3%85%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e7%89%b9%e5%ae%9a%e7%89%88%e6%9c%ac%e7%9a%84postgresql%e5%ae%a2%e6%88%b7%e7%ab%af%e5%9c%a8rhel8%e4%b8%8a%e8%bf%9b%e8%a1%8c%e5%ae%89%e8%a3%85%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e7%89%b9%e5%ae%9a%e7%89%88%e6%9c%ac%e7%9a%84postgresql%e5%ae%a2%e6%88%b7%e7%ab%af%e5%9c%a8rhel8%e4%b8%8a%e8%bf%9b%e8%a1%8c%e5%ae%89%e8%a3%85%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u4f7f\u7528\u7279\u5b9a\u7248\u672c\u7684PostgreSQL\u5ba2\u6237\u7aef\u5728RHEL8\u4e0a\u8fdb\u884c\u5b89\u88c5"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/4ba4019495123db3038fd0809e6959c9","name":"\u65b0, \u97f5","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d484b6c6e4ae82e8a9efea989e1d2af46d9b6ef128101e63b18f559fca0ae627?s=96&d=mm&r=g","caption":"\u65b0, \u97f5"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunxin\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e4%bd%bf%e7%94%a8%e7%89%b9%e5%ae%9a%e7%89%88%e6%9c%ac%e7%9a%84postgresql%e5%ae%a2%e6%88%b7%e7%ab%af%e5%9c%a8rhel8%e4%b8%8a%e8%bf%9b%e8%a1%8c%e5%ae%89%e8%a3%85%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=41563"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41563\/revisions"}],"predecessor-version":[{"id":58861,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41563\/revisions\/58861"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=41563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=41563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=41563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}