{"id":1297,"date":"2020-05-21T01:46:59","date_gmt":"2020-05-20T17:46:59","guid":{"rendered":"http:\/\/39.97.231.10\/?p=1297"},"modified":"2020-05-21T01:46:59","modified_gmt":"2020-05-20T17:46:59","slug":"glusterfs%e5%88%86%e5%b8%83%e5%bc%8f%e6%96%87%e4%bb%b6%e7%b3%bb%e7%bb%9f%e7%8e%af%e5%a2%83%e9%83%a8%e7%bd%b2","status":"publish","type":"post","link":"http:\/\/www.weijing.co\/?p=1297","title":{"rendered":"GlusterFS\u5206\u5e03\u5f0f\u6587\u4ef6\u7cfb\u7edf\u73af\u5883\u90e8\u7f72"},"content":{"rendered":"<h3 style=\\\"padding-left: 40px;\\\">\u4e00\u3001\u6982\u8ff0<\/h3>\n<p style=\\\"padding-left: 40px;\\\">\u672c\u624b\u518c\u4e3b\u8981\u662f\u5173\u4e8eGlusterFS\u5206\u5e03\u5f0f\u6587\u4ef6\u7cfb\u7edf\u73af\u5883\u90e8\u7f72\u8bf4\u660e\u3002<\/p>\n<h3 style=\\\"padding-left: 40px;\\\"><b>\u4e8c\u3001 <\/b><strong><b>\u5b89\u88c5\u73af\u5883\u9700\u6c42<\/b><\/strong><\/h3>\n<ul>\n<li><strong><b>\u5b89\u88c5\u5305\u8bf4\u660e<\/b><\/strong><\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\">\u64cd\u4f5c\u7cfb\u7edf\uff1aCentOS release 6.6\n\u975e\u7ed3\u6784\u5316\u6570\u636e\u5b58\u50a8\uff1aGlusterfs v3.7<\/pre>\n<ul>\n<li><b>\u00a0<\/b><strong><b>\u7f51\u7edc\u9700\u6c42<\/b><\/strong><\/li>\n<\/ul>\n<p style=\\\"padding-left: 40px;\\\">\u975e\u673a\u6784\u5316\u5b58\u50a8\u91c7\u7528GlusterFS\u5206\u5e03\u5f0f\u6587\u4ef6\u7cfb\u7edf\u8fdb\u884c\u5b58\u50a8\uff0c\u96c6\u7fa4\u7531\u4e09\u4e2a\u8282\u70b9\u7ec4\u6210\uff0c\u901a\u8fc7Client\u6302\u8f7d\u5b9e\u73b0\u8bbf\u95ee\u3002<\/p>\n<p><img class=\\\"wp-image-1298 aligncenter\\\" src=\\\"http:\/\/www.iweijing.cn\/wp-content\/uploads\/2020\/05\/gfs-300x266.png\\\" alt=\\\"\\\" width=\\\"569\\\" height=\\\"504\\\" \/><\/p>\n<ul>\n<li style=\\\"list-style-type: none;\\\">\n<ul>\n<li>\u5730\u5740\u89c4\u5212<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\\\"list-style-type: none;\\\"><\/li>\n<\/ul>\n<table style=\\\"margin-left: 40px;\\\">\n<tbody style=\\\"padding-left: 40px;\\\">\n<tr style=\\\"padding-left: 40px;\\\">\n<td style=\\\"padding-left: 40px;\\\" width=\\\"189\\\">\n<p style=\\\"padding-left: 40px;\\\">\u540d\u79f0<\/p>\n<\/td>\n<td style=\\\"padding-left: 40px;\\\" width=\\\"224\\\">\n<p style=\\\"padding-left: 40px;\\\">\u5730\u5740<\/p>\n<\/td>\n<td style=\\\"padding-left: 40px;\\\" width=\\\"283\\\">\n<p style=\\\"padding-left: 40px;\\\">\u8bf4\u660e<\/p>\n<\/td>\n<\/tr>\n<tr style=\\\"padding-left: 40px;\\\">\n<td style=\\\"padding-left: 40px;\\\" width=\\\"189\\\">\n<p style=\\\"padding-left: 40px;\\\">GlusterFS-01<\/p>\n<\/td>\n<td style=\\\"padding-left: 40px;\\\" width=\\\"224\\\">\n<p style=\\\"padding-left: 40px;\\\">172.19.0.6<\/p>\n<\/td>\n<td style=\\\"padding-left: 40px;\\\" width=\\\"283\\\">\n<p style=\\\"padding-left: 40px;\\\">\n<\/td>\n<\/tr>\n<tr style=\\\"padding-left: 40px;\\\">\n<td style=\\\"padding-left: 40px;\\\" width=\\\"189\\\">\n<p style=\\\"padding-left: 40px;\\\">GlusterFS-02<\/p>\n<\/td>\n<td style=\\\"padding-left: 40px;\\\" width=\\\"224\\\">\n<p style=\\\"padding-left: 40px;\\\">172.19.4.3<\/p>\n<\/td>\n<td style=\\\"padding-left: 40px;\\\" width=\\\"283\\\">\n<p style=\\\"padding-left: 40px;\\\">\n<\/td>\n<\/tr>\n<tr style=\\\"padding-left: 40px;\\\">\n<td style=\\\"padding-left: 40px;\\\" width=\\\"189\\\">\n<p style=\\\"padding-left: 40px;\\\">GlusterFS-03<\/p>\n<\/td>\n<td style=\\\"padding-left: 40px;\\\" width=\\\"224\\\">\n<p style=\\\"padding-left: 40px;\\\">172.19.8.3<\/p>\n<\/td>\n<td style=\\\"padding-left: 40px;\\\" width=\\\"283\\\">\n<p style=\\\"padding-left: 40px;\\\">\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\\\"padding-left: 40px;\\\"><b>\u4e09\u3001 <\/b><strong><b>GlusterFS\u914d\u7f6e<\/b><\/strong><\/h3>\n<ul>\n<li style=\\\"list-style-type: none;\\\">\n<ul>\n<li><strong><b>\u524d\u671f\u51c6\u5907<\/b><\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\\\"padding-left: 40px;\\\"><b><\/b><strong><b>\u4e3b\u673a\u540d\u8bbe\u7f6e<\/b><\/strong><\/p>\n<p style=\\\"padding-left: 40px;\\\">\u6dfb\u52a0\u4e3b\u673a\u540d\u53caIP\u5bf9\u5e94\u5173\u7cfb<\/p>\n<pre style=\\\"padding-left: 40px;\\\"># vim \/etc\/hosts\n172.19.0.6 GlusterFS-01\n172.19.4.3 GlusterFS-02\n172.19.8.3 GlusterFS-03\n180.8.40.11 Client<\/pre>\n<ul>\n<li style=\\\"list-style-type: none;\\\">\n<ul>\n<li><b><\/b><strong><b>DNS\u8bbe\u7f6e<\/b><\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\"># vim \/etc\/resolv.conf\nnameserver 180.8.10.253<\/pre>\n<ul>\n<li style=\\\"list-style-type: none;\\\">\n<ul>\n<li><b><\/b><strong><b>NTP\u8bbe\u7f6e \u7edf\u4e00\u65f6\u95f4<\/b><\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\">\/etc\/ntp.conf<\/pre>\n<ul>\n<li style=\\\"list-style-type: none;\\\">\n<ul>\n<li><b><\/b><strong><b>\u5173\u95ed\u9632\u706b\u5899<\/b><\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\">service iptables stop\nchkconfig iptables off<\/pre>\n<p style=\\\"padding-left: 40px;\\\">\u6ce8\uff1a\u5982\u679c\u9700\u8981\u542f\u7528\u9632\u706b\u5899\uff0c\u9700\u8981\u6dfb\u52a0glusterfs\u7684\u7aef\u53e3<\/p>\n<ul>\n<li style=\\\"list-style-type: none;\\\">\n<ul>\n<li><b><\/b><strong><b>\u5173\u95edSElinux<\/b><\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\">\u67e5\u770bSELinux\u72b6\u6001\uff1a\ngetenforce \u67e5\u770b\u542f\u7528\u7684\u72b6\u6001\n\u5982\u679cSELinux status\u53c2\u6570\u4e3aenabled\u5373\u4e3a\u5f00\u542f\u72b6\u6001\nSELinux status: \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0enabled<\/pre>\n<pre style=\\\"padding-left: 40px;\\\">cat \/etc\/selinux\/config\nsed -i \\\"s\/SELINUX=enforcing\/SELINUX=disabled\/g\\\" \/etc\/selinux\/config\n\u786e\u8ba4SELINUX=disabled\uff0c\u5982\u4e0d\u662f\u8fdb\u884c\u4fee\u6539\u540e\u91cd\u542f\u7cfb\u7edf\u3002<\/pre>\n<ul>\n<li style=\\\"list-style-type: none;\\\">\n<ul>\n<li><b><\/b><strong><b>\u78c1\u76d8\u5206\u533a<\/b><\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\">ext4\u683c\u5f0f\u5316\u5de5\u5177\u76ee\u524d\u652f\u6301\u6700\u592716TB\n\u4f7f\u7528parted\u8fdb\u884c\u78c1\u76d8\u5206\u533a\n\u5206\u533a\u683c\u5f0f\u5316\nmkfs.ext4 -L \/NODE1 \u00a0\/dev\/sdb<\/pre>\n<ul>\n<li><strong><b>\u5206\u7ec4\u81ea\u52a8\u6302\u8f7d<\/b><\/strong><\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\">mkdir \/NODE1\nmkfs.ext4 -L \/NODE1 \/dev\/sdb\nmount -t ext4 -L \/NODE1 \u00a0\/NODE1<\/pre>\n<ul>\n<li><strong><b>\u5f00\u673a\u81ea\u52a8\u6302\u8f7d<\/b><\/strong><\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\">\/etc\/fstab\nLABEL=\/NODE1 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\/NODE1 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0ext4 \u00a0\u00a0\u00a0defaults \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a00 0<\/pre>\n<ul>\n<li><strong><b>\u67e5\u770b\u5377\u6807<\/b><\/strong><\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\">e2label \/dev\/sdb\n\u6dfb\u52a0\u5230\/etc\/fstab\u540e\u53ef\u4ee5\u9a8c\u8bc1\u81ea\u52a8\u6302\u8f7d\nmount \u2013a\n\u4e09\u53f0GlusterFS\u5206\u522b\u6267\u884c\u4ee5\u4e0a\u64cd\u4f5c<\/pre>\n<h4 style=\\\"padding-left: 40px;\\\"><strong><b>GlusterFS Server\u914d\u7f6e\u5b89\u88c5<\/b><\/strong><\/h4>\n<ul>\n<li style=\\\"list-style-type: none;\\\">\n<ul>\n<li><b><\/b><strong><b>Fuse\u652f\u6301\u5e93\u5b89\u88c5<\/b><\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\">#yum install fuse -y<\/pre>\n<ul>\n<li><strong><b>\u00a0<\/b><\/strong>\u67e5\u770bFuse\u652f\u6301\u5e93\u662f\u5426\u5b89\u88c5<\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\"># lsmod | grep \\\"fuse\\\"\nfuse \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a073530 \u00a00\n\u4ee5\u4e0a\u63d0\u793a\u8bf4\u660eFuse\u5df2\u7ecf\u5b89\u88c5\uff0c\u5982\u679c\u6ca1\u6709\u5219\u9700\u8981\u8fdb\u884c\u5b89\u88c5\uff1a<\/pre>\n<ul>\n<li><strong><b>\u6302\u8f7dfuse\u5185\u6838\u6a21\u5757<\/b><\/strong>\n<pre>#modprobe fuse (\u5173\u952e)\n#lsmod | grep \\\"fuse\\\" (\u67e5\u8be2fuse\u5185\u6838\u6a21\u5757\u662f\u5426\u5df2\u6b63\u786e\u6302\u8f7d)<\/pre>\n<\/li>\n<\/ul>\n<ul>\n<li style=\\\"list-style-type: none;\\\">\n<ul>\n<li><b><\/b><strong><b>Glusterfs Server\u5b89\u88c5<\/b><\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\">#tar -zxvf glusterfs-3.3.1.tar.gz\n# cd glusterfs-3.3.1\n#.\/configure --prefix=\/usr\/local\n#make &amp;&amp; make install<\/pre>\n<ul>\n<li>\u67e5\u770b\u662f\u5426\u5b89\u88c5\u6210\u529f\uff1a<\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\"># glusterd -V\nglusterfs 3.3.1 built on Jun 10 2015 07:43:49\nRepository revision: git:\/\/git.gluster.com\/glusterfs.git\nCopyright (c) 2006-2011 Gluster Inc. &lt;<a href=\\\"&quot;http:\/\/www.gluster.com\\\">\/\\\" &gt;http:\/\/www.gluster.com&gt;<\/a>\nGlusterFS comes with ABSOLUTELY NO WARRANTY.\nYou may redistribute copies of GlusterFS under the terms of the GNU General Public License.<\/pre>\n<ul>\n<li style=\\\"list-style-type: none;\\\">\n<ul>\n<li><b><\/b><strong><b>Glusterd\u670d\u52a1\u81ea\u542f\u52a8<\/b><\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\">service glusterd start\n<strong><b>\u6dfb\u52a0\u5f00\u673a\u81ea\u542f\u52a8<\/b><\/strong>\nchkconfig glusterd on<\/pre>\n<h3 style=\\\"padding-left: 40px;\\\"><strong><b>Volume\u7ba1\u7406<\/b><\/strong><\/h3>\n<ul>\n<li style=\\\"list-style-type: none;\\\">\n<ul>\n<li><b><\/b><strong><b>\u7ec4\u5efa\u6269\u5c55<\/b><\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\">#\u9009\u62e9\u5176\u4e2d\u4e00\u4e2a\u8282\u70b9\u8fdb\u884c\u64cd\u4f5c\ngluster peer probe \u7ec4\u5efa\u96c6\u7fa4\ngluster peer probe GlusterFS-01\ngluster peer probe GlusterFS-02\ngluster peer probe GlusterFS-03<\/pre>\n<ul>\n<li style=\\\"list-style-type: none;\\\">\n<ul>\n<li><b><\/b><strong><b>\u590d\u5408\u5377\uff08\u54c8\u5e0c-\u590d\u5236\u5377\uff09<\/b><\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p style=\\\"padding-left: 40px;\\\">\u793a\u4f8b\uff1a<\/p>\n<pre style=\\\"padding-left: 40px;\\\"># gluster volume create test-volume replica 2 transport tcp server1:\/exp1 server2:\/exp2 server3:\/exp3 server4:\/exp4 server5:\/exp5 server6:\/exp6\nCreation of test-volume has been successful\nPlease start the volume to access data.<\/pre>\n<ul>\n<li><strong><b>\u521b\u5efa\u590d\u5236\u5377<\/b><\/strong><\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\">gluster volume create dht_afr_1 replica 3 GlusterFS-01:\/NODE1\/data1 GlusterFS-02:\/NODE1\/data1 GlusterFS-03:\/NODE1\/data1 GlusterFS-01:\/NODE1\/data2 GlusterFS-02:\/NODE1\/data2 GlusterFS-03:\/NODE1\/data2<\/pre>\n<ul>\n<li><strong><b>\u67e5\u770b\u5377\u4fe1\u606f\uff1a<\/b><\/strong><\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\">gluster volume info<\/pre>\n<ul>\n<li><strong><b>\u542f\u52a8\u521b\u5efa\u5377<\/b><\/strong><\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\">gluster volume start dht_afr_1<\/pre>\n<ul>\n<li><strong><b>\u67e5\u770b\u5377\u72b6\u6001<\/b><\/strong><\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\">gluster volume status dht_afr_1<\/pre>\n<h3><\/h3>\n<h3 style=\\\"padding-left: 40px;\\\">Client \u5b89\u88c5<\/h3>\n<ul>\n<li><strong><b>Fuse\u652f\u6301\u5e93\u5b89\u88c5<\/b><\/strong><\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\">#yum install fuse -y<\/pre>\n<ul>\n<li><strong><b>\u00a0<\/b><\/strong>\u67e5\u770bFuse\u652f\u6301\u5e93\u662f\u5426\u5b89\u88c5<\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\"># lsmod | grep \\\"fuse\\\"\nfuse \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a073530 \u00a00\n\u4ee5\u4e0a\u63d0\u793a\u8bf4\u660eFuse\u5df2\u7ecf\u5b89\u88c5\uff0c\u5982\u679c\u6ca1\u6709\u5219\u9700\u8981\u8fdb\u884c\u5b89\u88c5\uff1a<\/pre>\n<ul>\n<li><strong><b>\u6302\u8f7dfuse\u5185\u6838\u6a21\u5757<\/b><\/strong><\/li>\n<\/ul>\n<pre>#modprobe fuse (\u5173\u952e)\n#lsmod | grep \\\"fuse\\\" (\u67e5\u8be2fuse\u5185\u6838\u6a21\u5757\u662f\u5426\u5df2\u6b63\u786e\u6302\u8f7d)<\/pre>\n<ul>\n<li><strong><b>\u5b89\u88c5GlusterFS Client<\/b><\/strong><\/li>\n<\/ul>\n<pre style=\\\"padding-left: 40px;\\\">#tar -zxvf glusterfs-3.3.1.tar.gz\n# cd glusterfs-3.3.1\n# \/configure\n#make &amp;&amp; make install<\/pre>\n<ul>\n<li><strong><b>\u00a0<\/b><\/strong><strong><b>\u5377\u7ec4\u8fdb\u884c\u6302\u8f7d\uff1a<\/b><\/strong><\/li>\n<\/ul>\n<p style=\\\"padding-left: 40px;\\\"><strong><b>\u590d\u5408\u5377\uff08\u54c8\u5e0c-\u590d\u5236\u5377\uff09<\/b><\/strong><\/p>\n<pre style=\\\"padding-left: 40px;\\\">#\u521b\u5efa\u6302\u8f7d\u76ee\u5f55\nmkdir -p \/gfs<\/pre>\n<p style=\\\"padding-left: 40px;\\\"><strong><b>\u6267\u884c\u6302\u8f7d<\/b><\/strong><\/p>\n<pre style=\\\"padding-left: 40px;\\\">mount -t glusterfs GlusterFS-01:\/dht_afr_1 \/gfs<\/pre>\n<pre style=\\\"padding-left: 40px;\\\"><strong><b>\u8bbe\u7f6e\u5f00\u673a\u81ea\u52a8\u6302\u8f7d\uff1a\n<\/b><\/strong>\u5c06\u4ee5\u4e0b\u6302\u8f7d\u547d\u4ee4\u6dfb\u52a0\u5230\u5f00\u673a\u81ea\u52a8\u542f\u52a8\uff0c\n\/etc\/rc.d\/rc.local\nmount -t glusterfs GlusterFS-01:\/dht_afr_1 \/gfs<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u3001\u6982\u8ff0 \u672c\u624b\u518c\u4e3b\u8981\u662f\u5173\u4e8eGlusterFS\u5206\u5e03\u5f0f\u6587\u4ef6\u7cfb\u7edf\u73af\u5883\u90e8\u7f72\u8bf4\u660e\u3002 \u4e8c\u3001 \u5b89\u88c5\u73af\u5883\u9700\u6c42 \u5b89\u88c5\u5305\u8bf4\u660e \u64cd\u4f5c &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"http:\/\/www.weijing.co\/?p=1297\"> <span class=\"screen-reader-text\">GlusterFS\u5206\u5e03\u5f0f\u6587\u4ef6\u7cfb\u7edf\u73af\u5883\u90e8\u7f72<\/span> \u67e5\u770b\u5168\u6587 &raquo;<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":""},"categories":[115],"tags":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"mailpoet_newsletter_max":false,"woocommerce_thumbnail":false,"woocommerce_single":false,"woocommerce_gallery_thumbnail":false,"shop_catalog":false,"shop_single":false,"shop_thumbnail":false},"uagb_author_info":{"display_name":"weijing","author_link":"http:\/\/www.weijing.co\/?author=4"},"uagb_comment_info":0,"uagb_excerpt":"\u4e00\u3001\u6982\u8ff0 \u672c\u624b\u518c\u4e3b\u8981\u662f\u5173\u4e8eGlusterFS\u5206\u5e03\u5f0f\u6587\u4ef6\u7cfb\u7edf\u73af\u5883\u90e8\u7f72\u8bf4\u660e\u3002 \u4e8c\u3001 \u5b89\u88c5\u73af\u5883\u9700\u6c42 \u5b89\u88c5\u5305\u8bf4\u660e \u64cd\u4f5c&hellip;","_links":{"self":[{"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/posts\/1297"}],"collection":[{"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/www.weijing.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1297"}],"version-history":[{"count":0,"href":"http:\/\/www.weijing.co\/index.php?rest_route=\/wp\/v2\/posts\/1297\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.weijing.co\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.weijing.co\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1297"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.weijing.co\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}