{"id":41496,"date":"2023-01-12T01:00:42","date_gmt":"2023-08-15T08:26:13","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8rockylinux8-5%e4%bb%a5%e5%8f%8arockylinux9-0%e5%92%8cubuntu-server-22-04%e4%b8%8a%e4%bb%8e%e6%ba%90%e4%bb%a3%e7%a0%81%e5%ae%89%e8%a3%85postgresql-15%e3%80%82\/"},"modified":"2024-04-29T09:31:26","modified_gmt":"2024-04-29T01:31:26","slug":"%e5%9c%a8rockylinux8-5%e4%bb%a5%e5%8f%8arockylinux9-0%e5%92%8cubuntu-server-22-04%e4%b8%8a%e4%bb%8e%e6%ba%90%e4%bb%a3%e7%a0%81%e5%ae%89%e8%a3%85postgresql-15%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8rockylinux8-5%e4%bb%a5%e5%8f%8arockylinux9-0%e5%92%8cubuntu-server-22-04%e4%b8%8a%e4%bb%8e%e6%ba%90%e4%bb%a3%e7%a0%81%e5%ae%89%e8%a3%85postgresql-15%e3%80%82\/","title":{"rendered":"\u5728RockyLinux8.5\u4ee5\u53caRockyLinux9.0\u548cUbuntu Server 22.04\u4e0a\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5PostgreSQL 15"},"content":{"rendered":"<p>##\u6982\u8ff0<br \/>\nPostgreSQL\u662f\u4e00\u79cd\u5e7f\u4e3a\u4eba\u77e5\u7684\u4f01\u4e1a\u7ea7\u6570\u636e\u5e93\u3002\u622a\u81f32023\u5e746\u6708\uff0c15.3\u662f\u6700\u65b0\u7248\u672c\u3002\u5728\u672c\u73af\u5883\u4e2d\uff0c\u5c06\u4ee5RockyLinux\u548cUbuntu Server\u4e3a\u57fa\u7840\uff0c\u4ece\u6e90\u4ee3\u7801\u8fdb\u884c\u7f16\u8bd1\u5b89\u88c5\u3002<br \/>\n\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u9884\u5148\u9700\u8981\u5b89\u88c5zlib\u3002<\/p>\n<p>##\u51c6\u5907\u5de5\u4f5c<\/p>\n<p>\u5982\u679c\u5df2\u7ecf\u5b89\u88c5\u4e86\u64cd\u4f5c\u7cfb\u7edf\u6807\u51c6\u7684PostgreSQL\uff0c\u9700\u8981\u5c06\u5176\u5378\u8f7d\u6389\u3002<\/p>\n<pre class=\"post-pre\"><code>rpm <span class=\"nt\">-e<\/span> qt-postgresql-4.8.5-13.el7.x86_64\r\nrpm <span class=\"nt\">-e<\/span> qt5-qtbase-postgresql-5.6.1-10.el7.x86_64\r\nrpm <span class=\"nt\">-e<\/span> postgresql-devel-9.2.18-1.el7.x86_64\r\nrpm <span class=\"nt\">-e<\/span> qt3-PostgreSQL-3.3.8b-51.el7.x86_64\r\nrpm <span class=\"nt\">-e<\/span> postgresql-libs-9.2.18-1.el7.x86_64\r\n<\/code><\/pre>\n<p>\u63d0\u524d\u521b\u5efa\u7528\u6237\u548c\u5de5\u4f5c\u76ee\u5f55\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nb\">mkdir<\/span> \/usr\/local\/pgsql \r\nuseradd postgres\r\n<span class=\"nb\">chown <\/span>postgres:postgres \/usr\/local\/pgsql \r\n<\/code><\/pre>\n<h2>\u9a8c\u8bc1\u73af\u5883\u7248\u672c<\/h2>\n<div>\n<div class=\"post-table\">\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30d0\u30fc\u30b8\u30e7\u30f3PostgreSQL15.3OSRockyLinux 8.5 and RockyLinux 9.1 and Ubuntu Server 22.04<\/div>\n<\/div>\n<p>\u5b89\u88c5\u5de5\u4f5c<\/p>\n<pre class=\"post-pre\"><code><span class=\"nb\">cd<\/span> \/usr\/local\/src\r\nwget https:\/\/ftp.postgresql.org\/pub\/source\/v15.3\/postgresql-15.3.tar.gz\r\n<span class=\"nb\">tar <\/span>xvzf postgresql-15.3.tar.gz\r\n<span class=\"nb\">chown<\/span> <span class=\"nt\">-R<\/span> postgres:postgres postgresql-15.3\r\nsu postgres\r\n<span class=\"nb\">cd <\/span>postgresql-15.3\r\n.\/configure <span class=\"nt\">--without-readline<\/span>\r\nmake <span class=\"nt\">-j<\/span> 8\r\nmake <span class=\"nb\">install<\/span>\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>su postgres\r\nvi ~\/.bashrc\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code><span class=\"c\">#\u4ee5\u4e0b\u306e\u5185\u5bb9\u3092\u6700\u4e0b\u90e8\u306b\u66f8\u3044\u3066\u4fdd\u5b58<\/span>\r\n<span class=\"nb\">export <\/span><span class=\"nv\">PATH<\/span><span class=\"o\">=<\/span><span class=\"s2\">\"<\/span><span class=\"nv\">$PATH<\/span><span class=\"s2\">\"<\/span>:\/usr\/local\/pgsql\/bin \r\n<span class=\"nb\">export <\/span><span class=\"nv\">POSTGRES_HOME<\/span><span class=\"o\">=<\/span>\/usr\/local\/pgsql \r\n<span class=\"nb\">export <\/span><span class=\"nv\">PGLIB<\/span><span class=\"o\">=<\/span><span class=\"nv\">$POSTGRES_HOME<\/span>\/lib \r\n<span class=\"nb\">export <\/span><span class=\"nv\">PGDATA<\/span><span class=\"o\">=<\/span><span class=\"nv\">$POSTGRES_HOME<\/span>\/data \r\n<span class=\"nb\">export <\/span><span class=\"nv\">MANPATH<\/span><span class=\"o\">=<\/span><span class=\"s2\">\"<\/span><span class=\"nv\">$MANPATH<\/span><span class=\"s2\">\"<\/span>:<span class=\"nv\">$POSTGRES_HOME<\/span>\/man \r\n<span class=\"nb\">export <\/span><span class=\"nv\">LD_LIBRARY_PATH<\/span><span class=\"o\">=<\/span><span class=\"s2\">\"<\/span><span class=\"nv\">$LD_LIBRARY_PATH<\/span><span class=\"s2\">\"<\/span>:<span class=\"s2\">\"<\/span><span class=\"nv\">$PGLIB<\/span><span class=\"s2\">\"<\/span>  \r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code><span class=\"nb\">source<\/span> ~\/.bashrc\r\n<\/code><\/pre>\n<p>## \u521d\u59cb\u8bbe\u7f6e<br \/>\n### \u5bf9\u6570\u636e\u5e93\u8fdb\u884c\u521d\u59cb\u5316<\/p>\n<pre class=\"post-pre\"><code>initdb <span class=\"nt\">--no-locale<\/span> \r\n<\/code><\/pre>\n<p>### \u8bbe\u7f6eListen\u5730\u5740<br \/>\n\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u8bbe\u7f6e\u4ec5\u9650\u672c\u5730\u4e3b\u673a\u8bbf\u95ee\uff0c\u4f46\u5728\u4f7f\u7528\u96c6\u7fa4\u670d\u52a1\u5668\u65f6\uff0c\u5982\u679c\u4ece\u5176\u4ed6AP\u670d\u52a1\u5668\u6216\u5ba2\u6237\u7aef\u8bbf\u95ee\u6570\u636e\u5e93\uff0c\u5219\u9700\u8981\u9002\u5f53\u6269\u5927\u53ef\u8bbf\u95ee\u8303\u56f4\u3002<br \/>\n\u672c\u6b21\u8bbe\u7f6e\u4e3a\u4eceANY\u5730\u5740\u63a5\u6536\u901a\u4fe1\uff08\u5b89\u5168\u65b9\u9762\u9700\u8981\u6ce8\u610f\uff09\u3002<\/p>\n<pre class=\"post-pre\"><code>vi \/usr\/local\/pgsql\/data\/postgresql.conf\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code><span class=\"c\">#listen_addresses = 'localhost'<\/span>\r\n\u2193\r\nlisten_addresses <span class=\"o\">=<\/span> <span class=\"s1\">'*'<\/span>\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>vi <span class=\"nv\">$PGDATA<\/span>\/pg_hba.conf\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>host    all             all              0.0.0.0\/0               trust\r\n<\/code><\/pre>\n<p>\u786e\u8ba4\u542f\u52a8<\/p>\n<pre class=\"post-pre\"><code>pg_ctl <span class=\"nt\">-w<\/span> start\r\n<\/code><\/pre>\n<p>\u6dfb\u52a0\u7ba1\u7406\u7528\u6237<\/p>\n<pre class=\"post-pre\"><code>createuser admin <span class=\"nt\">-s<\/span> <span class=\"nt\">-P<\/span>\r\n<\/code><\/pre>\n<p>\u597d\u597d\u505c\u4e0b\u6765<\/p>\n<pre class=\"post-pre\"><code>pg_ctl <span class=\"nt\">-w<\/span> stop\r\n<\/code><\/pre>\n<p>##\u542f\u52a8\u811a\u672c<br \/>\n\u542f\u52a8\u811a\u672c\u7684\u7ec4\u6210\u662f\u901a\u8fc7CentOS7.2\u63d0\u4f9b\u7684rpm\u5305\u3002<\/p>\n<pre class=\"post-pre\"><code>su root\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code><span class=\"nb\">cat<\/span> <span class=\"o\">&gt;<\/span> \/usr\/lib\/systemd\/system\/postgresql.service <span class=\"o\">&lt;&lt;<\/span> <span class=\"no\">EOF<\/span><span class=\"sh\">\r\n# It's not recommended to modify this file in-place, because it will be\r\n# overwritten during package upgrades.  If you want to customize, the\r\n# best way is to create a file \"\/etc\/systemd\/system\/postgresql.service\",\r\n# containing\r\n#\t.include \/lib\/systemd\/system\/postgresql.service\r\n#\t...make your changes here...\r\n# For more info about custom unit files, see\r\n# http:\/\/fedoraproject.org\/wiki\/Systemd#How_do_I_customize_a_unit_file.2F_add_a_custom_unit_file.3F\r\n\r\n# For example, if you want to change the server's port number to 5433,\r\n# create a file named \"\/etc\/systemd\/system\/postgresql.service\" containing:\r\n#\t.include \/lib\/systemd\/system\/postgresql.service\r\n#\t[Service]\r\n#\tEnvironment=PGPORT=5433\r\n# This will override the setting appearing below.\r\n\r\n# Note: changing PGPORT or PGDATA will typically require adjusting SELinux\r\n# configuration as well; see \/usr\/share\/doc\/postgresql-*\/README.rpm-dist.\r\n\r\n# Note: do not use a PGDATA pathname containing spaces, or you will\r\n# break postgresql-setup.\r\n\r\n# Note: in F-17 and beyond, \/usr\/lib\/... is recommended in the .include line\r\n# though \/lib\/... will still work.\r\n\r\n[Unit]\r\nDescription=PostgreSQL database server\r\nAfter=network.target\r\n\r\n[Service]\r\nType=forking\r\n\r\nUser=postgres\r\nGroup=postgres\r\n\r\n# Port number for server to listen on\r\nEnvironment=PGPORT=5432\r\n\r\n# Location of database directory\r\nEnvironment=PGDATA=\/usr\/local\/pgsql\/data\r\n\r\n# Where to send early-startup messages from the server (before the logging\r\n# options of postgresql.conf take effect)\r\n# This is normally controlled by the global default set by systemd\r\n# StandardOutput=syslog\r\n\r\n# Disable OOM kill on the postmaster\r\nOOMScoreAdjust=-1000\r\n\r\n#ExecStartPre=\/usr\/local\/pgsql\/bin\/postgresql-check-db-dir <\/span><span class=\"se\">\\$<\/span><span class=\"sh\">{PGDATA} &lt;=\u3053\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u5b58\u5728\u3057\u306a\u3044\u306e\u3067\u30b3\u30e1\u30f3\u30c8\r\nExecStart=\/usr\/local\/pgsql\/bin\/pg_ctl start -D <\/span><span class=\"se\">\\$<\/span><span class=\"sh\">{PGDATA} -s -o \"-p <\/span><span class=\"se\">\\$<\/span><span class=\"sh\">{PGPORT}\" -w -t 300\r\nExecStop=\/usr\/local\/pgsql\/bin\/pg_ctl stop -D <\/span><span class=\"se\">\\$<\/span><span class=\"sh\">{PGDATA} -s -m fast\r\nExecReload=\/usr\/local\/pgsql\/bin\/pg_ctl reload -D <\/span><span class=\"se\">\\$<\/span><span class=\"sh\">{PGDATA} -s\r\n\r\n# Give a reasonable amount of time for the server to start up\/shut down\r\nTimeoutSec=300\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\n<\/span><span class=\"no\">\r\nEOF\r\n<\/span><\/code><\/pre>\n<p>##\u5728\u670d\u52a1\u4e2d\u7684\u542f\u52a8\u548c\u505c\u6b62<\/p>\n<pre class=\"post-pre\"><code>systemctl start postgresql\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>systemctl stop postgresql\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>systemctl <span class=\"nb\">enable <\/span>postgresql\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>##\u6982\u8ff0 PostgreSQL\u662f\u4e00\u79cd\u5e7f\u4e3a\u4eba\u77e5\u7684\u4f01\u4e1a\u7ea7\u6570\u636e\u5e93\u3002\u622a\u81f32023\u5e746\u6708\uff0c15.3\u662f\u6700\u65b0\u7248\u672c\u3002\u5728\u672c\u73af\u5883\u4e2d [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-41496","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>\u5728RockyLinux8.5\u4ee5\u53caRockyLinux9.0\u548cUbuntu Server 22.04\u4e0a\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5PostgreSQL 15 - 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\/\u5728rockylinux8-5\u4ee5\u53carockylinux9-0\u548cubuntu-server-22-04\u4e0a\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5postgresql-15\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728RockyLinux8.5\u4ee5\u53caRockyLinux9.0\u548cUbuntu Server 22.04\u4e0a\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5PostgreSQL 15\" \/>\n<meta property=\"og:description\" content=\"##\u6982\u8ff0 PostgreSQL\u662f\u4e00\u79cd\u5e7f\u4e3a\u4eba\u77e5\u7684\u4f01\u4e1a\u7ea7\u6570\u636e\u5e93\u3002\u622a\u81f32023\u5e746\u6708\uff0c15.3\u662f\u6700\u65b0\u7248\u672c\u3002\u5728\u672c\u73af\u5883\u4e2d [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728rockylinux8-5\u4ee5\u53carockylinux9-0\u548cubuntu-server-22-04\u4e0a\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5postgresql-15\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-15T08:26:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-29T01:31:26+00:00\" \/>\n<meta name=\"author\" content=\"\u97f5, \u79d1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u97f5, \u79d1\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \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\/%e5%9c%a8rockylinux8-5%e4%bb%a5%e5%8f%8arockylinux9-0%e5%92%8cubuntu-server-22-04%e4%b8%8a%e4%bb%8e%e6%ba%90%e4%bb%a3%e7%a0%81%e5%ae%89%e8%a3%85postgresql-15%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8rockylinux8-5%e4%bb%a5%e5%8f%8arockylinux9-0%e5%92%8cubuntu-server-22-04%e4%b8%8a%e4%bb%8e%e6%ba%90%e4%bb%a3%e7%a0%81%e5%ae%89%e8%a3%85postgresql-15%e3%80%82\/\",\"name\":\"\u5728RockyLinux8.5\u4ee5\u53caRockyLinux9.0\u548cUbuntu Server 22.04\u4e0a\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5PostgreSQL 15 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-08-15T08:26:13+00:00\",\"dateModified\":\"2024-04-29T01:31:26+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8rockylinux8-5%e4%bb%a5%e5%8f%8arockylinux9-0%e5%92%8cubuntu-server-22-04%e4%b8%8a%e4%bb%8e%e6%ba%90%e4%bb%a3%e7%a0%81%e5%ae%89%e8%a3%85postgresql-15%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8rockylinux8-5%e4%bb%a5%e5%8f%8arockylinux9-0%e5%92%8cubuntu-server-22-04%e4%b8%8a%e4%bb%8e%e6%ba%90%e4%bb%a3%e7%a0%81%e5%ae%89%e8%a3%85postgresql-15%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8rockylinux8-5%e4%bb%a5%e5%8f%8arockylinux9-0%e5%92%8cubuntu-server-22-04%e4%b8%8a%e4%bb%8e%e6%ba%90%e4%bb%a3%e7%a0%81%e5%ae%89%e8%a3%85postgresql-15%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728RockyLinux8.5\u4ee5\u53caRockyLinux9.0\u548cUbuntu Server 22.04\u4e0a\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5PostgreSQL 15\"}]},{\"@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\/6530331a63adef3b3443a1fab53a0e6e\",\"name\":\"\u97f5, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"caption\":\"\u97f5, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8rockylinux8-5%e4%bb%a5%e5%8f%8arockylinux9-0%e5%92%8cubuntu-server-22-04%e4%b8%8a%e4%bb%8e%e6%ba%90%e4%bb%a3%e7%a0%81%e5%ae%89%e8%a3%85postgresql-15%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5728RockyLinux8.5\u4ee5\u53caRockyLinux9.0\u548cUbuntu Server 22.04\u4e0a\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5PostgreSQL 15 - 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\/\u5728rockylinux8-5\u4ee5\u53carockylinux9-0\u548cubuntu-server-22-04\u4e0a\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5postgresql-15\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5728RockyLinux8.5\u4ee5\u53caRockyLinux9.0\u548cUbuntu Server 22.04\u4e0a\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5PostgreSQL 15","og_description":"##\u6982\u8ff0 PostgreSQL\u662f\u4e00\u79cd\u5e7f\u4e3a\u4eba\u77e5\u7684\u4f01\u4e1a\u7ea7\u6570\u636e\u5e93\u3002\u622a\u81f32023\u5e746\u6708\uff0c15.3\u662f\u6700\u65b0\u7248\u672c\u3002\u5728\u672c\u73af\u5883\u4e2d [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728rockylinux8-5\u4ee5\u53carockylinux9-0\u548cubuntu-server-22-04\u4e0a\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5postgresql-15\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-08-15T08:26:13+00:00","article_modified_time":"2024-04-29T01:31:26+00:00","author":"\u97f5, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u97f5, \u79d1","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8rockylinux8-5%e4%bb%a5%e5%8f%8arockylinux9-0%e5%92%8cubuntu-server-22-04%e4%b8%8a%e4%bb%8e%e6%ba%90%e4%bb%a3%e7%a0%81%e5%ae%89%e8%a3%85postgresql-15%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8rockylinux8-5%e4%bb%a5%e5%8f%8arockylinux9-0%e5%92%8cubuntu-server-22-04%e4%b8%8a%e4%bb%8e%e6%ba%90%e4%bb%a3%e7%a0%81%e5%ae%89%e8%a3%85postgresql-15%e3%80%82\/","name":"\u5728RockyLinux8.5\u4ee5\u53caRockyLinux9.0\u548cUbuntu Server 22.04\u4e0a\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5PostgreSQL 15 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-08-15T08:26:13+00:00","dateModified":"2024-04-29T01:31:26+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8rockylinux8-5%e4%bb%a5%e5%8f%8arockylinux9-0%e5%92%8cubuntu-server-22-04%e4%b8%8a%e4%bb%8e%e6%ba%90%e4%bb%a3%e7%a0%81%e5%ae%89%e8%a3%85postgresql-15%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8rockylinux8-5%e4%bb%a5%e5%8f%8arockylinux9-0%e5%92%8cubuntu-server-22-04%e4%b8%8a%e4%bb%8e%e6%ba%90%e4%bb%a3%e7%a0%81%e5%ae%89%e8%a3%85postgresql-15%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8rockylinux8-5%e4%bb%a5%e5%8f%8arockylinux9-0%e5%92%8cubuntu-server-22-04%e4%b8%8a%e4%bb%8e%e6%ba%90%e4%bb%a3%e7%a0%81%e5%ae%89%e8%a3%85postgresql-15%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5728RockyLinux8.5\u4ee5\u53caRockyLinux9.0\u548cUbuntu Server 22.04\u4e0a\u4ece\u6e90\u4ee3\u7801\u5b89\u88c5PostgreSQL 15"}]},{"@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\/6530331a63adef3b3443a1fab53a0e6e","name":"\u97f5, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","caption":"\u97f5, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8rockylinux8-5%e4%bb%a5%e5%8f%8arockylinux9-0%e5%92%8cubuntu-server-22-04%e4%b8%8a%e4%bb%8e%e6%ba%90%e4%bb%a3%e7%a0%81%e5%ae%89%e8%a3%85postgresql-15%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\/41496","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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=41496"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41496\/revisions"}],"predecessor-version":[{"id":84457,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/41496\/revisions\/84457"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=41496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=41496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=41496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}