{"id":1820,"date":"2017-02-24T10:04:32","date_gmt":"2017-02-24T02:04:32","guid":{"rendered":"http:\/\/cn.hostease.com\/xueyuan\/?p=1820"},"modified":"2017-02-24T10:04:32","modified_gmt":"2017-02-24T02:04:32","slug":"centos7-rpm%e6%96%b9%e5%bc%8f%e5%ae%89%e8%a3%85mysql5-7-%e8%af%a6%e7%bb%86%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"https:\/\/cn.hostease.com\/xueyuan\/jishu\/centos7-rpm%e6%96%b9%e5%bc%8f%e5%ae%89%e8%a3%85mysql5-7-%e8%af%a6%e7%bb%86%e6%95%99%e7%a8%8b\/","title":{"rendered":"centos7 rpm\u65b9\u5f0f\u5b89\u88c5mysql5.7 \u8be6\u7ec6\u6559\u7a0b"},"content":{"rendered":"<h3 id=\"\u7b2c\u4e00\u6b65\u4e0b\u8f7dmysql\">\u7b2c\u4e00\u6b65\uff1a\u4e0b\u8f7dmysql<\/h3>\n<p>\u5728Linux\u7ec8\u7aef\u4f7f\u7528wget\u547d\u4ee4\u4e0b\u8f7d\u7f51\u7edc\u8d44\u6e90\uff1a<\/p>\n<pre class=\"prettyprint\"><code class=\"hljs avrasm has-numbering\">wget https:\/\/mirrors<span class=\"hljs-preprocessor\">.sohu<\/span><span class=\"hljs-preprocessor\">.com<\/span>\/mysql\/MySQL-<span class=\"hljs-number\">5.7<\/span>\/mysql-<span class=\"hljs-number\">5.7<\/span><span class=\"hljs-number\">.17<\/span>-linux-glibc2<span class=\"hljs-number\">.5<\/span>-x86_64<span class=\"hljs-preprocessor\">.tar<\/span><span class=\"hljs-preprocessor\">.gz<\/span><\/code><\/pre>\n<p>1:\u68c0\u67e5\u662f\u5426\u672c\u5730\u5df2\u7ecf\u5b89\u88c5\u4e86MySQL<\/p>\n<pre class=\"prettyprint\"><code class=\"hljs 1c has-numbering\">rpm -qa <span class=\"hljs-string\">| grep mysql<\/span><\/code><\/pre>\n<p>2:\u5378\u8f7d\u4ee5\u524d\u7684mysql<\/p>\n<pre class=\"prettyprint\"><code class=\"hljs bash has-numbering\">rpm <span class=\"hljs-operator\">-e<\/span> \u5df2\u7ecf\u5b58\u5728\u7684MySQL\u5168\u540d<\/code><\/pre>\n<h3 id=\"\u7b2c\u4e8c\u6b65\u89e3\u538b\u6587\u4ef6\">\u7b2c\u4e8c\u6b65\uff1a\u89e3\u538b\u6587\u4ef6<\/h3>\n<p>\u63a5\u4e0b\u6765\u53bb\u5230\u79fb\u52a8\u540e\u7684\u76ee\u5f55<code>cd \/usr\/local<\/code>\u00a0\uff0c\u7136\u540e\u89e3\u538b<\/p>\n<pre class=\"prettyprint\"><code class=\"hljs lasso has-numbering\">tar zxvf mysql<span class=\"hljs-subst\">-<\/span><span class=\"hljs-number\">5.7<\/span><span class=\"hljs-number\">.17<\/span><span class=\"hljs-attribute\">-linux<\/span><span class=\"hljs-attribute\">-glibc2<\/span><span class=\"hljs-number\">.5<\/span><span class=\"hljs-attribute\">-x86_64<\/span><span class=\"hljs-built_in\">.<\/span>tar<\/code><\/pre>\n<p>\u89e3\u538b\u540e\u4e3a\u4e86\u65b9\u4fbf\u540e\u9762\u64cd\u4f5c\u53ef\u628a\u89e3\u538b\u540e\u6587\u4ef6\u540d\u4fee\u6539\u4e3amysql\uff1a<\/p>\n<pre class=\"prettyprint\"><code class=\"hljs lasso has-numbering\">mv mysql<span class=\"hljs-subst\">-<\/span><span class=\"hljs-number\">5.7<\/span><span class=\"hljs-number\">.17<\/span><span class=\"hljs-attribute\">-linux<\/span><span class=\"hljs-attribute\">-glibc2<\/span><span class=\"hljs-number\">.5<\/span><span class=\"hljs-attribute\">-x86_64<\/span> mysql<\/code><\/pre>\n<h3 id=\"\u7b2c\u4e09\u6b65\u914d\u7f6e\u542f\u52a8\u6587\u4ef6\">\u7b2c\u4e09\u6b65\uff1a\u914d\u7f6e\u542f\u52a8\u6587\u4ef6<\/h3>\n<p>\u7136\u540e\u53bb\u5230\u00a0<code>mysql<\/code>\u00a0\u7684\u00a0<code>support-files<\/code>\u76ee\u5f55\u4e0b<\/p>\n<h4 id=\"1\u590d\u5236mycnf-\u5230-etcmycnf-mysqld\u542f\u52a8\u65f6\u81ea\u52a8\u8bfb\u53d6\">1\u3001\u590d\u5236<code>my.cnf<\/code>\u00a0\u5230\u00a0<code>\/etc\/my.cnf<\/code>\u00a0(mysqld\u542f\u52a8\u65f6\u81ea\u52a8\u8bfb\u53d6)<\/h4>\n<pre class=\"prettyprint\"><code class=\"hljs avrasm has-numbering\"><span class=\"hljs-keyword\">cp<\/span> my-default<span class=\"hljs-preprocessor\">.cnf<\/span> \/etc\/my<span class=\"hljs-preprocessor\">.cnf<\/span><\/code><\/pre>\n<blockquote><p>\u6ce8\u610f\uff1a\u5982\u679c\u4f60\u5728\u5b89\u88c5\u65f6Linux\u865a\u62df\u673a\u65f6\u540c\u65f6\u5b89\u88c5\u4e86\u9ed8\u8ba4\u7684mysql\uff0c\u6b64\u65f6\u64cd\u4f5c\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u7ec8\u7aef\u5c06\u4f1a\u63d0\u793a\u4f60\u6587\u4ef6\u5df2\u5b58\u5728\u662f\u5426\u8986\u76d6\uff0c\u8f93\u5165yes\u8986\u76d6\u5373\u53ef\u3002<\/p><\/blockquote>\n<h4 id=\"2\u914d\u7f6e\u6570\u636e\u5e93\u7f16\u7801\">2\u3001\u914d\u7f6e\u6570\u636e\u5e93\u7f16\u7801<\/h4>\n<pre class=\"prettyprint\"><code class=\"hljs perl has-numbering\">vi \/etc\/<span class=\"hljs-keyword\">my<\/span>.cnf<\/code><\/pre>\n<p>\u5728\u8fd9\u4efd\u6587\u4ef6\u4e2d\u53ef\u4ee5\u6dfb\u52a0\u4ee5\u4e0b\u914d\u7f6e\u4fe1\u606f(\u5982\u679c\u6709\u4fee\u6539\u5373\u53ef)<\/p>\n<pre class=\"prettyprint\"><code class=\"hljs ini has-numbering\"><span class=\"hljs-title\">[mysql]<\/span>\r\n<span class=\"hljs-setting\">default-character-set=<span class=\"hljs-value\">utf8<\/span><\/span>\r\n\r\n<span class=\"hljs-title\">[mysqld]<\/span>\r\n<span class=\"hljs-setting\">default-storage-engine=<span class=\"hljs-value\">INNODB<\/span><\/span>\r\n<span class=\"hljs-setting\">character_set_server=<span class=\"hljs-value\">utf8<\/span><\/span><\/code><\/pre>\n<h4 id=\"3\u590d\u5236mysqlserver\u5230etcinitd-\u76ee\u5f55\u4e0b\u76ee\u7684\u60f3\u5b9e\u73b0\u5f00\u673a\u81ea\u52a8\u6267\u884c\u6548\u679c\">3\u3001\u590d\u5236<code>mysql.server<\/code>\u5230<code>\/etc\/init.d\/<\/code>\u00a0\u76ee\u5f55\u4e0b\u3010\u76ee\u7684\u60f3\u5b9e\u73b0\u5f00\u673a\u81ea\u52a8\u6267\u884c\u6548\u679c\u3011<\/h4>\n<p>\u6267\u884c\u547d\u4ee4\uff08mysql\u662f\u670d\u52a1\u540d\uff09\uff1a<\/p>\n<pre class=\"prettyprint\"><code class=\"hljs avrasm has-numbering\"><span class=\"hljs-keyword\">cp<\/span> mysql<span class=\"hljs-preprocessor\">.server<\/span> \/etc\/init<span class=\"hljs-preprocessor\">.d<\/span>\/mysql <\/code><\/pre>\n<h4 id=\"4\u4fee\u6539-etcinitdmysql\u53c2\u6570\">4\u3001\u4fee\u6539\u00a0<code>\/etc\/init.d\/mysql<\/code>\u53c2\u6570<\/h4>\n<pre class=\"prettyprint\"><code class=\"hljs avrasm has-numbering\">vi \/etc\/init<span class=\"hljs-preprocessor\">.d<\/span>\/mysql<\/code><\/pre>\n<p>\u7ed9\u4e0e2\u4e2a\u76ee\u5f55\u4f4d\u7f6e<\/p>\n<pre class=\"prettyprint\"><code class=\"hljs lasso has-numbering\">basedir<span class=\"hljs-subst\">=<\/span>\/usr\/<span class=\"hljs-built_in\">local<\/span>\/mysql\r\ndatadir<span class=\"hljs-subst\">=<\/span>\/usr\/<span class=\"hljs-built_in\">local<\/span>\/mysql\/<span class=\"hljs-built_in\">data<\/span><\/code><\/pre>\n<h4 id=\"5\u51fa\u4e8e\u5b89\u5168\u4fbf\u5229\u521b\u5efa\u4e00\u4e2a\u64cd\u4f5c\u6570\u636e\u5e93\u7684\u4e13\u95e8\u7528\u6237\">5\u3001\u51fa\u4e8e\u5b89\u5168\u4fbf\u5229\uff0c\u521b\u5efa\u4e00\u4e2a\u64cd\u4f5c\u6570\u636e\u5e93\u7684\u4e13\u95e8\u7528\u6237<\/h4>\n<p>&gt;1)\u3001<code>groupadd mysql<\/code>\u00a0#\u5efa\u7acb\u4e00\u4e2amysql\u7684\u7ec4\u00a0 \u3000\u3000&gt;2)\u3001<code>useradd -r -g mysql mysql<\/code>\u00a0#\u5efa\u7acbmysql\u7528\u6237\uff0c\u5e76\u4e14\u628a\u7528\u6237\u653e\u5230mysql\u7ec4\u00a0 \u3000\u3000&gt;3)\u3001<code>passwd mysql<\/code>\u00a0#\u7ed9mysql\u7528\u6237\u8bbe\u7f6e\u4e00\u4e2a\u5bc6\u7801\u00a0 \u3000\u30004)\u3001\u7ed9\u76ee\u5f55<code>\/usr\/local\/mysql<\/code>\u66f4\u6539\u62e5\u6709\u8005\u00a0<code>chown -R mysql:mysql \/usr\/local\/mysql\/<\/code><\/p>\n<h3 id=\"\u7b2c\u56db\u6b65\u521d\u59cb\u5316-mysql-\u7684\u6570\u636e\u5e93\">\u7b2c\u56db\u6b65\uff1a\u521d\u59cb\u5316 mysql \u7684\u6570\u636e\u5e93<\/h3>\n<p>\u9996\u5148\u53bb\u5230<code>mysql<\/code>\u7684<code>bin<\/code>\u76ee\u5f55<\/p>\n<h4 id=\"1\u521d\u59cb\u5316\">1.\u521d\u59cb\u5316<\/h4>\n<pre class=\"prettyprint\"><code class=\"language-sh hljs brainfuck has-numbering\"><span class=\"hljs-string\">.<\/span><span class=\"hljs-comment\">\/mysqld<\/span> <span class=\"hljs-literal\">-<\/span><span class=\"hljs-literal\">-<\/span><span class=\"hljs-comment\">initialize<\/span> <span class=\"hljs-literal\">-<\/span><span class=\"hljs-literal\">-<\/span><span class=\"hljs-comment\">user=mysql<\/span> <span class=\"hljs-literal\">-<\/span><span class=\"hljs-literal\">-<\/span><span class=\"hljs-comment\">basedir=\/usr\/local\/mysql<\/span> <span class=\"hljs-literal\">-<\/span><span class=\"hljs-literal\">-<\/span><span class=\"hljs-comment\">datadir=\/usr\/local\/mysql\/data<\/span><\/code><\/pre>\n<p>\u751f\u6210\u51fa\u4e00\u4e2adata\u76ee\u5f55\uff0c\u4ee3\u8868\u6570\u636e\u5e93\u5df2\u7ecf\u521d\u59cb\u5316\u6210\u529f\u00a0 \u5e76\u4e14mysql\u7684root\u7528\u6237\u751f\u6210\u4e00\u4e2a\u4e34\u65f6\u5bc6\u7801\uff1a<strong><em>***<\/em><\/strong>(\u6700\u597d\u5148\u8bb0\u5f55\u8fd9\u4e2a\u4e34\u65f6\u5bc6\u7801)<\/p>\n<h4 id=\"2\u7ed9\u6570\u636e\u5e93\u52a0\u5bc6\">2.\u7ed9\u6570\u636e\u5e93\u52a0\u5bc6<\/h4>\n<pre class=\"prettyprint\"><code class=\"hljs ruby has-numbering\">.\/mysql_ssl_rsa_setup --datadir=<span class=\"hljs-regexp\">\/usr\/local<\/span><span class=\"hljs-regexp\">\/mysql\/data<\/span><\/code><\/pre>\n<h4 id=\"3\u542f\u52a8mysql\u4e3a\u4e86\u4e0d\u8ba9\u8fdb\u7a0b\u5361\u4e3b\u53ef\u5728\u542f\u52a8mysql\u7684\u547d\u4ee4\u540e\u52a0\u4e0a\u4ee3\u8868\u6b64\u8fdb\u7a0b\u5728\u540e\u53f0\u8fd0\u884c\">3.\u542f\u52a8mysql(\u4e3a\u4e86\u4e0d\u8ba9\u8fdb\u7a0b\u5361\u4e3b\uff0c\u53ef\u5728\u542f\u52a8mysql\u7684\u547d\u4ee4\u540e\u52a0\u4e0a&amp;\u4ee3\u8868\u6b64\u8fdb\u7a0b\u5728\u540e\u53f0\u8fd0\u884c)<\/h4>\n<pre class=\"prettyprint\"><code class=\"language-sh hljs fix has-numbering\"><span class=\"hljs-attribute\">.\/mysqld_safe --user<\/span>=<span class=\"hljs-string\">mysql &amp;<\/span><\/code><\/pre>\n<h4 id=\"4\u68c0\u67e5ps-efgrep-mysql\">4.\u68c0\u67e5<code>ps -ef|grep mysql<\/code><\/h4>\n<p><strong>\u53d1\u73b0\u6709\u8fdb\u7a0b\u4fbf\u4ee3\u8868\u542f\u52a8\u6210\u529f\u3002<\/strong><\/p>\n<h3 id=\"\u7b2c\u4e94\u6b65\u8fdb\u5165\u5ba2\u6237\u7aef\">\u7b2c\u4e94\u6b65\uff1a\u8fdb\u5165\u5ba2\u6237\u7aef<\/h3>\n<h4 id=\"1\u767b\u5f55\">1.\u767b\u5f55:<\/h4>\n<pre class=\"prettyprint\"><code class=\"hljs lasso has-numbering\"> <span class=\"hljs-built_in\">.<\/span>\/mysql <span class=\"hljs-attribute\">-uroot<\/span> <span class=\"hljs-attribute\">-p<\/span>    <span class=\"hljs-variable\">#p<\/span>\u540e\u8f93\u5165\u4e4b\u524d\u7684\u4e34\u65f6\u5bc6\u7801<\/code><\/pre>\n<h4 id=\"2\u4fee\u6539\u5bc6\u7801\">2.\u4fee\u6539\u5bc6\u7801<\/h4>\n<pre class=\"prettyprint\"><code class=\"hljs sql has-numbering\"><span class=\"hljs-operator\"><span class=\"hljs-keyword\">set<\/span> password=password(<span class=\"hljs-string\">'\u65b0\u5bc6\u7801'<\/span>);<\/span><\/code><\/pre>\n<h3 id=\"\u7b2c\u516d\u6b65\u8bbe\u7f6e\u8fdc\u7a0b\u8bbf\u95ee\">\u7b2c\u516d\u6b65\uff1a\u8bbe\u7f6e\u8fdc\u7a0b\u8bbf\u95ee<\/h3>\n<h4 id=\"1\u5728\u8fdc\u7a0b\u8bbf\u95ee\u4e4b\u524d\u9700\u5148\u6253\u5f00centos7\u7684\u7aef\u53e3\">1\uff0c\u5728\u8fdc\u7a0b\u8bbf\u95ee\u4e4b\u524d\u9700\u5148\u6253\u5f00centos7\u7684\u7aef\u53e3:<\/h4>\n<h5 id=\"1\u5f00\u542f\u7aef\u53e3\">1):\u5f00\u542f\u7aef\u53e3:<\/h5>\n<pre class=\"prettyprint\"><code class=\"language-sh hljs brainfuck has-numbering\"><span class=\"hljs-comment\">firewall<\/span><span class=\"hljs-literal\">-<\/span><span class=\"hljs-comment\">cmd<\/span> <span class=\"hljs-literal\">-<\/span><span class=\"hljs-literal\">-<\/span><span class=\"hljs-comment\">zone=public<\/span> <span class=\"hljs-literal\">-<\/span><span class=\"hljs-literal\">-<\/span><span class=\"hljs-comment\">add<\/span><span class=\"hljs-literal\">-<\/span><span class=\"hljs-comment\">port=3306\/tcp<\/span> <span class=\"hljs-literal\">-<\/span><span class=\"hljs-literal\">-<\/span><span class=\"hljs-comment\">permanent<\/span><\/code><\/pre>\n<h5 id=\"2\u91cd\u542f\u9632\u706b\u5899\">2):\u91cd\u542f\u9632\u706b\u5899:<\/h5>\n<pre class=\"prettyprint\"><code class=\"language-sh hljs brainfuck has-numbering\"><span class=\"hljs-comment\">firewall<\/span><span class=\"hljs-literal\">-<\/span><span class=\"hljs-comment\">cmd<\/span> <span class=\"hljs-literal\">-<\/span><span class=\"hljs-literal\">-<\/span><span class=\"hljs-comment\">reload<\/span><\/code><\/pre>\n<h4 id=\"2\u6388\u6743\">2\uff0c\u6388\u6743<\/h4>\n<p>mysql&gt;<code>grant all privileges on *.* to \u8fdc\u7a0b\u8bbf\u95ee\u7528\u6237\u540d@'%' identified by '\u7528\u6237\u5bc6\u7801';<\/code>\u00a0 mysql&gt;<code>select host,user from user;<\/code>\u3010\u591a\u51fa1\u6761\u8fdc\u7a0b\u767b\u5f55\u7528\u6237\u8bb0\u5f55\u3011\u00a0 mysql&gt;<code>flush privileges;<\/code>(\u5237\u65b0)<\/p>\n<p><strong>\u6b64\u65f6\u5c31\u53ef\u4ee5\u4f7f\u7528\u8fdc\u7a0b\u673a\u5668\u8fdb\u884c\u8bbf\u95ee\u5566!<\/strong><\/p>\n<p><strong>\u89e3\u6790\uff1a\u4f7f\u7528mysql -h\u4e3b\u673aip -u\u7528\u6237\u540d -p\u5bc6\u7801\u5373\u53ef\u8fdb\u884c\u8fdc\u7a0b\u8bbf\u95ee<\/strong><\/p>\n<h3 id=\"\u7b2c\u4e03\u6b65\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f\u52a8\">\u7b2c\u4e03\u6b65\uff1a\u8bbe\u7f6e\u5f00\u673a\u81ea\u542f\u52a8<\/h3>\n<h4 id=\"1\u6dfb\u52a0\u670d\u52a1mysql\">1\u3001\u6dfb\u52a0\u670d\u52a1mysql<\/h4>\n<p><code>chkconfig --add mysql<\/code>\u00a0\u3010mysqld -install\u3011<\/p>\n<h4 id=\"2\u8bbe\u7f6emysql\u670d\u52a1\u4e3a\u81ea\u52a8\">2\u3001\u8bbe\u7f6emysql\u670d\u52a1\u4e3a\u81ea\u52a8<\/h4>\n<p><code>chkconfig mysql on<\/code><\/p>\n<h4 id=\"3\u91cd\u542f\u67e5\u770b\u8fdb\u7a0b\">3\u3001\u91cd\u542f\u67e5\u770b\u8fdb\u7a0b<\/h4>\n<pre class=\"prettyprint\"><code class=\"hljs  has-numbering\">init 6<\/code><\/pre>\n<pre class=\"prettyprint\"><code class=\"hljs 1c has-numbering\">ps -ef<span class=\"hljs-string\">|grep mysql<\/span><\/code><\/pre>\n<h3 id=\"\u7b2c\u516b\u6b65\u914d\u7f6e\u73af\u5883\u53d8\u91cf\">\u7b2c\u516b\u6b65\uff1a\u914d\u7f6e\u73af\u5883\u53d8\u91cf<\/h3>\n<p>\u4e3a\u4e86\u65b9\u4fbf\u64cd\u4f5c\uff0c\u914d\u7f6e\u73af\u5883\u53d8\u91cf\u8fd8\u662f\u6709\u5fc5\u8981\u7684\u3002<\/p>\n<pre class=\"prettyprint\"><code class=\"hljs bash has-numbering\">vi \/etc\/profile\r\n<span class=\"hljs-keyword\">export<\/span> PATH=<span class=\"hljs-variable\">$JAVA_HOME<\/span>\/bin:\/usr\/local\/mysql\/bin:<span class=\"hljs-variable\">$PATH<\/span><\/code><\/pre>\n<p>\u5c0f\u7ed3\uff1a\u5230\u8fd9\u4e00\u6b65\u57fa\u672c\u7684\u914d\u7f6e\u57fa\u672c\u5c31\u5b8c\u6210\u4e86\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u539f\u6587\u94fe\u63a5\uff1ahttps:\/\/www.centoscn.com\/mysql\/2017\/0224\/8528.html<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7b2c\u4e00\u6b65\uff1a\u4e0b\u8f7dmysql \u5728Linux\u7ec8\u7aef\u4f7f\u7528wget\u547d\u4ee4\u4e0b\u8f7d\u7f51\u7edc\u8d44\u6e90\uff1a wget https:\/\/mirror &#8230; <a title=\"centos7 rpm\u65b9\u5f0f\u5b89\u88c5mysql5.7 \u8be6\u7ec6\u6559\u7a0b\" class=\"read-more\" href=\"https:\/\/cn.hostease.com\/xueyuan\/jishu\/centos7-rpm%e6%96%b9%e5%bc%8f%e5%ae%89%e8%a3%85mysql5-7-%e8%af%a6%e7%bb%86%e6%95%99%e7%a8%8b\/\" aria-label=\"\u9605\u8bfb centos7 rpm\u65b9\u5f0f\u5b89\u88c5mysql5.7 \u8be6\u7ec6\u6559\u7a0b\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[49,5,10],"tags":[559],"class_list":["post-1820","post","type-post","status-publish","format-standard","hentry","category-linux","category-jishu","category-shujuku","tag-linuxmysql5-7"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/1820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/comments?post=1820"}],"version-history":[{"count":1,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/1820\/revisions"}],"predecessor-version":[{"id":1821,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/1820\/revisions\/1821"}],"wp:attachment":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/media?parent=1820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/categories?post=1820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/tags?post=1820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}