{"id":41941,"date":"2023-07-25T18:58:06","date_gmt":"2023-08-17T21:52:34","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e8%af%95%e7%9d%80%e5%9c%a8centos-linux-7%e4%b8%8a%e5%ae%89%e8%a3%85%e4%ba%86postgresql-11%e3%80%82\/"},"modified":"2024-04-30T15:18:53","modified_gmt":"2024-04-30T07:18:53","slug":"%e6%88%91%e8%af%95%e7%9d%80%e5%9c%a8centos-linux-7%e4%b8%8a%e5%ae%89%e8%a3%85%e4%ba%86postgresql-11%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e8%af%95%e7%9d%80%e5%9c%a8centos-linux-7%e4%b8%8a%e5%ae%89%e8%a3%85%e4%ba%86postgresql-11%e3%80%82\/","title":{"rendered":"\u6211\u8bd5\u7740\u5728CentOS-Linux-7\u4e0a\u5b89\u88c5\u4e86PostgreSQL 11"},"content":{"rendered":"<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u95a2\u9023\u8a18\u4e8b<\/ul>\n<\/li>\n<\/ul>\n<p>CentOS-Linux-7\u306bPostgreSQL 10\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u305f<\/p>\n<h1>\u73af\u5883<\/h1>\n<pre class=\"post-pre\"><code><span class=\"gp\">#<\/span> <span class=\"nb\">cat<\/span> \/etc\/redhat-release<span class=\"p\">;<\/span> <span class=\"nb\">arch<\/span><span class=\"p\">;<\/span> locale | <span class=\"nb\">head<\/span> <span class=\"nt\">-n1<\/span><span class=\"p\">;<\/span> <span class=\"nb\">users<\/span>\r\n<span class=\"go\">CentOS Linux release 7.6.1810 (Core) \r\nx86_64\r\nLANG=ja_JP.utf8\r\nroot root\r\n<\/span><\/code><\/pre>\n<h1>\u5b89\u6392<\/h1>\n<p>\u4f7f\u7528 root \u7528\u6237\u8d26\u6237\u8fdb\u884c\u5b89\u88c5\uff0c\u7136\u540e\u4f7f\u7528\u7531\u5176\u81ea\u52a8\u751f\u6210\u7684 postgres \u7528\u6237\u8d26\u6237\u8fdb\u884c\u914d\u7f6e\u548c\u64cd\u4f5c\u6d4b\u8bd5\u3002<\/p>\n<p>18.1. The PostgreSQL User Account: \u30dd\u30b9\u30b0\u30ec\u672c\u5bb6\uff08\u82f1\u8a9e\uff09\uff5c\u65e7\u7248\u306e\u548c\u8a33: JPUG<\/p>\n<h1>\u5b89\u88c5<\/h1>\n<h2>\u5982\u679c\u5df2\u7ecf\u5b89\u88c5\u4e86PostgreSQL\uff0c\u5219\u5220\u9664\u5b83\u3002<\/h2>\n<pre class=\"post-pre\"><code><span class=\"gp\">#<\/span> yum list installed | <span class=\"nb\">grep <\/span>postgres\r\n<span class=\"gp\">#<\/span> yum remove postgresql postgresql-libs postgresql-server\r\n<span class=\"gp\">#<\/span> userdel <span class=\"nt\">-r<\/span> postgres\r\n<\/code><\/pre>\n<h2>\u5b89\u88c5yum\u4ed3\u5e93\u8bbe\u7f6e\u3002<\/h2>\n<pre class=\"post-pre\"><code><span class=\"gp\">#<\/span> rpm <span class=\"nt\">-ivh<\/span> https:\/\/download.postgresql.org\/pub\/repos\/yum\/11\/redhat\/rhel-7-x86_64\/pgdg-centos11-11-2.noarch.rpm\r\n<\/code><\/pre>\n<p>PostgreSQL RPM Repository (with Yum)\uff08\u82f1\u8a9e\uff09<\/p>\n<h2>\u5b89\u88c5PostgreSQL11<\/h2>\n<pre class=\"post-pre\"><code><span class=\"gp\">#<\/span> yum <span class=\"nb\">install <\/span>postgresql11 postgresql11-libs postgresql11-server\r\n<span class=\"c\">...\r\n<\/span><span class=\"go\">\u5b8c\u4e86\u3057\u307e\u3057\u305f!\r\n<\/span><span class=\"gp\">#<\/span> psql <span class=\"nt\">--version<\/span>\r\n<span class=\"go\">psql (PostgreSQL) 11.1\r\n<\/span><\/code><\/pre>\n<p>psql: \u30dd\u30b9\u30b0\u30ec\u672c\u5bb6\uff08\u82f1\u8a9e\uff09\uff5c\u65e7\u7248\u306e\u548c\u8a33: JPUG<\/p>\n<h1>\u8bbe\u5b9a\u548c\u8fd0\u884c\u6d4b\u8bd5<\/h1>\n<h2>\u6570\u636e\u5e93\u670d\u52a1\u5668\u81ea\u52a8\u542f\u52a8\u8bbe\u7f6e<\/h2>\n<pre class=\"post-pre\"><code><span class=\"gp\">#<\/span> systemctl <span class=\"nb\">enable <\/span>postgresql-11.service\r\n<span class=\"go\">Created symlink from \/etc\/systemd\/system\/multi-user.target.wants\/postgresql-11.service to \/usr\/lib\/systemd\/system\/postgresql-11.service.\r\n<\/span><span class=\"gp\">#<\/span> systemctl list-unit-files <span class=\"nt\">-t<\/span> service | <span class=\"nb\">grep <\/span>postgres\r\n<span class=\"go\">postgresql-11.service                         enabled\r\n<\/span><\/code><\/pre>\n<h2>\u786e\u8ba4\u662f\u5426\u5df2\u6ce8\u518c\u4e86postgres\u7528\u6237\u8d26\u6237\u3002<\/h2>\n<pre class=\"post-pre\"><code><span class=\"gp\">#<\/span> <span class=\"nb\">cut<\/span> <span class=\"nt\">-d<\/span>: <span class=\"nt\">-f1<\/span> \/etc\/passwd | <span class=\"nb\">grep <\/span>postgres\r\n<span class=\"go\">postgres\r\n<\/span><\/code><\/pre>\n<h2>\u767b\u5165\u5230postgres\u7528\u6237\u8d26\u6237\u3002<\/h2>\n<pre class=\"post-pre\"><code><span class=\"gp\">#<\/span> su - postgres\r\n<\/code><\/pre>\n<h2>\u73af\u5883\u53d8\u91cf<\/h2>\n<pre class=\"post-pre\"><code><span class=\"gp\">$<\/span> vim <span class=\"nt\">-c<\/span> <span class=\"s1\">'start|:set number|:2'<\/span> ~\/.bash_profile\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code><span class=\"gd\">- PGDATA=\/var\/lib\/pgsql\/11\/data\r\n<\/span><span class=\"gi\">+ PGCLUSTER=11\/data\r\n+ PGHOME=\/usr\/pgsql-${PGCLUSTER%%\\\/*}\r\n+ export PATH=$PGHOME\/bin:$PATH\r\n+ export LD_LIBRARY_PATH=$PGHOME\/lib:$LD_LIBRARY_PATH\r\n+ export MANPATH=$PGHOME\/share\/man:$MANPATH\r\n+ PGDATA=\/var\/lib\/pgsql\/$PGCLUSTER\r\n<\/span><\/code><\/pre>\n<p>\u5c06\u7b2c2\u884c\u66ff\u6362\u4e3a+\u53f7\uff0c\u5e76\u4f7f\u7528[ESC]\u952e\u2192:wq\u8fdb\u884c\u4fdd\u5b58\u548c\u9000\u51fa\u3002<\/p>\n<p>16.5. Post-Installation Setup: \u30dd\u30b9\u30b0\u30ec\u672c\u5bb6\uff08\u82f1\u8a9e\uff09\uff5c\u65e7\u7248\u306e\u548c\u8a33: JPUG<\/p>\n<h2>\u5e94\u7528\u8bbe\u7f6e\u751f\u6548<\/h2>\n<pre class=\"post-pre\"><code><span class=\"gp\">$<\/span> <span class=\"nb\">.<\/span> ~\/.bash_profile\r\n<span class=\"gp\">$<\/span> <span class=\"nb\">printenv <\/span>PGDATA\r\n<span class=\"go\">\/var\/lib\/pgsql\/11\/data\r\n<\/span><\/code><\/pre>\n<h2>\u521d\u59cb\u5316\u6570\u636e\u5e93\u96c6\u7fa4<\/h2>\n<pre class=\"post-pre\"><code><span class=\"gp\">$<\/span> initdb <span class=\"nt\">--no-locale<\/span> <span class=\"nt\">-D<\/span> <span class=\"s2\">\"<\/span><span class=\"nv\">$PGDATA<\/span><span class=\"s2\">\"<\/span>\r\n<\/code><\/pre>\n<p>&#8211;no-locale\u30aa\u30d7\u30b7\u30e7\u30f3: \u30ed\u30b1\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u306a\u3044\uff08\u63a8\u5968\uff09<\/p>\n<p>18.2. Creating a Database Cluster: \u30dd\u30b9\u30b0\u30ec\u672c\u5bb6\uff08\u82f1\u8a9e\uff09\uff5c\u65e7\u7248\u306e\u548c\u8a33: JPUG<\/p>\n<p>initdb: \u30dd\u30b9\u30b0\u30ec\u672c\u5bb6\uff08\u82f1\u8a9e\uff09\uff5c\u65e7\u7248\u306e\u548c\u8a33: JPUG<\/p>\n<h2>\u542f\u52a8\u6570\u636e\u5e93\u670d\u52a1\u5668\uff0c\u5e76\u786e\u8ba4\u5f53\u524d\u7684\u6570\u636e\u5e93\u96c6\u7fa4\u3002<\/h2>\n<pre class=\"post-pre\"><code><span class=\"gp\">$<\/span> pg_ctl start\r\n<span class=\"c\">...\r\n<\/span><span class=\"go\">\u30b5\u30fc\u30d0\u8d77\u52d5\u5b8c\u4e86\r\n<\/span><span class=\"gp\">$<\/span> psql <span class=\"nt\">-l<\/span>\r\n<span class=\"go\">                                        \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u4e00\u89a7\r\n   \u540d\u524d    |  \u6240\u6709\u8005  | \u30a8\u30f3\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0 | \u7167\u5408\u9806\u5e8f | Ctype(\u5909\u63db\u6f14\u7b97\u5b50) |     \u30a2\u30af\u30bb\u30b9\u6a29\u9650      \r\n-----------+----------+------------------+----------+-------------------+-----------------------\r\n postgres  | postgres | SQL_ASCII        | C        | C                 | \r\n template0 | postgres | SQL_ASCII        | C        | C                 | =c\/postgres          +\r\n           |          |                  |          |                   | postgres=CTc\/postgres\r\n template1 | postgres | SQL_ASCII        | C        | C                 | =c\/postgres          +\r\n           |          |                  |          |                   | postgres=CTc\/postgres\r\n(3 \u884c)\r\n\r\n<\/span><span class=\"gp\">$<\/span> <span class=\"nb\">ls<\/span> <span class=\"s2\">\"<\/span><span class=\"nv\">$PGDATA<\/span><span class=\"s2\">\"<\/span>\r\n<span class=\"go\">PG_VERSION        pg_commit_ts   pg_multixact  pg_stat      pg_wal                postmaster.pid\r\nbase              pg_dynshmem    pg_notify     pg_stat_tmp  pg_xact\r\ncurrent_logfiles  pg_hba.conf    pg_replslot   pg_subtrans  postgresql.auto.conf\r\nglobal            pg_ident.conf  pg_serial     pg_tblspc    postgresql.conf\r\nlog               pg_logical     pg_snapshots  pg_twophase  postmaster.opts\r\n<\/span><\/code><\/pre>\n<p>18.3. Starting the Database Server: \u30dd\u30b9\u30b0\u30ec\u672c\u5bb6\uff08\u82f1\u8a9e\uff09\uff5c\u65e7\u7248\u306e\u548c\u8a33: JPUG<\/p>\n<p>pg_ctl: \u30dd\u30b9\u30b0\u30ec\u672c\u5bb6\uff08\u82f1\u8a9e\uff09\uff5c\u65e7\u7248\u306e\u548c\u8a33: JPUG<\/p>\n<p>22.3. Template Databases: \u30dd\u30b9\u30b0\u30ec\u672c\u5bb6\uff08\u82f1\u8a9e\uff09\uff5c\u65e7\u7248\u306e\u548c\u8a33: JPUG<\/p>\n<p>68.1. Database File Layout: \u30dd\u30b9\u30b0\u30ec\u672c\u5bb6\uff08\u82f1\u8a9e\uff09\uff5c\u65e7\u7248\u306e\u548c\u8a33: JPUG<\/p>\n<h2>\u4f60\u597d\uff0c\u4e16\u754c\uff01\u5370\u5237\u6d4b\u8bd5<\/h2>\n<h3>\u4e0d\u9700\u8981\u811a\u672c<\/h3>\n<pre class=\"post-pre\"><code><span class=\"gp\">$<\/span> psql <span class=\"nt\">-t<\/span> <span class=\"nt\">-A<\/span> <span class=\"nt\">-c<\/span> <span class=\"s2\">\"SELECT 'Hello, World! '\"<\/span>\r\n<span class=\"go\">Hello, World!\r\n<\/span><\/code><\/pre>\n<h3>\u6709\u811a\u672c<\/h3>\n<pre class=\"post-pre\"><code><span class=\"gp\">$<\/span> vim <span class=\"nt\">-c<\/span> <span class=\"s1\">'start|:set number'<\/span> ~\/hello.sql\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code><span class=\"c1\">-- -*- mode: sql; sql-product: postgres; -*-<\/span>\r\n<span class=\"k\">SELECT<\/span> <span class=\"s1\">'Hello, World!'<\/span><span class=\"p\">;<\/span>\r\n<\/code><\/pre>\n<p>\u8bf7\u6309\u7167\u4e0a\u8ff0\u6b65\u9aa4\u8fdb\u884c\u8f93\u5165\uff0c\u4f7f\u7528[ESC]\u952e\u2192:wq\u8fdb\u884c\u4fdd\u5b58\u548c\u9000\u51fa\u3002<\/p>\n<h4>\u628a\u4e0b\u9762\u7684\u53e5\u5b50\u7528\u4e2d\u6587\u8fdb\u884c\u672c\u5730\u5316\u6539\u5199\uff0c\u53ea\u9700\u8981\u4e00\u4e2a\u9009\u9879\uff1a<\/h4>\n<p>\u6a21\u5f0f1<\/p>\n<pre class=\"post-pre\"><code><span class=\"gp\">$<\/span> psql <span class=\"nt\">-t<\/span> <span class=\"nt\">-A<\/span> &lt; ~\/hello.sql\r\n<span class=\"go\">Hello, World!\r\n<\/span><\/code><\/pre>\n<h4>\u7b2c\u4e8c\u4e2a\u6a21\u5f0f<\/h4>\n<pre class=\"post-pre\"><code><span class=\"gp\">$<\/span> psql <span class=\"nt\">-t<\/span> <span class=\"nt\">-A<\/span> <span class=\"nt\">-f<\/span> ~\/hello.sql\r\n<span class=\"go\">Hello, World!\r\n<\/span><\/code><\/pre>\n<p>Chapter 2. The SQL Language: \u30dd\u30b9\u30b0\u30ec\u672c\u5bb6\uff08\u82f1\u8a9e\uff09\uff5c\u65e7\u7248\u306e\u548c\u8a33: JPUG<\/p>\n<p>SELECT: \u30dd\u30b9\u30b0\u30ec\u672c\u5bb6\uff08\u82f1\u8a9e\uff09\uff5c\u65e7\u7248\u306e\u548c\u8a33: JPUG<\/p>\n<h2>\u9000\u51fa\u767b\u5f55<\/h2>\n<pre class=\"post-pre\"><code><span class=\"gp\">$<\/span> <span class=\"nb\">logout<\/span>\r\n<\/code><\/pre>\n<h1>\u8bf7\u53c2\u9605<\/h1>\n<p>PostgreSQL \u672c\u5bb6\uff08\u82f1\u8a9e\uff09<\/p>\n<p>PostgreSQL 11.1 Documentation: \u30dd\u30b9\u30b0\u30ec\u672c\u5bb6\uff08\u82f1\u8a9e\uff09<\/p>\n<p>\u65e5\u672cPostgreSQL\u30e6\u30fc\u30b6\u4f1a\uff08JPUG\uff09<\/p>\n<p>PostgreSQL 10.5\u6587\u66f8: JPUG<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u95a2\u9023\u8a18\u4e8b CentOS-Linux-7\u306bPostgreSQL 10\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u305f \u73af\u5883 # cat \/ [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-41941","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>\u6211\u8bd5\u7740\u5728CentOS-Linux-7\u4e0a\u5b89\u88c5\u4e86PostgreSQL 11 - 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\/\u6211\u8bd5\u7740\u5728centos-linux-7\u4e0a\u5b89\u88c5\u4e86postgresql-11\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6211\u8bd5\u7740\u5728CentOS-Linux-7\u4e0a\u5b89\u88c5\u4e86PostgreSQL 11\" \/>\n<meta property=\"og:description\" content=\"\u95a2\u9023\u8a18\u4e8b CentOS-Linux-7\u306bPostgreSQL 10\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u305f \u73af\u5883 # cat \/ [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u6211\u8bd5\u7740\u5728centos-linux-7\u4e0a\u5b89\u88c5\u4e86postgresql-11\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-17T21:52:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-30T07:18:53+00:00\" \/>\n<meta name=\"author\" content=\"\u79d1, \u96c5\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u79d1, \u96c5\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \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\/%e6%88%91%e8%af%95%e7%9d%80%e5%9c%a8centos-linux-7%e4%b8%8a%e5%ae%89%e8%a3%85%e4%ba%86postgresql-11%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e8%af%95%e7%9d%80%e5%9c%a8centos-linux-7%e4%b8%8a%e5%ae%89%e8%a3%85%e4%ba%86postgresql-11%e3%80%82\/\",\"name\":\"\u6211\u8bd5\u7740\u5728CentOS-Linux-7\u4e0a\u5b89\u88c5\u4e86PostgreSQL 11 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-08-17T21:52:34+00:00\",\"dateModified\":\"2024-04-30T07:18:53+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e8%af%95%e7%9d%80%e5%9c%a8centos-linux-7%e4%b8%8a%e5%ae%89%e8%a3%85%e4%ba%86postgresql-11%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e8%af%95%e7%9d%80%e5%9c%a8centos-linux-7%e4%b8%8a%e5%ae%89%e8%a3%85%e4%ba%86postgresql-11%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e8%af%95%e7%9d%80%e5%9c%a8centos-linux-7%e4%b8%8a%e5%ae%89%e8%a3%85%e4%ba%86postgresql-11%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6211\u8bd5\u7740\u5728CentOS-Linux-7\u4e0a\u5b89\u88c5\u4e86PostgreSQL 11\"}]},{\"@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\/41e222757cdd2a3365361328bd79970a\",\"name\":\"\u79d1, \u96c5\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g\",\"caption\":\"\u79d1, \u96c5\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keya\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e8%af%95%e7%9d%80%e5%9c%a8centos-linux-7%e4%b8%8a%e5%ae%89%e8%a3%85%e4%ba%86postgresql-11%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u6211\u8bd5\u7740\u5728CentOS-Linux-7\u4e0a\u5b89\u88c5\u4e86PostgreSQL 11 - 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\/\u6211\u8bd5\u7740\u5728centos-linux-7\u4e0a\u5b89\u88c5\u4e86postgresql-11\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u6211\u8bd5\u7740\u5728CentOS-Linux-7\u4e0a\u5b89\u88c5\u4e86PostgreSQL 11","og_description":"\u95a2\u9023\u8a18\u4e8b CentOS-Linux-7\u306bPostgreSQL 10\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u305f \u73af\u5883 # cat \/ [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u6211\u8bd5\u7740\u5728centos-linux-7\u4e0a\u5b89\u88c5\u4e86postgresql-11\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-08-17T21:52:34+00:00","article_modified_time":"2024-04-30T07:18:53+00:00","author":"\u79d1, \u96c5","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u79d1, \u96c5","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e8%af%95%e7%9d%80%e5%9c%a8centos-linux-7%e4%b8%8a%e5%ae%89%e8%a3%85%e4%ba%86postgresql-11%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e8%af%95%e7%9d%80%e5%9c%a8centos-linux-7%e4%b8%8a%e5%ae%89%e8%a3%85%e4%ba%86postgresql-11%e3%80%82\/","name":"\u6211\u8bd5\u7740\u5728CentOS-Linux-7\u4e0a\u5b89\u88c5\u4e86PostgreSQL 11 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-08-17T21:52:34+00:00","dateModified":"2024-04-30T07:18:53+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/41e222757cdd2a3365361328bd79970a"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e8%af%95%e7%9d%80%e5%9c%a8centos-linux-7%e4%b8%8a%e5%ae%89%e8%a3%85%e4%ba%86postgresql-11%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e8%af%95%e7%9d%80%e5%9c%a8centos-linux-7%e4%b8%8a%e5%ae%89%e8%a3%85%e4%ba%86postgresql-11%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e8%af%95%e7%9d%80%e5%9c%a8centos-linux-7%e4%b8%8a%e5%ae%89%e8%a3%85%e4%ba%86postgresql-11%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u6211\u8bd5\u7740\u5728CentOS-Linux-7\u4e0a\u5b89\u88c5\u4e86PostgreSQL 11"}]},{"@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\/41e222757cdd2a3365361328bd79970a","name":"\u79d1, \u96c5","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1b2d3e00a7df03689797ebd4af8c5827ba5af936849a71050ec331f4cf902c5d?s=96&d=mm&r=g","caption":"\u79d1, \u96c5"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keya\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e6%88%91%e8%af%95%e7%9d%80%e5%9c%a8centos-linux-7%e4%b8%8a%e5%ae%89%e8%a3%85%e4%ba%86postgresql-11%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\/41941","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\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=41941"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41941\/revisions"}],"predecessor-version":[{"id":92690,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41941\/revisions\/92690"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=41941"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=41941"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=41941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}