{"id":6901,"date":"2022-11-15T14:21:12","date_gmt":"2022-11-15T06:21:12","guid":{"rendered":"https:\/\/www.wangonc.com\/?p=6901"},"modified":"2023-03-31T16:59:09","modified_gmt":"2023-03-31T08:59:09","slug":"openwrt-compilation","status":"publish","type":"post","link":"https:\/\/www.wangonc.com\/index.php\/2022\/11\/15\/openwrt-compilation\/","title":{"rendered":"openwrt\u7f16\u8bd1"},"content":{"rendered":"<h2>0\u3001\u524d\u8a00<\/h2>\n<p>\u7cfb\u7edf\u9009\u7528\uff1aUbbuntu<\/p>\n<p>\u63a8\u8350\u4f7f\u7528\u6d77\u5916\u4e91\u670d\u52a1\u5668\u7ade\u4ef7\u5b9e\u4f8b\u7f16\u8bd1\uff0ccpu\u6838\u5fc3\u8d8a\u591a\u8d8a\u597d\uff0c\u8282\u7ea6\u65f6\u95f4\uff0c\u8282\u7ea6\u751f\u547d\uff0c\u4ef7\u683c\u4e5f\u4e0d\u8d35<\/p>\n<p>\u5982\u679c\u672c\u5730\u78c1\u76d8\u7a7a\u95f4\u591f\u7528\u53c8\u4e0d\u6015\u7f16\u8bd1\u7684\u6162\u4e5f\u53ef\u4ee5\u4f7f\u7528wsl\u6216\u865a\u62df\u673a\uff0c\u6bd5\u7adf\u6bcf\u6b21\u7f16\u8bd1\u90fd\u8981\u91cd\u65b0\u6267\u884c\u4e00\u6b21\u672c\u6587\u64cd\u4f5c\u633a\u9ebb\u70e6\u7684\uff1b\u6216\u8005\u5427\u6e90\u7801\u6253\u5305\u62107z\u540e\u4e0b\u4e0b\u6765\u4e5f\u884c\uff0c\u4e0b\u4e00\u6b21\u518d\u4e0a\u4f20\u5230\u670d\u52a1\u5668\u4e0a<\/p>\n<hr \/>\n<blockquote>\n<p><strong>\u4ee5\u4e0b\u5168\u7a0b\u64cd\u4f5c\u90fd\u4e0d\u5e94\u5728root\u8d26\u6237\u4e0b\u8fdb\u884c<\/strong><\/p>\n<\/blockquote>\n<h2>1\u3001\u4f9d\u8d56\u5b89\u88c5<\/h2>\n<p><a href=\"https:\/\/openwrt.org\/docs\/guide-developer\/toolchain\/install-buildsystem#debianubuntu\">[OpenWrt Wiki] Build system setup<\/a><\/p>\n<pre><code class=\"language-bash\">sudo apt update\nsudo apt install build-essential gawk gcc-multilib flex git gettext libncurses5-dev libssl-dev python3-distutils rsync unzip zlib1g-dev clang<\/code><\/pre>\n<p>\u65e7\u7248\u672c\u4f7f\u7528<\/p>\n<pre><code class=\"language-bash\">sudo apt update\nsudo apt install build-essential ccache ecj fastjar file g++ gawk \ngettext git java-propose-classpath libelf-dev libncurses5-dev \nlibncursesw5-dev libssl-dev python python2.7-dev python3 unzip wget \npython-distutils-extra python3-setuptools python3-dev rsync subversion \nswig time xsltproc zlib1g-dev<\/code><\/pre>\n<p><a href=\"https:\/\/openwrt.org\/docs\/guide-developer\/toolchain\/use-buildsystem\">[OpenWrt Wiki] Build system usage<\/a><\/p>\n<h2>2\u3001\u4ee3\u7801\u62c9\u53d6<\/h2>\n<p>\u540c\u6b65\u4ee3\u7801 \uff0c\u6e90\u7801\u5927\u5c0f\u7ea6220Mb<\/p>\n<pre><code class=\"language-bash\">git clone https:\/\/git.openwrt.org\/openwrt\/openwrt.git\n# \u6d77\u5916\u4e3b\u673a\u7528git clone https:\/\/github.com\/openwrt\/openwrt.git\u4f1a\u5feb\u5f88\u591a\ngit pull<\/code><\/pre>\n<p>\u9009\u62e9\u5206\u652f<\/p>\n<pre><code class=\"language-bash\">git branch -a\ngit tag\ngit checkout v21.03.2 # \u9009\u62e9\u6700\u65b0\u7684\u5373\u53ef<\/code><\/pre>\n<p>\u8fd9\u91cc\u5982\u679c\u4e0d\u9009\u62e9\u5206\u652f\u5219\u4f1a\u4f7f\u7528\u4e3b\u5e72\u4ee3\u7801\u7f16\u8bd1\uff0c\u800copenwrt\u5185\u6838\u4e0d\u80fd\u70ed\u66f4\u65b0\uff0c\u4e3b\u5e72\u4ee3\u7801\u66f4\u65b0\u9891\u7e41\uff0c\u5e76\u4e0d\u7a33\u5b9a<\/p>\n<p>\u66f4\u65b0feeds<\/p>\n<pre><code class=\"language-bash\">.\/scripts\/feeds update -a\n.\/scripts\/feeds install -a<\/code><\/pre>\n<p>\u7f16\u8f91feeds.conf.default\u4e2d\u7684feeds\u5730\u5740\uff0c\u5c06\u539f\u5148\u7684\u5730\u5740\u6539\u4e3a<br \/>\nsrc-git-full packages <a href=\"https:\/\/github.com\/openwrt\/packages.git^72abf7e9f4cd6bbb9098ded9e9a0fe28e515d47f\">https:\/\/github.com\/openwrt\/packages.git^72abf7e9f4cd6bbb9098ded9e9a0fe28e515d47f<\/a><br \/>\nsrc-git-full luci <a href=\"https:\/\/github.com\/openwrt\/luci.git^69231a7d62a3b809fc5972071e691fb02730a10e\">https:\/\/github.com\/openwrt\/luci.git^69231a7d62a3b809fc5972071e691fb02730a10e<\/a><br \/>\nsrc-git-full routing <a href=\"https:\/\/github.com\/openwrt\/routing.git^1ccc4e435175e6ba5ac60e626e1e95eb25c5757b\">https:\/\/github.com\/openwrt\/routing.git^1ccc4e435175e6ba5ac60e626e1e95eb25c5757b<\/a><br \/>\nsrc-git-full telephony <a href=\"https:\/\/github.com\/openwrt\/telephony.git^1d2031a5c82816483c51bca15649e2957fbe2bc2\">https:\/\/github.com\/openwrt\/telephony.git^1d2031a5c82816483c51bca15649e2957fbe2bc2<\/a><br \/>\n\u4f1a\u5feb\u5f88\u591a<\/p>\n<p>\u6dfb\u52a0\u5e38\u7528\u63d2\u4ef6<\/p>\n<p>\u8fd9\u91cc\u6709\u4e24\u79cd\u65b9\u5f0f\u6dfb\u52a0\u63d2\u4ef6\uff0c\u7b2c\u4e00\u79cd\u662f\u5728feeds.conf.default\u6587\u4ef6\u4e2d\u6dfb\u52a0\u5f62\u5982src-git helloworld <a href=\"https:\/\/github.com\/fw876\/helloworld\">https:\/\/github.com\/fw876\/helloworld<\/a> \u7684\u6e90\uff0c\u4f46\u662f\u8fd9\u91cc\u5efa\u8bae\u4f7f\u7528\u4e0b\u4e00\u79cd\uff0c\u56e0\u4e3a\u6709\u65f6\u4f1a\u51fa\u73b0\u610f\u60f3\u4e0d\u5230\u7684\u95ee\u9898\uff0c\u4e14\u7f16\u8bd1\u597d\u540e\u8fd9\u4e2a\u6e90\u4f1a\u88ab\u6dfb\u52a0\u8fdbopkg\u7684\u9ed8\u8ba4\u6e90\u4e2d<\/p>\n<p>\u5373\u5728\u6e90\u7801\u76ee\u5f55\u7684package\u4e0b\u76f4\u63a5\u514b\u9686\u6e90\u7801\uff0c\u5982<\/p>\n<pre><code class=\"language-bash\">cd package\/\ngit clone https:\/\/github.com\/vernesong\/OpenClash.git # \u6e90\u7801\u5f88\u5927\u5f88\u5927\uff0c\u4e0d\u662f\u5f88\u7406\u89e3\ngit clone https:\/\/github.com\/lisaac\/luci-app-diskman.git # \u78c1\u76d8\u7ba1\u7406\ngit clone https:\/\/github.com\/jerrykuku\/luci-theme-argon.git # \u4e3b\u9898\ngit clone https:\/\/github.com\/davinyue\/luci-theme-edge.git # \u8fd8\u662f\u4e3b\u9898\ngit clone https:\/\/github.com\/rufengsuixing\/luci-app-adguardhome.git # \u53bb\u5e7f\u544a\ngit clone https:\/\/github.com\/cokebar\/openwrt-vlmcsd.git # kms\u670d\u52a1\u5668\ngit clone https:\/\/github.com\/cokebar\/luci-app-vlmcsd.git # kms\u670d\u52a1\u5668\u7684luci\ngit clone https:\/\/github.com\/sirpdboy\/luci-app-netdata.git # netdata\u76d1\u63a7\uff08\u9879\u76ee\u4e2d\u6c49\u5316\u7248\u672c\u7684netdata\u652f\u6301\u6301x86\uff09\ngit clone https:\/\/github.com\/sirpdboy\/luci-app-advanced.git # \u4e00\u4e9b\u63d2\u4ef6\u7684\u9ad8\u7ea7\u8bbe\u7f6e\uff08\u76f4\u63a5\u7f16\u8f91cfg\uff09\u548c\u6587\u4ef6\u7ba1\u7406\n# \u6211\u7528\u5230\u7684\u6682\u65f6\u5c31\u8fd9\u4e48\u591a\uff0c\u5176\u4ed6\u7684\u540e\u9762\u53ef\u4ee5\u518d\u88c5\uff0c\u5927\u591a\u6570\u63d2\u4ef6\u90fd\u4e0d\u53d7\u5185\u6838\u7248\u672c\u5f71\u54cd<\/code><\/pre>\n<h2>3\u3001\u7f16\u8f91\u914d\u7f6e<\/h2>\n<pre><code class=\"language-bash\">make menuconfig # \u6709\u4e00\u4e2atui\u754c\u9762\u7528\u4e8e\u9009\u62e9\u914d\u7f6e<\/code><\/pre>\n<p>\u6839\u636e\u786c\u4ef6\u9009\u62e9\u5e73\u53f0\uff0c\u4fee\u6539\u4e00\u4e0bram\u5927\u5c0f\u548c\u78c1\u76d8\u5206\u533a\u5927\u5c0f\uff0c\u78c1\u76d8\u5206\u533a\u5927\u5c0f\u4e0d\u5b9c\u4fee\u6539\u8fc7\u5927\uff0c\u56e0\u4e3a\u4f1a\u5bfc\u81f4\u955c\u50cf\u8fc7\u5927\uff0c\u70e7\u5199\u65f6\u95f4\u8fc7\u957f\uff0c\u53ef\u4ee5\u5237\u5199\u540e\u518d\u6269\u5bb9<\/p>\n<p>\u8fdb\u5165Base System\uff0c\u53d6\u6d88\u52fe\u9009dnsmasq\uff0c\u6539\u4e3adnsmasq-full(openclash\u7684\u4f9d\u8d56)<\/p>\n<p>\u5176\u4f59\u52fe\u9009\u4e0a\u9700\u8981\u7684\u5c31\u884c\uff08\u5c24\u5176\u662f\u9700\u8981\u7684\u5185\u6838\u6a21\u5757\u9700\u8981\u5728\u8fd9\u65f6\u52fe\u9009\uff0c\u81ea\u7f16\u8bd1\u7684\u56fa\u4ef6\u5185\u6838\u7248\u672c\u4e0e\u5b98\u65b9\u7684\u4e0d\u540c\uff0c\u65e0\u6cd5\u81ea\u884c\u6dfb\u52a0\u5185\u6838\u6a21\u5757\uff09\uff0c\u5982docker\u3001dockerd\u3001luci-app-dockerman\u3001ntfs-3g\uff08\u5982\u679c\u9700\u8981\u6302\u673a\u68b0\u76d8\u505a\u7f51\u76d8\u7684\u8bdd\uff09\u3001kmod-fs-antfs\u3001antfs-mount\uff08\u540c\u6837\u662fntfs\u9a71\u52a8\uff09\u3001kmod-fs-ext4\u3001kmod-fs-ntfs\uff08\u88c5\u4e86ntfs-3g\u5c31\u53ef\u4ee5\u4e0d\u88c5\u8fd9\u4e2a\uff0c\u56e0\u4e3a\u8fd9\u4e2a\u53ea\u652f\u6301ntfs\u8bfb\uff09\u3001kmod-fs-exfat\u3001luci\u3001luci-base\uff08\u8fd9\u4e2a\u4e3b\u8981\u662f\u4e0d\u88c5\u5c31\u6ca1\u6709\u56fe\u5f62\u754c\u9762\uff0c\u9700\u8981\u5237\u8fdb\u53bb\u540e\u518d\u88c5\uff09\u3001kmod-nls-utf8\u3001kmod-usb-ohci\u3001kmod-usb-storage\u3001kmod-usb-storage-extras\u3001kmod-usb-uhci\u3001kmod-usb2\uff08usb2\u652f\u6301\uff09\u3001kmod-usb3\uff08usb3\u652f\u6301\uff09<\/p>\n<p>\u9664\u6b64\u4e4b\u5916\u8bb0\u5f97\u9009\u4e0a\u4e0a\u9762git clone\u8fdbpackage\u91cc\u9762\u7684\u7b2c\u4e09\u65b9\u63d2\u4ef6\uff0c\u5426\u5219\u9ed8\u8ba4\u7f16\u8bd1<\/p>\n<p>\u5176\u5728menuconfig\u4e2d\u7684\u4f4d\u7f6e\u53ef\u4ee5\u5728makefile\u4e2d\u7684define Package\/PKG_NAME\u677f\u5757\u4e2d\u770b\u5230<\/p>\n<blockquote>\n<p>\u8fd9\u91cc\u5efa\u8bae\u628a\u53ef\u80fd\u7528\u5230\u7684\u5305\u90fd\u8bbe\u5b9a\u4e3aM\u9009\u9879\u5e76\u4fdd\u5b58\u4e0b\u6765\uff0c\u5c24\u5176\u662f\u5185\u6838\u4f9d\u8d56\u6a21\u5757\uff0c\u4ee5\u4fbf\u540e\u7eed\u9700\u8981\u7684\u65f6\u5019\u624b\u52a8\u5b89\u88c5\u3002\u5b98\u65b9\u6e90\u4f1a\u7531\u4e8e\u81ea\u7f16\u8bd1\u56fa\u4ef6\u7684\u5185\u6838\u7248\u672c\u4e0d\u7b26\u5408\u8981\u6c42\u800c\u4e0d\u53ef\u7528\u3002\u4f46\u662f\u9009\u4e2d\u7684\u6a21\u5757\u8d8a\u591a\uff0c\u7f16\u8bd1\u4e0d\u901a\u8fc7\u7684\u6982\u7387\u5c31\u8d8a\u5927<\/p>\n<\/blockquote>\n<h2>4\u3001\u4fee\u6539\u9ed8\u8ba4ip<\/h2>\n<p>\u9ed8\u8ba4ip\u4e3a192.168.1.1\uff0c\u4f1a\u548c\u5149\u732bip\u51b2\u7a81\uff0c\u4fee\u6539\u4e3a192.168.2.1<\/p>\n<p><code>vim package\/base-files\/files\/bin\/config_generate<\/code><\/p>\n<p>\u627e\u5230 <code>lan) ipad=${ipaddr:-192.168.1.1} ;;<\/code> \u4e00\u884c\uff0c\u6539\u4e3a <code>lan) ipad=${ipaddr:-192.168.2.1} ;;<\/code><\/p>\n<h2>5\u3001\u7f16\u8bd1<\/h2>\n<p><a href=\"https:\/\/openwrt.org\/zh-cn\/doc\/howto\/build#%E6%9E%84%E5%BB%BA%E9%95%9C%E5%83%8F\" title=\"[OpenWrt Wiki] OpenWrt\u7f16\u8bd1 \u2013 \u8bf4\u660e\">[OpenWrt Wiki] OpenWrt\u7f16\u8bd1 \u2013 \u8bf4\u660e<\/a><\/p>\n<p>\u4e0b\u8f7d\u4f9d\u8d56\u6e90\u7801\uff08\u53ef\u80fd\u6bd4\u8f83\u4e45\uff09<\/p>\n<p><code>make download<\/code> \u4f7f\u7528-j\u6307\u5b9a\u7ebf\u7a0b\u6570\u53ef\u4ee5\u63d0\u901f<\/p>\n<p>\u7f16\u8bd1\uff08\u5b98\u65b9\u5efa\u8bae\u4f7f\u7528\u7f16\u8bd1\u7684\u8fdb\u7a0b\u6570\u4e3a\u4f60\u7684CPU\u4e2a\u6570 + 1\uff09<\/p>\n<p><code>make V=s -j $(($(nproc)+1))<\/code><\/p>\n<p>\u7f16\u8bd1\u5b8c\u6210\u540e\u8f93\u51fa\u8def\u5f84\uff1abin\/targets<\/p>\n<p>\u5982\u679c\u7f16\u8bd1\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u968f\u673a\u9519\u8bef\uff08\u6bcf\u6b21\u4e0d\u76f8\u540c\u7684\u9519\u8bef\uff0c\u5219\u5efa\u8bae\u4e0d\u4f7f\u7528\u591a\u7ebf\u7a0b\u7f16\u8bd1\uff09<\/p>\n<p>\u9700\u8981\u9700\u8981\u5355\u72ec\u7f16\u8bd1\u67d0\u4e2a\u5305\uff0c\u53ef\u4ee5\u6267\u884c <code>make package\/[\u5305\u540d]\/compile V=99<\/code> \u3002\u7f16\u5b8c\u540e\u5728bin\/packages\u4e0b\u4f1a\u627e\u5230\u5bf9\u5e94\u7684ipk\u6587\u4ef6\u3002<\/p>\n<p>\u7f16\u8bd1\u540e\u5305\u542b\u751f\u6210\u7269\u603b\u7a7a\u95f4\u5360\u7528\u7ea670G<\/p>\n<blockquote>\n<p>1\u3001\u5982\u679c\u7f16\u8bd1\u597d\u7684\u955c\u50cfluci\u62d2\u7edd\u8fde\u63a5\uff0c\u8fdessh\u88c5\u4e2aluci\u548cluci-base\u5c31\u597d\uff0c\u7f16\u8bd1\u56fa\u4ef6\u9ed8\u8ba4\u6ca1\u6709web ui\uff08\u5982\u679c\u7f16\u8bd1\u7684\u65f6\u5019\u6ca1\u6709\u9009\u4e0a\u7684\u8bdd\uff09<br \/>\n2\u3001\u914d\u7f6e\u7684\u65f6\u5019\uff0c\u9009\u62e9\u7684\u4e1c\u897f\u8d8a\u5c11\uff0c\u7f16\u8bd1\u7684\u901f\u5ea6\u5c31\u8d8a\u5feb\uff0c\u51fa\u9519\u7684\u6982\u7387\u5c31\u8d8a\u5c0f<br \/>\n3\u3001\u7531\u4e8e\u81ea\u7f16\u8bd1\u7684\u56fa\u4ef6\u5185\u6838\u7248\u672c\u548c\u5b98\u65b9\u4e0d\u4e00\u81f4\uff0c\u6240\u4ee5\u9700\u8981\u5185\u6838\u4f9d\u8d56\u7684\u5305\u5747\u4e0d\u80fd\u901a\u8fc7\u5b98\u65b9\u5e93\u5b89\u88c5\uff0c\u9700\u8981\u81ea\u884c\u7f16\u8bd1<br \/>\n4\u3001\u5982\u679c\u662f\u4e8c\u6b21\u7f16\u8bd1\uff0c\u9700\u8981\u6839\u636e\u6539\u52a8\u7684\u5e45\u5ea6\u6267\u884c\u4e0d\u540c\u7a0b\u5ea6\u7684\u6e05\u7406\u64cd\u4f5c\uff0c\u4ee5\u514d\u5bf9\u7f16\u8bd1\u7684\u7ed3\u679c\u9020\u6210\u5f71\u54cd<br \/>\n5\u3001\u7f16\u8bd1\u6210\u529f\u540e\uff0c\u53ef\u4ee5\u628aconfig\u6587\u4ef6\u4fdd\u5b58\u4e0b\u6765\uff08\u5373\u955c\u50cf\u76ee\u5f55\u5185\u7684info\u6587\u4ef6\uff09\uff0c\u4fbf\u4e8e\u4e0b\u6b21\u7f16\u8bd1<\/p>\n<\/blockquote>\n<h2>6\u3001\u9644\u5f55<\/h2>\n<h3>6.1\u3001\u51e0\u79cdclean\u7684\u533a\u522b<\/h3>\n<p><strong>make clean<\/strong>: \u6e05\u9664bin\u76ee\u5f55<\/p>\n<pre><code class=\"language-bash\">clean: FORCE\n  rm -rf $(BUILD_DIR) $(STAGING_DIR) $(BIN_DIR) $(OUTPUT_DIR)\/packages\/$(ARCH_PACKAGES) $(BUILD_LOG_DIR)<\/code><\/pre>\n<p><strong>make dirclean<\/strong>: make clean+\u6e05\u9664\u4ea4\u53c9\u7f16\u8bd1\u5de5\u5177\u53ca\u5de5\u5177\u94fe\u76ee\u5f55<\/p>\n<pre><code class=\"language-bash\">dirclean:clean\n  rm -rf $(STAGING_DIR_HOST) $(STAGING_DIR_HOSTPKG) $(TOOLCHAIN_DIR) $(BUILD_DIR_BASE)\/host $(BUILD_DIR_BASE)\/hostpkg $(BUILD_DIR_TOOLCHAIN)\n  rm -rf $(TMP_DIR)<\/code><\/pre>\n<p><strong>make distclean<\/strong>: \u6e05\u9664\u6240\u6709\u76f8\u5173\u7684\u4e1c\u897f\uff0c\u5305\u62ec\u4e0b\u8f7d\u7684\u8f6f\u4ef6\u5305\uff0c\u914d\u7f6e\u6587\u4ef6\uff0cfeed\u5185\u5bb9\u7b49<\/p>\n<h3>6.2\u3001smb\u5171\u4eab\u7684\u76f8\u5173\u8bbe\u7f6e<\/h3>\n<p>\u4ee5ksmbd\u4e3a\u4f8b\uff1a<br \/>\n\u9700\u8981\u5b89\u88c5luci-app-ksmbd\uff08\u9700\u8981\u5b89\u88c5\u5185\u6838\u6a21\u5757\uff09<\/p>\n<pre><code class=\"language-bash\">ksmbd.adduser -a test # \u6dfb\u52a0\u540d\u4e3atest\u7684smb\u7528\u6237\uff08\u9700\u8981\u8f93\u5165\u5bc6\u7801\uff09\n\/etc\/inid.d\/ksmbd restart # \u91cd\u542fksmbd\u670d\u52a1\n# \u7136\u540eluci\u4e2d\u8bbe\u7f6e\u521a\u6dfb\u52a0\u7684\u7528\u6237\u5373\u53ef<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>0\u3001\u524d\u8a00 \u7cfb\u7edf\u9009\u7528\uff1aUbbuntu \u63a8\u8350\u4f7f\u7528\u6d77\u5916\u4e91\u670d\u52a1\u5668\u7ade\u4ef7\u5b9e\u4f8b\u7f16\u8bd1\uff0ccpu\u6838\u5fc3\u8d8a\u591a\u8d8a\u597d\uff0c\u8282\u7ea6\u65f6\u95f4\uff0c\u8282\u7ea6\u751f\u547d\uff0c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[67],"series":[],"class_list":["post-6901","post","type-post","status-publish","format-standard","hentry","category-toss-record","tag-openwrt"],"_links":{"self":[{"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/posts\/6901","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/comments?post=6901"}],"version-history":[{"count":20,"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/posts\/6901\/revisions"}],"predecessor-version":[{"id":7080,"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/posts\/6901\/revisions\/7080"}],"wp:attachment":[{"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/media?parent=6901"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/categories?post=6901"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/tags?post=6901"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/www.wangonc.com\/index.php\/wp-json\/wp\/v2\/series?post=6901"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}