{"id":106,"date":"2025-03-16T18:31:57","date_gmt":"2025-03-16T10:31:57","guid":{"rendered":"https:\/\/518958.xyz\/?p=106"},"modified":"2025-03-16T18:34:32","modified_gmt":"2025-03-16T10:34:32","slug":"goedge-cdn-v1-3-9-%e7%ba%af%e5%87%80%e5%bc%80%e5%bf%83%e7%89%88%e9%83%a8%e7%bd%b2%e6%8c%87%e5%8d%97-%e4%ba%ba%e4%ba%ba%e9%83%bd%e6%9c%89%e4%bc%81%e4%b8%9a%e8%bf%90%e8%90%a5%e7%ba%a7cdn%e7%b3%bb","status":"publish","type":"post","link":"https:\/\/518958.xyz\/?p=106","title":{"rendered":"GoEdge CDN v1.3.9 \u7eaf\u51c0\u5f00\u5fc3\u7248\u90e8\u7f72\u6307\u5357 &#8211;\u4eba\u4eba\u90fd\u6709\u4f01\u4e1a\u8fd0\u8425\u7ea7CDN\u7cfb\u7edf"},"content":{"rendered":"<h2>\u524d\u60c5\u63d0\u8981<\/h2>\n<p>\u4f17\u6240\u5468\u77e5\uff0cGoEdge\u662f\u4e00\u5957\u5f00\u6e90CDN\u7cfb\u7edf\uff0c\u5305\u542b\u5f00\u6e90\u514d\u8d39\u7684\u793e\u533a\u7248\u53ca\u4ed8\u8d39\u7684\u5546\u4e1a\u7248\u3002\u524d\u6bb5\u65f6\u95f4\u7206\u51fa\u5176\u5df2\u88ab\u539f\u4f5c\u8005\u8d85\u54e5\u8f6c\u8ba9\u7ed9\u65b9\u80fd\u7cfb\uff08\u9ed1\u4ea7\uff09\uff0c\u4e14\u5728\u5176\u8fb9\u7f18\u8282\u70b9\u7a0b\u5e8f\u6700\u65b0\u7248\u672cv1.4.1\u4e2d\u6295\u6bd2\uff08<strong>\u5305\u62ec\u793e\u533a\u7248\u53ca\u5546\u4e1a\u7248\u5728\u5185\u7684\u6240\u6709\u7248\u672c<\/strong>\uff09\uff0c\u5373\u5728\u5ba2\u6237\u521b\u5efa\u7684\u52a0\u901f\u7ad9\u70b9\u5f15\u5165\u7b2c\u4e09\u65b9\uff08\u65b9\u80fd\u7cfb\uff09\u6076\u610fJS\u811a\u672c\uff0c<strong>\u5bfc\u81f4\u5ba2\u6237\u7f51\u7ad9\u5c06\u5728\u67d0\u4e9b\u7279\u5b9a\u60c5\u51b5\u4e0b\u88ab\u91cd\u5b9a\u5411\u81f3\u8fdd\u6cd5\u7f51\u7ad9<\/strong>\u3002<\/p>\n<p>\u76ee\u524d\u53d1\u73b0GoEdge v1.3.9\u5b58\u5728\u4e24\u4e2a\u53d1\u884c\u7248\uff0c\u6839\u636e\u79cd\u79cd\u8ff9\u8c61\u8868\u660e\uff0cv1.3.9\uff08\u7b2c\u4e00\u7248\uff09\u53ef\u80fd\u662f\u539f\u4f5c\u8005\u8d85\u54e5\u7ef4\u62a4\u7684\u6700\u540e\u4e00\u4e2a\u7248\u672c\uff0c\u8f83\u4e3a\u5b89\u5168\uff1b\u800c\u7b2c\u4e8c\u7248\u53ca\u540e\u7eed\u7248\u672c\u5219\u6781\u6709\u53ef\u80fd\u5df2\u4e0d\u518d\u5b89\u5168\uff0c\u5f3a\u70c8\u4e0d\u5efa\u8bae\u4f7f\u7528\u3002<\/p>\n<p>\u5373\u4f7f\u5b98\u65b9\u76ee\u524d\u5df2\u7ecf\u53d1\u8868\u6240\u8c13\u201c\u6f84\u6e05\u58f0\u660e\u201d\uff0c\u4e14\u58f0\u79f0\u6700\u65b0\u7248\u672c\u4e2d\u5df2\u201c\u4fee\u590d\u201d\u6295\u6bd2\u95ee\u9898\uff0c<strong>\u4f46\u4fe1\u4efb\u4e00\u65e6\u5d29\u584c\u5c31\u96be\u4ee5\u91cd\u5efa\uff0c\u5efa\u8bae\u6240\u6709\u5df2\u7ecf\u5b89\u88c5\u4f7f\u7528GoEdge v1.3.9\u4ee5\u4e0a\u7248\u672c\uff08\u6216\u5b89\u88c5\/\u66f4\u65b0\u65f6\u95f4\u665a\u4e8e2024\u5e745\u670820\u65e5\uff09\u7684\u7528\u6237\u56de\u9000\u5230 v1.3.9 \u5b89\u5168\u7248\u672c<\/strong>\uff0c\u53ef\u53c2\u8003\u5976\u6614\u5236\u4f5c\u7684\u56de\u9000\u65b9\u6848\uff1a<a href=\"https:\/\/www.nodeseek.com\/jump?to=https%3A%2F%2Fbbs.naixi.net%2Fthread-110-1-1.html\" target=\"_blank\" rel=\"noopener\">https:\/\/bbs.naixi.net\/thread-110-1-1.html<\/a><\/p>\n<p>\u5982\u679c\u4f60\u8fd8\u6ca1\u6709\u5b89\u88c5\u8fc7GoEdge\uff0c\u53ef\u6839\u636e\u672c\u6587\u6863\u6d41\u7a0b\u624b\u52a8\u90e8\u7f72 v1.3.9 \u7eaf\u51c0\u7248\u672c\uff08\u7531\u00a0<a href=\"https:\/\/www.nodeseek.com\/member?t=DigitalVirt\" rel=\"noopener\">@DigitalVirt<\/a>\u00a0\u63d0\u4f9b\u7684\u5b58\u6863\uff09\uff0c\u5e76\u8f7b\u6613\u5730\u901a\u8fc7\u79bb\u7ebf\u6fc0\u6d3bGoEdge\u65d7\u8230\u7248\u7ec8\u8eab\u6388\u6743\uff0c\u5b9e\u73b0\u4eba\u624b\u4e00\u5957\u4f01\u4e1a\u8fd0\u8425\u7ea7CDN\uff0c\u771f\u6b63\u8ba9\u95f2\u7f6e\u5c0f\u9e21\u53d1\u5149\u53d1\u70ed\u3002<strong>\u7531\u4e8e\u662f\u5b98\u5305+\u6ce8\u518c\u7801\u79bb\u7ebf\u6fc0\u6d3b\uff0c\u4e14\u5c4f\u853d\u4e86\u5b98\u65b9\u57df\u540d\u901a\u4fe1\uff0c\u5b58\u5728\u540e\u95e8\u7684\u6982\u7387\u4e0d\u5927\u3002<\/strong><\/p>\n<h2>\u7ba1\u7406\u5e73\u53f0\u5b89\u88c5\uff08\u5fc5\u8981\uff09<\/h2>\n<p><strong>\u5b89\u88c5unzip<\/strong><\/p>\n<ul>\n<li>\u5728CentOS\uff085\u30016\u30017\uff09\u4e0b\u53ef\u4ee5\u4f7f\u7528\uff1a<\/li>\n<\/ul>\n<pre class=\"prettyprint linenums\" ><code>sudo yum -y install unzip\r\n<\/code><\/pre>\n<ul>\n<li>RedHa\/CentOS 8\/CentOS 9\/RockyLinux9\/Fedora\u4e0b\u53ef\u4ee5\u4f7f\u7528\uff1a<\/li>\n<\/ul>\n<pre class=\"prettyprint linenums\" ><code>dnf -y install unzip\r\n<\/code><\/pre>\n<ul>\n<li>\u5728Debian\/Ubuntu\u4e0b\u53ef\u4ee5\u4f7f\u7528\uff1a<\/li>\n<\/ul>\n<pre class=\"prettyprint linenums\" ><code>sudo apt install unzip\r\n<\/code><\/pre>\n<ul>\n<li>\u5728Freebsd\u4e0b\u53ef\u4ee5\u4f7f\u7528\uff1a<\/li>\n<\/ul>\n<pre class=\"prettyprint linenums\" ><code>pkg install unzip\r\n<\/code><\/pre>\n<p><strong>\u5c4f\u853d\u5b98\u65b9\u57df\u540d<\/strong><\/p>\n<pre class=\"prettyprint linenums\" ><code>echo \"127.0.0.1 goedge.cloud\" | sudo tee -a \/etc\/hosts &gt; \/dev\/null\r\necho \"127.0.0.1 goedge.cn\" | sudo tee -a \/etc\/hosts &gt; \/dev\/null\r\necho \"127.0.0.1 dl.goedge.cloud\" | sudo tee -a \/etc\/hosts &gt; \/dev\/null\r\necho \"127.0.0.1 dl.goedge.cn\" | sudo tee -a \/etc\/hosts &gt; \/dev\/null\r\necho \"127.0.0.1 global.dl.goedge.cloud\" | sudo tee -a \/etc\/hosts &gt; \/dev\/null\r\necho \"127.0.0.1 global.dl.goedge.cn\" | sudo tee -a \/etc\/hosts &gt; \/dev\/null\r\ncat \/etc\/hosts\r\n<\/code><\/pre>\n<ul>\n<li>\u6216\u624b\u52a8\u4fee\u6539hosts\u6587\u4ef6<\/li>\n<\/ul>\n<pre class=\"prettyprint linenums\" ><code>vi \/etc\/hosts\r\n<\/code><\/pre>\n<pre class=\"prettyprint linenums\" ><code>127.0.0.1 goedge.cn\r\n127.0.0.1 goedge.cloud\r\n127.0.0.1 dl.goedge.cloud\r\n127.0.0.1 dl.goedge.cn\r\n127.0.0.1 global.dl.goedge.cloud\r\n127.0.0.1 global.dl.goedge.cn\r\n<\/code><\/pre>\n<p><strong>\u521b\u5efa\u5b89\u88c5\u76ee\u5f55<\/strong><\/p>\n<pre class=\"prettyprint linenums\" ><code>mkdir  \/usr\/local\/goedge\r\ncd \/usr\/local\/goedge\r\n<\/code><\/pre>\n<p><strong>\u83b7\u53d6\u7a0b\u5e8f\u5305\u5e76\u89e3\u538b<\/strong><\/p>\n<ul>\n<li>\u56fd\u9645\u6e90\uff08Cloudflare\uff09<\/li>\n<\/ul>\n<pre class=\"prettyprint linenums\" ><code># X86_64\r\nwget https:\/\/static-file-global.353355.xyz\/goedge\/edge-admin-linux-amd64-plus-v1.3.9.zip\r\n\r\n# aarch64\r\nwget https:\/\/static-file-global.353355.xyz\/goedge\/edge-admin-linux-arm64-plus-v1.3.9.zip\r\n<\/code><\/pre>\n<ul>\n<li>\u56fd\u5185\u6e90\uff08\u963f\u91cc\u4e91CDN\uff09<\/li>\n<\/ul>\n<pre class=\"prettyprint linenums\" ><code># X86_64\r\nwget https:\/\/fj.ly93.cc\/37\/1809553326\/edge-admin-linux-amd64-plus-v1.3.9.zip\r\n\r\n# aarch64\r\nwget https:\/\/fj.ly93.cc\/37\/1809551208\/edge-admin-linux-arm64-plus-v1.3.9.zip\r\n<\/code><\/pre>\n<pre class=\"prettyprint linenums\" ><code>unzip -o .\/edge-admin-linux-amd64-plus-v1.3.9.zip\r\n<\/code><\/pre>\n<p><strong>\u542f\u52a8\u7ba1\u7406\u5e73\u53f0<\/strong><\/p>\n<pre class=\"prettyprint linenums\" ><code>cd edge-admin\/\r\nbin\/edge-admin start\r\n<\/code><\/pre>\n<p>\u5982\u679c\u6ca1\u6709\u610f\u5916\u7684\u8bdd\uff0c\u670d\u52a1\u5c31\u6b63\u5e38\u542f\u52a8\u4e86\uff0c\u5e76\u63d0\u793a\u7c7b\u4f3c\u4e8e\u4ee5\u4e0b\u7684\u4fe1\u606f\uff1a<\/p>\n<pre class=\"prettyprint linenums\" ><code>Edge Admin started ok, pid: 109053\r\n<\/code><\/pre>\n<p>\u53ef\u4ee5\u4f7f\u7528ps\u547d\u4ee4\uff0c\u6765\u68c0\u67e5\u8fdb\u7a0b\u662f\u5426\u5b58\u5728\uff1a<\/p>\n<pre class=\"prettyprint linenums\" ><code>ps ax|grep edge\r\n<\/code><\/pre>\n<p>\u53ef\u4ee5\u770b\u5230\u7c7b\u4f3c\u4e8e\u4ee5\u4e0b\u7684\u8fdb\u7a0b\u4fe1\u606f\uff1a<\/p>\n<pre class=\"prettyprint linenums\" ><code>31643 ?        Sl     0:04 bin\/edge-admin\r\n<\/code><\/pre>\n<p>\u5c31\u8bf4\u660e\u7ba1\u7406\u5e73\u53f0\u542f\u52a8\u6210\u529f\uff1b\u53ef\u4ee5\u5728 logs\/run.log \u4e2d\u67e5\u770b\u542f\u52a8\u7684\u65e5\u5fd7\uff0c\u65b9\u4fbf\u6211\u4eec\u8bca\u65ad\u95ee\u9898\uff1b<br \/>\n\u9ed8\u8ba4\u542f\u52a8\u7684\u7aef\u53e3\u662f 7788\uff0c\u786e\u8ba4\u8fdb\u7a0b\u5df2\u7ecf\u542f\u52a8\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u5728\u6d4f\u89c8\u5668\u4e0a\u901a\u8fc7\uff1a<\/p>\n<pre class=\"prettyprint linenums\" ><code>http:\/\/IP\u5730\u5740:7788\/\r\n<\/code><\/pre>\n<p>\u8bbf\u95ee\u7ba1\u7406\u5e73\u53f0\uff1b\u5982\u679c\u4f60\u7684\u670d\u52a1\u5668\u4e0a\u5df2\u7ecf\u8bbe\u7f6e\u4e86\u9632\u706b\u5899\uff0c\u9700\u8981\u5728\u9632\u706b\u5899\u8bbe\u7f6e 7788 \u8fd9\u4e2a\u7aef\u53e3\u662f\u901a\u8fc7\u7684\uff1b\u5982\u679c\u80fd\u6b63\u5e38\u8bbf\u95ee\u4e0a\u8ff0\u7f51\u5740\u7684\u8bdd\uff0c\u7cfb\u7edf\u4f1a\u81ea\u52a8\u8fdb\u5165\u5b89\u88c5\u8fc7\u7a0b\uff0c\u6309\u7167\u754c\u9762\u63d0\u793a\u586b\u5199\u5404\u9879\u9009\u9879\u5373\u53ef\u3002<\/p>\n<p><strong>\u5b89\u88c5\u7cfb\u7edf\u670d\u52a1<\/strong><\/p>\n<pre class=\"prettyprint linenums\" ><code>bin\/edge-admin service\r\n<\/code><\/pre>\n<p><strong>\u5b89\u88c5MySQL<\/strong><\/p>\n<pre class=\"prettyprint linenums\" ><code>sudo curl -s https:\/\/static-file-global.353355.xyz\/goedge\/mysql\/install-mysql.sh | bash\r\n<\/code><\/pre>\n<p><strong>\u66ff\u6362\u8fb9\u7f18\u8282\u70b9\u5305<\/strong><\/p>\n<ul>\n<li>\u56fd\u9645\u6e90\uff08Cloudflare\uff09<\/li>\n<\/ul>\n<pre class=\"prettyprint linenums\" ><code>cd \/usr\/local\/goedge\/edge-admin\/edge-api\/deploy\r\nrm -rf *.zip\r\n\r\nwget -O edge-node-linux-amd64-v1.3.9.zip https:\/\/static-file-global.353355.xyz\/goedge\/edge-node-linux-amd64-plus-v1.3.9.zip\r\nwget -O edge-node-linux-arm64-v1.3.9.zip https:\/\/static-file-global.353355.xyz\/goedge\/edge-node-linux-arm64-plus-v1.3.9.zip\r\n<\/code><\/pre>\n<ul>\n<li>\u56fd\u5185\u6e90\uff08\u963f\u91cc\u4e91CDN\uff09<\/li>\n<\/ul>\n<pre class=\"prettyprint linenums\" ><code>cd \/usr\/local\/goedge\/edge-admin\/edge-api\/deploy\r\nrm -rf *.zip\r\n\r\nwget -O edge-node-linux-amd64-v1.3.9.zip https:\/\/fj.ly93.cc\/37\/1809540483\/edge-node-linux-amd64-plus-v1.3.9.zip\r\nwget -O edge-node-linux-arm64-v1.3.9.zip https:\/\/fj.ly93.cc\/37\/1809540478\/edge-node-linux-arm64-plus-v1.3.9.zip\r\n<\/code><\/pre>\n<p><strong>\u5f00\u5fc3\u7248\u6fc0\u6d3b<\/strong><\/p>\n<p>\u6d4f\u89c8\u5668\u8bbf\u95ee\u7ba1\u7406\u5e73\u53f0\uff0c\u4f9d\u6b21\u70b9\u51fb\u300c\u7cfb\u7edf\u8bbe\u7f6e\u300d\uff0c\u300c\u5546\u4e1a\u7248\u672c\u300d\uff0c\u300c\u6fc0\u6d3b\u300d\uff0c\u76f4\u63a5\u7c98\u8d34\u4e0b\u65b9\u63d0\u4f9b\u7684\u65d7\u8230\u7248\u6ce8\u518c\u7801\u5373\u53ef\u5b8c\u6210\u79bb\u7ebf\u6fc0\u6d3b\uff0c\u7ec8\u8eab\u6709\u6548\uff1b\u6216\u8005\u53c2\u8003\u6b64\u7bc7\u63d0\u4f9b\u7684\u4e94\u79cd\u83b7\u53d6\u6ce8\u518c\u7801\u7684\u65b9\u5f0f\uff1a<a href=\"https:\/\/www.nodeseek.com\/post-138160-1\" rel=\"noopener\">https:\/\/www.nodeseek.com\/post-138160-1<\/a><\/p>\n<pre class=\"prettyprint linenums\" ><code>F4BuVYEKSDWV+I13ISd5NUyBcWOlH0af4\/ow9obzYBS3XvYC9IsK86k5UDyyBv9vqJWN2\/FQTDbPyuAO0zxYlkLDC0c8rrShs+7PAkqM0O8wBIGknzForgidDZahky5Lo\/ZWaPZ1dVFUxmV29ykb0I0b4tv7Q3OtnTylOuzf\/\/MYrlvyw6VJQMGnsttmeHzsNL\/r0yDONOEXZoGoLZsuBKnkfXt+qt6bZF+kM1ncbh+sY42BrPTWQ12sXqJS3qHlzU0FFl9lTNzLGYYhq5vi\/4sJuPVE50\/uLCtslTJdb9zOGR915hnM+jHYsR+jUk0QxOqtreaHpsvNuLkexXbkmA==\r\n<\/code><\/pre>\n<h2>\u8fb9\u7f18\u8282\u70b9\u5b89\u88c5\uff08\u5b89\u88c5\u5728\u4f60\u7684CDN\u8282\u70b9\u4e0a\uff09<\/h2>\n<p>\u6d4f\u89c8\u5668\u8bbf\u95ee\u7ba1\u7406\u5e73\u53f0\uff0c\u4f9d\u6b21\u70b9\u51fb\u300c\u8fb9\u7f18\u8282\u70b9\u300d\uff0c\u300c\u521b\u5efa\u8282\u70b9\u300d\uff0c\u6309\u8981\u6c42\u586b\u5165\u8282\u70b9\u540d\u79f0\u3001\u8282\u70b9\u516c\u7f51IP\u5730\u5740\u3001SSH\u7aef\u53e3\u53f7\uff0c\u6dfb\u52a0SSH\u767b\u5f55\u4fe1\u606f\uff0c\u70b9\u51fb\u300c\u8fdc\u7a0b\u5b89\u88c5\u300d\uff0c\u5373\u53ef\u4e00\u952e\u5b8c\u6210\u8fb9\u7f18\u8282\u70b9\u5b89\u88c5\u90e8\u7f72\u3002<\/p>\n<p>\u7531\u4e8e\u4e0a\u9762\u7684\u6d41\u7a0b\u5df2\u7ecf\u66ff\u6362\u8fc7\/deploy\u76ee\u5f55\u4e0b\u7684\u8fb9\u7f18\u8282\u70b9\u5305\uff0c\u6545\u6b64\u5904\u4e00\u952e\u5b89\u88c5\u7684\u8fb9\u7f18\u8282\u70b9\u7a0b\u5e8f\u7248\u672c\u90fd\u662f\u5b89\u5168\u7248\u672c\uff0c\u65e0\u9700\u62c5\u5fe7\u3002<\/p>\n<p><strong>\u5b89\u88c5\u6210\u529f\u540e\uff0c\u5efa\u8bae\u53c2\u7167\u5b89\u88c5\u7ba1\u7406\u5e73\u53f0\u65f6\u7684\u64cd\u4f5c\uff0c\u524d\u5f80\u5df2\u5b89\u88c5\u7684\u8282\u70b9\u624b\u52a8\u4fee\u6539hosts\u5c4f\u853d\u4e0e\u5b98\u65b9\u57df\u540d\u7684\u901a\u4fe1\uff01<\/strong><\/p>\n<h2>\u7528\u6237\u5e73\u53f0\u5b89\u88c5\uff08\u975e\u5fc5\u8981\uff0c\u4ec5\u5546\u4e1a\u5316\u8fd0\u8425\u9700\u8981\uff09<\/h2>\n<p><strong>\u8f6c\u5230\u5b89\u88c5\u76ee\u5f55<\/strong><\/p>\n<pre class=\"prettyprint linenums\" ><code>cd \/usr\/local\/goedge\r\n<\/code><\/pre>\n<p><strong>\u83b7\u53d6\u7a0b\u5e8f\u5305\u5e76\u89e3\u538b<\/strong><\/p>\n<ul>\n<li>\u56fd\u9645\u6e90\uff08Cloudflare\uff09<\/li>\n<\/ul>\n<pre class=\"prettyprint linenums\" ><code># X86_64\r\nwget https:\/\/static-file-global.353355.xyz\/goedge\/edge-user-linux-amd64-v1.3.9.zip\r\n\r\n# aarch64\r\nwget https:\/\/static-file-global.353355.xyz\/goedge\/edge-user-linux-arm64-v1.3.9.zip\r\n<\/code><\/pre>\n<ul>\n<li>\u56fd\u5185\u6e90\uff08\u963f\u91cc\u4e91CDN\uff09<\/li>\n<\/ul>\n<pre class=\"prettyprint linenums\" ><code># X86_64\r\nwget https:\/\/fj.ly93.cc\/37\/1809540410\/edge-user-linux-amd64-v1.3.9.zip\r\n\r\n# aarch64\r\nwget https:\/\/fj.ly93.cc\/37\/1809540413\/edge-user-linux-arm64-v1.3.9.zip\r\n<\/code><\/pre>\n<pre class=\"prettyprint linenums\" ><code>unzip -o .\/edge-user-linux-amd64-v1.3.9.zip\r\n<\/code><\/pre>\n<p><strong>\u7ba1\u7406\u5e73\u53f0\u6dfb\u52a0\u7528\u6237\u8282\u70b9<\/strong><\/p>\n<p>\u6d4f\u89c8\u5668\u8bbf\u95ee\u7ba1\u7406\u5e73\u53f0\uff0c\u4f9d\u6b21\u70b9\u51fb\u300c\u7cfb\u7edf\u8bbe\u7f6e\u300d\uff0c\u300c\u9ad8\u7ea7\u8bbe\u7f6e\u300d\uff0c\u300c\u7528\u6237\u8282\u70b9\u300d\uff0c\u300c\u6dfb\u52a0\u8282\u70b9\u300d\uff0c\u8282\u70b9\u540d\u79f0\u4efb\u610f\u586b\u5199\uff0c\u8fdb\u7a0b\u76d1\u542c\u7aef\u53e3\u53ca\u5916\u90e8\u8bbf\u95ee\u5730\u5740\u7aef\u53e3\u5efa\u8bae\u4fdd\u6301\u4e00\u81f4\uff0c\u5b98\u65b9\u6587\u6863\u5efa\u8bae\u53ef\u586b\u519980\/443\u3002<\/p>\n<p>\u521b\u5efa\u5b8c\u6bd5\u540e\u70b9\u51fb\u300c\u5b89\u88c5\u8282\u70b9\u300d\uff0c\u53ef\u4ee5\u770b\u5230\u914d\u7f6e\u6587\u4ef6\u5185\u5bb9\u4fe1\u606f\uff0c\u590d\u5236\u5168\u90e8\u5185\u5bb9\u7559\u4f5c\u4e0b\u6b65\u5907\u7528\u3002<\/p>\n<p><strong>\u521b\u5efa\u914d\u7f6e\u6587\u4ef6<\/strong><\/p>\n<pre class=\"prettyprint linenums\" ><code>vi \/usr\/local\/goedge\/edge-user\/configs\/api_user.yaml\r\n<\/code><\/pre>\n<p>\u7c98\u8d34\u4e0a\u6b65\u83b7\u53d6\u5230\u7684\u914d\u7f6e\u6587\u4ef6\u5185\u5bb9\u4fe1\u606f\uff0c\u4fdd\u5b58\u5e76\u9000\u51fa\u3002<\/p>\n<p><strong>\u542f\u52a8\u7528\u6237\u5e73\u53f0<\/strong><\/p>\n<pre class=\"prettyprint linenums\" ><code>cd edge-user\/\r\nbin\/edge-user start\r\n<\/code><\/pre>\n<p><strong>\u5b89\u88c5\u7cfb\u7edf\u670d\u52a1<\/strong><\/p>\n<pre class=\"prettyprint linenums\" ><code>bin\/edge-user service\r\n<\/code><\/pre>\n<p><strong>\u5982\u679c\u4f60\u7684\u7528\u6237\u5e73\u53f0\u5e76\u975e\u4e0e\u7ba1\u7406\u5e73\u53f0\u5b89\u88c5\u5728\u540c\u4e00\u53f0\u670d\u52a1\u5668\uff0c\u5b89\u88c5\u6210\u529f\u540e\uff0c\u5efa\u8bae\u53c2\u7167\u5b89\u88c5\u7ba1\u7406\u5e73\u53f0\u65f6\u7684\u64cd\u4f5c\uff0c\u524d\u5f80\u5df2\u5b89\u88c5\u7684\u8282\u70b9\u624b\u52a8\u4fee\u6539hosts\u5c4f\u853d\u4e0e\u5b98\u65b9\u57df\u540d\u7684\u901a\u4fe1\uff01<\/strong><\/p>\n<h2>\u667a\u80fdDNS\u6a21\u5757\u5b89\u88c5\uff08\u975e\u5fc5\u8981\uff09<\/h2>\n<p><strong>\u8f6c\u5230\u5b89\u88c5\u76ee\u5f55<\/strong><\/p>\n<pre class=\"prettyprint linenums\" ><code>cd \/usr\/local\/goedge\r\n<\/code><\/pre>\n<p><strong>\u83b7\u53d6\u7a0b\u5e8f\u5305\u5e76\u89e3\u538b<\/strong><\/p>\n<ul>\n<li>\u56fd\u9645\u6e90\uff08Cloudflare\uff09<\/li>\n<\/ul>\n<pre class=\"prettyprint linenums\" ><code># X86_64\r\nwget https:\/\/static-file-global.353355.xyz\/goedge\/edge-dns-linux-amd64-v1.3.9.zip\r\n\r\n# aarch64\r\nwget https:\/\/static-file-global.353355.xyz\/goedge\/edge-dns-linux-arm64-v1.3.9.zip\r\n<\/code><\/pre>\n<ul>\n<li>\u56fd\u5185\u6e90\uff08\u963f\u91cc\u4e91CDN\uff09<\/li>\n<\/ul>\n<pre class=\"prettyprint linenums\" ><code># X86_64\r\nwget https:\/\/fj.ly93.cc\/37\/1809540514\/edge-dns-linux-amd64-v1.3.9.zip\r\n\r\n# aarch64\r\nwget https:\/\/fj.ly93.cc\/37\/1809540511\/edge-dns-linux-arm64-v1.3.9.zip\r\n<\/code><\/pre>\n<pre class=\"prettyprint linenums\" ><code>unzip -o .\/edge-dns-linux-amd64-v1.3.9.zip\r\n<\/code><\/pre>\n<p><strong>\u7ba1\u7406\u5e73\u53f0\u6dfb\u52a0DNS\u8282\u70b9<\/strong><\/p>\n<p>\u6d4f\u89c8\u5668\u8bbf\u95ee\u7ba1\u7406\u5e73\u53f0\uff0c\u4f9d\u6b21\u70b9\u51fb\u300c\u667a\u80fdDNS\u300d\uff0c\u300c\u96c6\u7fa4\u7ba1\u7406\u300d\uff08\u9996\u6b21\u9700\u8981\u5148\u521b\u5efa\u4e00\u4e2a\u96c6\u7fa4\uff0c\u540d\u79f0\u968f\u610f\uff09\uff0c\u7136\u540e\u70b9\u51fb\u300c\u521b\u5efa\u8282\u70b9\u300d\uff0c\u6309\u8981\u6c42\u586b\u5165\u8282\u70b9\u540d\u79f0\u3001\u8282\u70b9\u516c\u7f51IP\u5730\u5740\u3002<\/p>\n<p>\u521b\u5efa\u5b8c\u6bd5\u540e\u70b9\u51fb\u521b\u5efa\u597d\u7684\u8282\u70b9\u540d\u79f0\uff0c\u70b9\u51fb\u300c\u5b89\u88c5\u8282\u70b9\u300d\uff0c\u53ef\u4ee5\u770b\u5230\u914d\u7f6e\u6587\u4ef6\u5185\u5bb9\u4fe1\u606f\uff0c\u590d\u5236\u5168\u90e8\u5185\u5bb9\u7559\u4f5c\u4e0b\u6b65\u5907\u7528\u3002<\/p>\n<p><strong>\u521b\u5efa\u914d\u7f6e\u6587\u4ef6<\/strong><\/p>\n<pre class=\"prettyprint linenums\" ><code>vi \/usr\/local\/goedge\/edge-dns\/configs\/api_dns.yaml\r\n<\/code><\/pre>\n<p>\u7c98\u8d34\u4e0a\u6b65\u83b7\u53d6\u5230\u7684\u914d\u7f6e\u6587\u4ef6\u5185\u5bb9\u4fe1\u606f\uff0c\u4fdd\u5b58\u5e76\u9000\u51fa\u3002<\/p>\n<p><strong>\u542f\u52a8\u7528\u6237\u5e73\u53f0<\/strong><\/p>\n<pre class=\"prettyprint linenums\" ><code>cd edge-dns\/\r\nbin\/edge-dns start\r\n<\/code><\/pre>\n<p><strong>\u5b89\u88c5\u7cfb\u7edf\u670d\u52a1<\/strong><\/p>\n<pre class=\"prettyprint linenums\" ><code>bin\/edge-dns service\r\n<\/code><\/pre>\n<p><strong>\u5982\u679c\u4f60\u7684\u667a\u80fdDNS\u6a21\u5757\u5e76\u975e\u4e0e\u7ba1\u7406\u5e73\u53f0\u5b89\u88c5\u5728\u540c\u4e00\u53f0\u670d\u52a1\u5668\uff0c\u5b89\u88c5\u6210\u529f\u540e\uff0c\u5efa\u8bae\u53c2\u7167\u5b89\u88c5\u7ba1\u7406\u5e73\u53f0\u65f6\u7684\u64cd\u4f5c\uff0c\u524d\u5f80\u5df2\u5b89\u88c5\u7684\u8282\u70b9\u624b\u52a8\u4fee\u6539hosts\u5c4f\u853d\u4e0e\u5b98\u65b9\u57df\u540d\u7684\u901a\u4fe1\uff01<\/strong><\/p>\n<h2>\u5e38\u7528\u6307\u4ee4<\/h2>\n<p><strong>\u7aef\u53e3\u5360\u7528\u67e5\u8be2<\/strong><\/p>\n<pre class=\"prettyprint linenums\" ><code>sudo netstat -tuln | grep :53\r\n<\/code><\/pre>\n<p><strong>\u89e3\u966453\u7aef\u53e3\u5360\u7528<\/strong><\/p>\n<pre class=\"prettyprint linenums\" ><code>sudo systemctl stop systemd-resolved\r\nsudo systemctl disable systemd-resolved\r\n<\/code><\/pre>\n<pre class=\"prettyprint linenums\" ><code>sudo rm \/etc\/resolv.conf\r\nsudo touch \/etc\/resolv.conf\r\n<\/code><\/pre>\n<pre class=\"prettyprint linenums\" ><code>vi \/etc\/resolv.conf\r\n<\/code><\/pre>\n<pre class=\"prettyprint linenums\" ><code>nameserver 8.8.8.8\r\nnameserver 8.8.4.4\r\n<\/code><\/pre>\n<h2>\u672c\u6587\u6863\u4f7f\u7528\u7684GoEdge\u5b58\u6863\u955c\u50cf<\/h2>\n<p><a href=\"https:\/\/www.nodeseek.com\/jump?to=https%3A%2F%2Fdrive.google.com%2Fdrive%2Ffolders%2F1-2JbKiNy-MWF7RLnIUIRXiT-AE37rUDx\" target=\"_blank\" rel=\"noopener\">https:\/\/drive.google.com\/drive\/folders\/1-2JbKiNy-MWF7RLnIUIRXiT-AE37rUDx<\/a><br \/>\n\u611f\u8c22\u00a0<a href=\"https:\/\/www.nodeseek.com\/member?t=DigitalVirt\" rel=\"noopener\">@DigitalVirt<\/a>\u00a0\u63d0\u4f9b\u7684\u5b58\u6863\uff0c\u5df2\u4e0e\u00a0<a href=\"https:\/\/www.nodeseek.com\/jump?to=http%3A%2F%2Fdl.naixi.net\" target=\"_blank\" rel=\"noopener\">dl.naixi.net<\/a>\u00a0\u7b49\u591a\u4e2a\u6e90\u63d0\u4f9b\u7684\u5305\u8fdb\u884cMD5\u6821\u9a8c\u7ed3\u679c\u4e00\u81f4\uff0c\u5e94\u8be5\u6ca1\u6709\u5927\u95ee\u9898\u3002<\/p>\n<h2>\u5b98\u65b9\u6587\u6863<\/h2>\n<p>\u51fa\u73b0\u4efb\u4f55\u95ee\u9898\uff0c\u53ef\u53c2\u8003\u5b98\u65b9\u6587\u6863\u8bf4\u660e\uff1a<a href=\"https:\/\/www.nodeseek.com\/jump?to=https%3A%2F%2Fgoedge.cloud%2Fdocs\" target=\"_blank\" rel=\"noopener\">https:\/\/goedge.cloud\/docs<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u60c5\u63d0\u8981 \u4f17\u6240\u5468\u77e5\uff0cGoEdge\u662f\u4e00\u5957\u5f00\u6e90CDN\u7cfb\u7edf\uff0c\u5305\u542b\u5f00\u6e90\u514d\u8d39\u7684\u793e\u533a\u7248\u53ca\u4ed8\u8d39\u7684\u5546\u4e1a\u7248\u3002\u524d\u6bb5\u65f6\u95f4\u7206\u51fa\u5176\u5df2\u88ab\u539f\u4f5c\u8005\u8d85\u54e5\u8f6c\u8ba9\u7ed9\u65b9\u80fd\u7cfb\uff08\u9ed1\u4ea7\uff09\uff0c\u4e14\u5728\u5176\u8fb9\u7f18\u8282\u70b9\u7a0b\u5e8f\u6700\u65b0\u7248\u672cv1.4.1\u4e2d\u6295\u6bd2\uff08\u5305\u62ec\u793e\u533a\u7248\u53ca\u5546\u4e1a\u7248\u5728\u5185\u7684\u6240\u6709\u7248\u672c\uff09\uff0c\u5373\u5728\u5ba2\u6237\u521b\u5efa\u7684\u52a0\u901f\u7ad9\u70b9\u5f15\u5165\u7b2c\u4e09\u65b9\uff08\u65b9\u80fd\u7cfb\uff09\u6076\u610fJS\u811a\u672c\uff0c\u5bfc\u81f4\u5ba2\u6237\u7f51\u7ad9\u5c06\u5728\u67d0\u4e9b\u7279\u5b9a\u60c5\u51b5\u4e0b\u88ab\u91cd\u5b9a\u5411\u81f3\u8fdd\u6cd5\u7f51\u7ad9\u3002 \u76ee\u524d\u53d1\u73b0GoEdge v1.3.9\u5b58\u5728\u4e24\u4e2a\u53d1\u884c\u7248\uff0c\u6839\u636e\u79cd\u79cd\u8ff9\u8c61\u8868\u660e\uff0cv [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":108,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[8],"tags":[],"class_list":["post-106","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-operation"],"_links":{"self":[{"href":"https:\/\/518958.xyz\/index.php?rest_route=\/wp\/v2\/posts\/106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/518958.xyz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/518958.xyz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/518958.xyz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/518958.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=106"}],"version-history":[{"count":1,"href":"https:\/\/518958.xyz\/index.php?rest_route=\/wp\/v2\/posts\/106\/revisions"}],"predecessor-version":[{"id":107,"href":"https:\/\/518958.xyz\/index.php?rest_route=\/wp\/v2\/posts\/106\/revisions\/107"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/518958.xyz\/index.php?rest_route=\/wp\/v2\/media\/108"}],"wp:attachment":[{"href":"https:\/\/518958.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/518958.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/518958.xyz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}