<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>easytier on 菜鸟程序员</title><link>https://www.azhw.com.cn/%E5%BC%80%E6%BA%90%E5%B7%A5%E5%85%B7%E5%92%8C%E4%B8%AD%E9%97%B4%E4%BB%B6%E6%9C%8D%E5%8A%A1/easytier/</link><description>Recent content in easytier on 菜鸟程序员</description><generator>Hugo</generator><language>zh-cn</language><atom:link href="https://www.azhw.com.cn/%E5%BC%80%E6%BA%90%E5%B7%A5%E5%85%B7%E5%92%8C%E4%B8%AD%E9%97%B4%E4%BB%B6%E6%9C%8D%E5%8A%A1/easytier/index.xml" rel="self" type="application/rss+xml"/><item><title>完全私有化部署</title><link>https://www.azhw.com.cn/%E5%BC%80%E6%BA%90%E5%B7%A5%E5%85%B7%E5%92%8C%E4%B8%AD%E9%97%B4%E4%BB%B6%E6%9C%8D%E5%8A%A1/easytier/%E5%AE%8C%E5%85%A8%E7%A7%81%E6%9C%89%E5%8C%96%E9%83%A8%E7%BD%B2/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.azhw.com.cn/%E5%BC%80%E6%BA%90%E5%B7%A5%E5%85%B7%E5%92%8C%E4%B8%AD%E9%97%B4%E4%BB%B6%E6%9C%8D%E5%8A%A1/easytier/%E5%AE%8C%E5%85%A8%E7%A7%81%E6%9C%89%E5%8C%96%E9%83%A8%E7%BD%B2/</guid><description>&lt;p>本说明出自非官方。是个人的搭建经验总结，仅代表个人见解， 有问题欢迎讨论&lt;/p>
&lt;p>本说明环境基于 阿里云ECS ，linux发行版 ubuntu2204， easytier版本 v2.4.5&lt;/p>
&lt;p>下载地址请移步官方网站&lt;/p>
&lt;p>本说明从共有四个步骤&lt;/p>
&lt;ol>
&lt;li>
&lt;p>搭建web管理平台服务&lt;/p>
&lt;/li>
&lt;li>
&lt;p>启动私有共享节点&lt;/p>
&lt;/li>
&lt;li>
&lt;p>在需要组网的服务器或PC，以web的方式启动服务（Linux 和 Windows 分别进行配置说明）&lt;/p>
&lt;/li>
&lt;li>
&lt;p>其他组网工具演示&lt;/p>
&lt;/li>
&lt;/ol>
&lt;p>先下载对应的二进制包： &lt;a href="https://github.com/EasyTier/EasyTier/releases">https://github.com/EasyTier/EasyTier/releases&lt;/a>&lt;/p>
&lt;p>内部存在 easytier-core easytier-web-embed easytier-cli easytier-web（用不到）&lt;/p>
&lt;h2 id="1-搭建web管理平台服务">1. 搭建web管理平台服务&lt;a class="td-heading-self-link" href="#1-%e6%90%ad%e5%bb%baweb%e7%ae%a1%e7%90%86%e5%b9%b3%e5%8f%b0%e6%9c%8d%e5%8a%a1" aria-label="Heading self-link">&lt;/a>&lt;/h2>
&lt;p>前置预设：&lt;/p>
&lt;p>我的域名假设为 easytier.mydomain.com&lt;/p>
&lt;p>使用的可执行文件为 &lt;code>easytier-web-embed&lt;/code>&lt;/p>
&lt;p>配置参数示意&lt;/p>
&lt;p>&amp;ndash;config-server-port 22222&lt;/p>
&lt;p>&amp;ndash;web-server-port 11111&lt;/p>
&lt;p>&amp;ndash;api-server-port 11111&lt;/p>
&lt;p>&amp;ndash;api-host &lt;a href="http://easytier.mydomain.com:11111">http://easytier.mydomain.com:11111&lt;/a>&lt;/p>
&lt;p>新建文件easytier-web-emdeb.service内容如下&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-ini" data-lang="ini">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#204a87;font-weight:bold">[Unit]&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#c4a000">Description&lt;/span>&lt;span style="color:#ce5c00;font-weight:bold">=&lt;/span>&lt;span style="color:#4e9a06">EasyTier Service&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#c4a000">After&lt;/span>&lt;span style="color:#ce5c00;font-weight:bold">=&lt;/span>&lt;span style="color:#4e9a06">network.target syslog.target&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#c4a000">Wants&lt;/span>&lt;span style="color:#ce5c00;font-weight:bold">=&lt;/span>&lt;span style="color:#4e9a06">network.target&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#204a87;font-weight:bold">[Service]&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#c4a000">Type&lt;/span>&lt;span style="color:#ce5c00;font-weight:bold">=&lt;/span>&lt;span style="color:#4e9a06">simple&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#c4a000">ExecStart&lt;/span>&lt;span style="color:#ce5c00;font-weight:bold">=&lt;/span>&lt;span style="color:#4e9a06">${path}/easytier-linux-x86_64/easytier-web-embed \&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#c4a000">--db ${path}/easytier-linux-x86_64/web-embed/easytier-web-embed.db \&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#c4a000">--file-log-level warn \&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#c4a000">--file-log-dir ${path}/easytier-linux-x86_64/web-embed/easytier-web-embed-log \&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#c4a000">--config-server-port ${port1} \&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#c4a000">--config-server-protocol udp \&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#c4a000">--api-server-port ${port2} \&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#c4a000">--web-server-port ${port2} \&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#c4a000">--api-host http://${domain}:${port2}&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#204a87;font-weight:bold">[Install]&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#c4a000">WantedBy&lt;/span>&lt;span style="color:#ce5c00;font-weight:bold">=&lt;/span>&lt;span style="color:#4e9a06">multi-user.target&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>因为在配置项中使用到了 ${path}/easytier-linux-x86_64/web-embed&lt;/p></description></item></channel></rss>