{"id":165,"date":"2024-04-12T17:48:41","date_gmt":"2024-04-12T09:48:41","guid":{"rendered":"\/blog\/?p=165"},"modified":"2024-05-09T19:09:07","modified_gmt":"2024-05-09T11:09:07","slug":"wordpress-6-5-2%e7%89%88%e6%9c%ac%e5%ae%89%e8%a3%85%e8%ae%b0%e5%bd%95","status":"publish","type":"post","link":"https:\/\/www.mailabc.cn\/blog\/2024\/04\/12\/wordpress-6-5-2%e7%89%88%e6%9c%ac%e5%ae%89%e8%a3%85%e8%ae%b0%e5%bd%95\/","title":{"rendered":"wordpress 6.5.2\u7248\u672c\u5b89\u88c5\u8bb0\u5f55"},"content":{"rendered":"<h2>\u73af\u5883\u51c6\u5907<\/h2>\n<p>\u9274\u4e8e\u5de5\u4f5c\u4e2d\u7528\u5230\u7ea2\u5e3d\u7cfb\u7684\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u5c45\u591a\uff0c\u672c\u6587\u9009\u62e9Rocky Linux 8.9\u7248\u672c\u4f5c\u4e3a\u90e8\u7f72\u73af\u5883\uff0cApache\u3001MariaDB\u3001PHP\u7b49\u5747\u901a\u8fc7\u624b\u52a8\u5b89\u88c5\u7684\u65b9\u5f0f\u3002\u5982\u679c\u60a8\u4e0d\u4e86\u89e3Linux\u7cfb\u7edf\uff0c\u4e5f\u4e0d\u719f\u6089LAMP\uff0c\u90a3\u5efa\u8bae\u60a8\u8fd8\u662f\u9009\u62e9\u865a\u62df\u4e3b\u673a\u63d0\u4f9b\u5546\u7684\u9884\u88c5\u670d\u52a1\u3002<\/p>\n<p>\u8ba1\u5212\u5b89\u88c5\u7684\u7248\u672c\u5982\u4e0b\uff1a<\/p>\n<ul>\n<li>\u64cd\u4f5c\u7cfb\u7edf\uff1aRocky Linux 8.9<\/li>\n<li>Apache\uff1a2.4.37<\/li>\n<li>MariaDB\uff1a10.6<\/li>\n<li>PHP\uff1a8.3<\/li>\n<\/ul>\n<p>\u5982\u679c\u4e2a\u4eba\u5b89\u88c5\u64cd\u4f5c\u7cfb\u7edf\u8fdb\u884c\u6d4b\u8bd5\uff0c\u5efa\u8bae\u5173\u95edselinux\u3001firewalld\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># \u4e34\u65f6\u4fee\u6539selinux\u7684\u6a21\u5f0f\u4e3apermissive\r\nsetenforce 0\r\n# \u5efa\u8bae\u4fee\u6539\/etc\/selinux\/config\uff0c\u4fee\u6539\u4e3aSELINUX=disabled\uff0c\u9700\u8981\u91cd\u542f\u64cd\u4f5c\u7cfb\u7edf\u751f\u6548\r\n\r\n# \u5173\u95edfirewalld\r\nsystemctl stop firewalld\r\nsystemctl disable firewalld<\/pre>\n<h2>Apache\u5b89\u88c5\u914d\u7f6e<\/h2>\n<h3>\u5b89\u88c5<\/h3>\n<p>Apache\u5b89\u88c5\u76f8\u5bf9\u7b80\u5355\uff0c\u5efa\u8bae\u76f4\u63a5\u901a\u8fc7yum\u5b89\u88c5\u5373\u53ef\uff0c\u5b89\u88c5\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">yum install httpd<\/pre>\n<p>Rocky Linux 8.9\u9ed8\u8ba4\u5b89\u88c5\u7684\u7248\u672c\u662f2.4.37\u3002<\/p>\n<h3>\u914d\u7f6e\u865a\u62df\u4e3b\u673a<\/h3>\n<p>\u521b\u5efa\u8fd0\u884c\u8d26\u6237\uff0c\u4e0d\u5efa\u8bae\u4f7f\u7528apache\u8d26\u6237\u8fd0\u884c<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">useradd wptest<\/pre>\n<p>\u521b\u5efa\u865a\u62df\u4e3b\u673a\u76ee\u5f55\u4e3a\/home\/wptest\/www\/html<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># \u521b\u5efa\u76ee\u5f55\r\nmkdir -p \/home\/wptest\/www\/html\r\n\r\n#\u8bbe\u7f6e\u76ee\u5f55\u6240\u6709\u8005\u548c\u6743\u9650\r\nchown wptest:wptest -R \/home\/wptest\/www\/html\r\nchmod 755 -R \/home\/wptest\/www\/html<\/pre>\n<div data-pm-slice=\"1 1 []\">\u5728\/etc\/httpd\/conf.d\u76ee\u5f55\u4e0b\u521b\u5efa\u6587\u4ef6\uff1awptest.conf\uff0c\u5185\u5bb9\u5982\u4e0b\uff1a<\/div>\n<div data-pm-slice=\"1 1 []\">\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;VirtualHost *:80&gt;\r\nServerAdmin\u00a0 admin@mailabc.cn\r\nServerName\u00a0 www.mailabc.cn\r\nServerAlias\u00a0 www\r\nDocumentRoot \/home\/wptest\/www\/html\r\n&lt;Directory \"\/home\/wptest\/www\/html\/\"&gt;\r\n\u00a0 \u00a0 Options\u00a0 FollowSymLinks\r\n\u00a0 \u00a0 AllowOverride\u00a0 All\r\n\u00a0 \u00a0 Require\u00a0 all\u00a0 granted\r\n&lt;\/Directory&gt;\r\nErrorLog \/var\/log\/httpd\/wptest_error.log\r\nCustomLog \/var\/log\/httpd\/wptest_access.log combined\r\n&lt;\/VirtualHost&gt;<\/pre>\n<p>\u4fee\u6539httpd\u8fd0\u884c\u8d26\u6237\u4e3awptest\uff0c\u4fee\u6539\/etc\/httpd\/conf\/httpd.conf\u914d\u7f6e\u6587\u4ef6\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">User wptest\r\nGroup wptest<\/pre>\n<p>\u914d\u7f6ehttpd\u5f00\u673a\u81ea\u542f\u52a8<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">systemctl enable httpd\r\nsystemctl start httpd<\/pre>\n<p>\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95eehttp:\/\/your_ip\/\u53ef\u4ee5\u51fa\u73b0apache\u9ed8\u8ba4\u7684\u754c\u9762\u5373\u8868\u793a\u5b89\u88c5\u5b8c\u6210\u3002<\/p>\n<\/div>\n<h2 data-pm-slice=\"1 1 []\">MariaDB\u5b89\u88c5\u914d\u7f6e<\/h2>\n<h3>\u914d\u7f6eMariaDB yum\u6e90<\/h3>\n<p>MariaDB\u7684yum\u6e90\u53ef\u4ee5\u76f4\u63a5\u5230\u5b98\u65b9\u83b7\u53d6\uff1ahttps:\/\/mariadb.org\/download\/?t=repo-config&amp;d=Red+Hat+Enterprise+Linux+8&amp;v=10.6&amp;r_m=aliyun<\/p>\n<p>\u4e5f\u53ef\u4ee5\u91c7\u7528\u4e0b\u9762\u7684\u5185\u5bb9\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># MariaDB 10.6 RedHatEnterpriseLinux repository list - created 2024-04-08 13:57 UTC\r\n# https:\/\/mariadb.org\/download\/\r\n[mariadb]\r\nname = MariaDB\r\n# rpm.mariadb.org is a dynamic mirror if your preferred mirror goes offline. See https:\/\/mariadb.org\/mirrorbits\/ for details.\r\n# baseurl = https:\/\/rpm.mariadb.org\/10.6\/rhel\/$releasever\/$basearch\r\nbaseurl = https:\/\/mirrors.aliyun.com\/mariadb\/yum\/10.6\/rhel\/$releasever\/$basearch\r\nmodule_hotfixes = 1\r\n# gpgkey = https:\/\/rpm.mariadb.org\/RPM-GPG-KEY-MariaDB\r\ngpgkey = https:\/\/mirrors.aliyun.com\/mariadb\/yum\/RPM-GPG-KEY-MariaDB\r\ngpgcheck = 1<\/pre>\n<p>\u5728\/etc\/yum.repos.d \u76ee\u5f55\u521b\u5efamariadb.repo\u6587\u4ef6\uff0c\u8f93\u5165\u4e0a\u9762\u5185\u5bb9\u6216\u8005\u4ece\u5b98\u7f51\u83b7\u53d6\u7684repo\u6587\u4ef6\u5185\u5bb9\u3002\u7136\u540e\u6267\u884c\u4e0b\u9762\u547d\u4ee4\u5efa\u7acb\u7f13\u5b58\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">yum makecache<\/pre>\n<h3>\u5b89\u88c5MariaDB<\/h3>\n<p>\u6700\u540e\u91c7\u7528\u4e0b\u9762\u7684\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\u5373\u53ef\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">yum install MariaDB-server MariaDB-client<\/pre>\n<h3>\u914d\u7f6eMariaDB<\/h3>\n<p>\u9996\u5148\u542f\u52a8\u670d\u52a1\uff0c\u5e76\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f\u52a8\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">systemctl start mariadb\r\nsystemctl enable mariadb<\/pre>\n<p>\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u521d\u59cb\u5b89\u88c5\u540e\uff0croot\u8d26\u53f7\uff08\u6b64root\u8d26\u53f7\u975e\u64cd\u4f5c\u7cfb\u7edfroot\u8d26\u53f7\uff0c\u662f\u6307MariaDB\u7684root\u8d26\u53f7\uff09\u5bc6\u7801\u4e3a\u7a7a\uff0c\u9700\u8981\u7ed9root\u8d26\u6237\u8bbe\u7f6e\u4e00\u4e2a\u5bc6\u7801\uff08\u7f51\u4e0a\u4e94\u82b1\u516b\u95e8\u7684\u65b9\u6cd5\uff0c\u5f88\u591a\u4e0d\u9760\u8c31\uff09\uff0c\u5efa\u8bae\u6309\u7167\u4e0b\u9762\u7684\u65b9\u6cd5\u6267\u884c\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\"># root\u8d26\u53f7\u767b\u5f55MariaDB\r\nmysql -u root\r\n\r\n# \u767b\u5f55MariaDB\u4e4b\u540e\uff0c\u8f93\u5165\u4e0b\u9762\u7684\u547d\u4ee4\u4fee\u6539root\u5bc6\u7801\u3002\u4e0b\u9762\u547d\u4ee4\u4e2dyour_password\u6362\u6210\u4f60\u8981\u6539\u7684\u5bc6\u7801\r\nalter user root@localhost identified via mysql_native_password using password('your_password');<\/pre>\n<p>\u5efa\u8bae\u5220\u9664test\u6570\u636e\u5e93\uff0c\u767b\u5f55\u6570\u636e\u5e93\u4e4b\u540e\uff0c\u6267\u884c\u5982\u4e0b\u547d\u4ee4\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">drop database test;<\/pre>\n<h3>\u4e3awordpress\u521b\u5efa\u6570\u636e\u5e93\u548c\u8d26\u6237<\/h3>\n<p>\u521b\u5efa\u540d\u4e3awptestdb\u7684\u6570\u636e\u5e93\uff08\u540e\u9762\u914d\u7f6ewordpress\u4f1a\u7528\u5230\uff09\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">create database wptestdb\uff1b<\/pre>\n<p>\u6388\u6743wptest\u7528\u6237\u8bbf\u95eewptestdb\u6570\u636e\u5e93\uff0c\u5e76\u7ed9wptest\u7528\u6237\u8bbe\u7f6e\u4e00\u4e2a\u5bc6\u7801\uff08\u9700\u8981\u4fee\u6539\u4e0b\u9762your_password\u5bc6\u7801\uff0c\u540e\u9762\u914d\u7f6ewordpress\u4f1a\u7528\u5230\uff09\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">grant all on blogdb.* to mailabc@localhost identified by 'your_password';<\/pre>\n<h2>\u5b89\u88c5\u914d\u7f6ePHP<\/h2>\n<h3>\u914d\u7f6ePHP yum\u6e90<\/h3>\n<p>\u914d\u7f6eEPEL yum\u6e90\uff0c\u5e76\u624b\u52a8\u5bfc\u5165remi\u7684yum\u6e90\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">yum install epel-release\r\nrpm -ivh http:\/\/rpms.remirepo.net\/enterprise\/remi-release-8.9.rpm<\/pre>\n<p>\u5c0f\u6280\u5de7\uff1a\u53ef\u4ee5\u8fdb\u5165 <a href=\"http:\/\/rpms.remirepo.net\/enterprise\" rel=\"nofollow noopener\" target=\"_blank\">http:\/\/rpms.remirepo.net\/enterprise<\/a> \u8fd9\u91cc\u627e\u4f60\u9700\u8981\u7684\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c\u5bf9\u5e94\u7684yum\u6e90\u3002<\/p>\n<h2>\u5b89\u88c5PHP8.3<\/h2>\n<p>\u6309\u7167\u4e0b\u9762\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">yum install php83-php php83-php-mysqlnd php83-php-pecl-imagick php83-php-pecl-zip php83-php-gd php83-php-intl<\/pre>\n<p>\u5c0f\u6280\u5de7\uff1a\u4e0a\u9762\u5b89\u88c5\u4e86\u5f88\u591aphp\u7684\u63d2\u4ef6\uff0c\u8fd9\u4e9b\u57fa\u672c\u4e0a\u90fd\u662f\u80fd\u7528\u5230\u7684\uff0c\u5efa\u8bae\u76f4\u63a5\u5b89\u88c5\u3002\u8981\u4e0d\u7136\u540e\u9762\u4f1a\u6709\u5404\u79cd\u5404\u6837\u7684\u5c0f\u95ee\u9898\u3002<\/p>\n<p>\u4fee\u6539php-fpm\u7684\u542f\u52a8\u7528\u6237\u548c\u7ec4\u4e3awptest\uff0c\u8fd9\u4e00\u6b65\u662f\u548c\u4e0a\u9762httpd\u914d\u7f6e\u76f8\u547c\u5e94\u3002\u4fee\u6539\u914d\u7f6e\u6587\u4ef6\/etc\/opt\/remi\/php83\/php-fpm.d\/www.conf \u4e0b\u9762\u51e0\u4e2a\u914d\u7f6e\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">user wptest\r\ngroup wptest\r\n\r\n#\u8fd9\u91cc\u5982\u679c\u4e0d\u914d\u7f6e\uff0cwptest\u7528\u6237\u5c06\u65e0\u6cd5\u8bfb\u53d6\/var\/opt\/remi\/php83\/run\/php-fpm\/www.sock \u8fd9\u4e2ascoket\u6587\u4ef6\u3002\r\nlisten.acl_users = wptest<\/pre>\n<p>\u5c0f\u6280\u5de7\uff1a\u8fd9\u4e00\u6b65\u5f88\u91cd\u8981\uff0c\u6211\u5728\u8fd9\u91cc\u8e29\u5751\uff0c\u6bcf\u6b21\u91cd\u542fphp-fpm\u670d\u52a1\u540e\/var\/opt\/remi\/php83\/run\/php-fpm\/www.sock \u6587\u4ef6\u6743\u9650\u90fd\u4f1a\u53d8\u4e3aroot\uff0c\u5bfc\u81f4wptest\u7528\u6237\u65e0\u6cd5\u8bfb\u53d6\u8be5\u6587\u4ef6\u3002\u4e0a\u9762\u7684\u914d\u7f6e\u662f\u901a\u8fc7acl\u6743\u9650\u5217\u8868\u7684\u65b9\u5f0f\uff0c\u5bf9\u8be5\u6587\u4ef6\u589e\u52a0wptest\u7528\u6237\u7684\u8bbf\u95ee\u6743\u9650\u3002<\/p>\n<h3>\u914d\u7f6e\u81ea\u542f\u52a8<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">systemctl enable php83-php-fpm\r\nsystemctl start php83-php-fpm<\/pre>\n<p>\u6d4b\u8bd5php\u8fd0\u884c\u72b6\u6001<\/p>\n<p>\u5728\/home\/wptest\/www\/html\u76ee\u5f55\u4e0b\u521b\u5efaphpinfo.php\u6587\u4ef6\uff0c\u5185\u5bb9\u5982\u4e0b\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;?php\u00a0 phpinfo();\u00a0 ?&gt;<\/pre>\n<p>\u7136\u540e\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee\u8be5\u6587\u4ef6\uff0c\u5982http:\/\/your_ip\/phpinfo.php\uff0c\u5982\u679c\u6b63\u5e38\u8fd4\u56dephp\u7684\u7248\u672c\u4fe1\u606f\u9875\u9762\u8bf4\u660e\u914d\u7f6e\u6210\u529f\u3002<\/p>\n<p>\u81f3\u6b64\uff0cLAMP\u73af\u5883\u914d\u7f6e\u5b8c\u6210\u3002<\/p>\n<h2>wordpress\u5b89\u88c5<\/h2>\n<h3>\u4e0b\u8f7d\u6700\u65b0\u7248\u672c<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">wget https:\/\/cn.wordpress.org\/latest-zh_CN.zip<\/pre>\n<p>\u653e\u5230httpd\u865a\u62df\u4e3b\u673a\u76ee\u5f55\u4e0b\u89e3\u538b\uff0c\u793a\u4f8b\u4e2d\u6240\u5728\u76ee\u5f55\/home\/wptest\/www\/html:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">gunzip latest-zh_CN.zip<\/pre>\n<p>\u89e3\u538b\u4e4b\u540e\uff0c\u9700\u8981\u628a\u6587\u4ef6\u653e\u5230\u4e0a\u9762html\u76f4\u5c5e\u76ee\u5f55\u3002<\/p>\n<h3>\u914d\u7f6e<\/h3>\n<p>\u901a\u8fc7\u4e0b\u9762\u547d\u4ee4\uff0c\u521b\u5efawordpress\u7684\u914d\u7f6e\u6587\u4ef6\uff1a<\/p>\n<div>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">cp wp-config-sample.php wp-config.php<\/pre>\n<p>\u4fee\u6539wp-config.php\u6587\u4ef6\uff0c\u9700\u8981\u5b9a\u4e49\uff1a<\/p>\n<ul style=\"list-style-type: circle;\">\n<li>DB_NAME\uff1a\u6570\u636e\u5e93\u540d\u79f0\uff0c\u793a\u4f8b\u4e2d\u5bf9\u5e94wptestdb<\/li>\n<li>DB_USER\uff1a\u8bbf\u95ee\u6570\u636e\u5e93\u7528\u6237\uff0c\u793a\u4f8b\u4e2d\u5bf9\u5e94wptest<\/li>\n<li>DB_PASSWORD\uff1a\u8bbf\u95ee\u6570\u636e\u5e93\u7528\u6237\u5bf9\u5e94\u7684\u5bc6\u7801<\/li>\n<\/ul>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\/** The name of the database for WordPress *\/\r\ndefine( 'DB_NAME', 'wptestdb' );\r\n\/** Database username *\/\r\ndefine( 'DB_USER', 'wptest' );\r\n\/** Database password *\/\r\ndefine( 'DB_PASSWORD', 'your_password' );\r\n\/** Database hostname *\/\r\ndefine( 'DB_HOST', 'localhost' );\r\n\/** Database charset to use in creating database tables. *\/\r\ndefine( 'DB_CHARSET', 'utf8' );\r\n\/** The database collate type. Don't change this if in doubt. *\/\r\ndefine( 'DB_COLLATE', '' );<\/pre>\n<p>\u6b64\u5916\uff0c\u4e0b\u9762\u8fd9\u4e9b\u4e5f\u5efa\u8bae\u4fee\u6539\uff0c\u53ef\u4ee5 <a href=\"https:\/\/api.wordpress.org\/secret-key\/1.1\/salt\" rev=\"en_rl_none\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/api.wordpress.org\/secret-key\/1.1\/salt\/<\/a> \u76f4\u63a5\u751f\u6210\u66ff\u6362\u6389\u4e0b\u9762\u5185\u5bb9\u5373\u53ef\uff1a<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">define( 'AUTH_KEY',\u00a0 \u00a0 \u00a0 \u00a0\u00a0 'put your unique phrase here' );\r\ndefine( 'SECURE_AUTH_KEY',\u00a0 'put your unique phrase here' );\r\ndefine( 'LOGGED_IN_KEY',\u00a0 \u00a0 'put your unique phrase here' );\r\ndefine( 'NONCE_KEY',\u00a0 \u00a0 \u00a0 \u00a0 'put your unique phrase here' );\r\ndefine( 'AUTH_SALT',\u00a0 \u00a0 \u00a0 \u00a0 'put your unique phrase here' );\r\ndefine( 'SECURE_AUTH_SALT', 'put your unique phrase here' );\r\ndefine( 'LOGGED_IN_SALT',\u00a0\u00a0 'put your unique phrase here' );\r\ndefine( 'NONCE_SALT',\u00a0 \u00a0 \u00a0\u00a0 'put your unique phrase here' );<\/pre>\n<h3>\u521d\u59cb\u5316<\/h3>\n<p>\u4e0b\u9762\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95eehttp:\/\/your_ip\/\u8fdb\u884c\u521d\u59cb\u5316\u5373\u53ef\u3002<\/p>\n<\/div>\n<h2>\u603b\u7ed3<\/h2>\n<p>\u81f3\u6b64\uff0cwordpress\u90e8\u7f72\u5b8c\u6210\u3002\u540e\u9762\u6709\u65f6\u95f4\u518d\u4ecb\u7ecd\u901a\u8fc7nginx\u505a\u53cd\u5411\u4ee3\u7406\u3001\u90e8\u7f72https\u670d\u52a1\u7b49\u3002<\/p>\n<p>\u5b9e\u9645\u90e8\u7f72\u8fc7\u7a0b\u4e2d\u53ef\u80fd\u4f1a\u9047\u5230\u5404\u79cd\u95ee\u9898\uff0c\u4f46\u6700\u7ec8\u8fd9\u4e9b\u95ee\u9898\u90fd\u662f\u53ef\u4ee5\u89e3\u51b3\u7684\uff0c\u9700\u8981\u4fdd\u6301\u8010\u5fc3\u3002\u5982\u679c\u4f60\u4e5f\u9047\u5230\u4e86\u96be\u9898\uff0c\u53ef\u4ee5\u7559\u8a00\u63a2\u8ba8\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u73af\u5883\u51c6\u5907 \u9274\u4e8e\u5de5\u4f5c\u4e2d\u7528\u5230\u7ea2\u5e3d\u7cfb\u7684\u670d\u52a1\u5668\u64cd\u4f5c\u7cfb\u7edf\u5c45\u591a\uff0c\u672c\u6587\u9009\u62e9Rocky Linux 8.9\u7248\u672c\u4f5c\u4e3a\u90e8\u7f72\u73af\u5883\uff0cA [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":184,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,23],"tags":[26,25],"class_list":["post-165","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","category-23","tag-lamp","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/posts\/165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/comments?post=165"}],"version-history":[{"count":17,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/posts\/165\/revisions"}],"predecessor-version":[{"id":182,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/posts\/165\/revisions\/182"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/media\/184"}],"wp:attachment":[{"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/media?parent=165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/categories?post=165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mailabc.cn\/blog\/wp-json\/wp\/v2\/tags?post=165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}