id: e8910f6376674385ba813da9c7bc1e59
parent_id: 
item_type: 1
item_id: 78ce16d33ce149f2912a991ffe0d95ba
item_updated_time: 1764345477991
title_diff: "[{\"diffs\":[[1,\"Shadowsocks Python版一键安装脚本  秋水逸冰\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":31}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>Shadowsocks Python版一键安装脚本 | 秋水逸冰</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"application-data:2525275\\\" content=\\\"6692893/s30/a8faefdd-7889-46b0-998a-17a977ddae51/app.yinxiang.com\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"10950\\\"></a>\\\r\\\n<h1>Shadowsocks Python版一键安装脚本 | 秋水逸冰</h1>\\\r\\\n\\\r\\\n<div><span><div style=\\\"-evernote-webclip: true;\\\"><br/><div style=\\\"font-size: 16px;\\\"><div style=\\\"font-size: 100%; text-size-adjust: 100%;\\\"><div style=\\\"color: rgb(85, 85, 85); line-height: 20px; font-family: &quot;Microsoft Yahei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 12px; -ms-overflow-x: hidden; background-color: rgb(238, 238, 238);\\\"><div style=\\\"text-align: left;\\\"><div><div><div style=\\\"margin: 0px 0px 1px; padding: 9px 20px 7px; background-color: rgb(247, 247, 247);\\\">你的位置：<a href=\\\"https://teddysun.com/\\\" style=\\\"color: rgb(66, 139, 209); text-decoration: none;\\\">秋水逸冰</a><small style=\\\"margin: 0px 2px; color: rgb(187, 187, 187); font-family: serif; font-size: 12px; font-weight: bold;\\\">&gt;</small><a href=\\\"https://teddysun.com/category/tech\\\" style=\\\"color: rgb(66, 139, 209); text-decoration: none;\\\">技术</a><small style=\\\"margin: 0px 2px; color: rgb(187, 187, 187); font-family: serif; font-size: 12px; font-weight: bold;\\\">&gt;</small><font color=\\\"rgb(153,153,153)\\\"><span>Shadowsocks Python版一键安装脚本</span></font></div><div style=\\\"padding: 2px 20px 12px; margin-bottom: 1px; display: block; position: relative; background-color: rgb(251, 251, 251);\\\"><h1 style=\\\"margin: 5px 0px; color: inherit; line-height: 35px; font-family: inherit; font-size: 20px; font-weight: normal; text-rendering: optimizeLegibility;\\\"><a href=\\\"https://teddysun.com/342.html\\\" style=\\\"color: rgb(68, 68, 68); text-decoration: none;\\\">Shadowsocks Python版一键安装脚本</a></h1><div><font color=\\\"rgb(153,153,153)\\\"><span style=\\\"margin-right: 20px;\\\"><a href=\\\"https://teddysun.com/category/tech\\\" style=\\\"color: rgb(66, 139, 209); text-decoration: none;\\\"><i style=\\\"background-position: -264px -24px; width: 14px; height: 14px; line-height: 14px; margin-top: 2px; vertical-align: text-top; display: inline-block; opacity: 0.4; background-image: url(&quot;img/glyphicons-halflings.png&quot;); background-repeat: no-repeat;\\\"></i> 技术</a></span></font><font color=\\\"rgb(153,153,153)\\\"><span style=\\\"margin-right: 20px;\\\"><i style=\\\"background-position: -168px 0px; width: 14px; height: 14px; line-height: 14px; margin-top: 2px; vertical-align: text-top; display: inline-block; opacity: 0.4; background-image: url(&quot;img/glyphicons-halflings.png&quot;); background-repeat: no-repeat;\\\"></i><a href=\\\"https://plus.google.com/103396485017390034127\\\" style=\\\"color: rgb(66, 139, 209); text-decoration: none;\\\">秋水逸冰</a></span></font><font color=\\\"rgb(153,153,153)\\\"><span style=\\\"margin-right: 20px;\\\"><i style=\\\"background-position: 14px 14px; width: 14px; height: 14px; line-height: 14px; margin-top: 4px; vertical-align: text-top; display: inline-block; opacity: 0.4; background-image: url(&quot;img/glyphicons-halflings.png&quot;); background-repeat: no-repeat;\\\"></i> 发布于: 2014-02-16</span></font><font color=\\\"rgb(153,153,153)\\\"><span style=\\\"margin-right: 20px;\\\"><i style=\\\"background-position: 14px 14px; width: 14px; height: 14px; line-height: 14px; margin-top: 4px; vertical-align: text-top; display: inline-block; opacity: 0.4; background-image: url(&quot;img/glyphicons-halflings.png&quot;); background-repeat: no-repeat;\\\"></i> 更新于: 2016-08-18</span></font><font color=\\\"rgb(153,153,153)\\\"><span style=\\\"margin-right: 20px;\\\"><i style=\\\"background-position: 14px 14px; width: 14px; height: 14px; line-height: 14px; margin-top: 4px; vertical-align: text-top; display: inline-block; opacity: 0.4; background-image: url(&quot;img/glyphicons-halflings.png&quot;); background-repeat: no-repeat;\\\"></i> 258073 次围观</span></font><font color=\\\"rgb(153,153,153)\\\"><span style=\\\"margin-right: 20px;\\\"><i style=\\\"background-position: -240px -120px; width: 14px; height: 14px; line-height: 14px; margin-top: 2px; vertical-align: text-top; display: inline-block; opacity: 0.4; background-image: url(&quot;img/glyphicons-halflings.png&quot;); background-repeat: no-repeat;\\\"></i><a href=\\\"https://teddysun.com/342.html#comments\\\" style=\\\"color: rgb(66, 139, 209); text-decoration: none;\\\">999 次吐槽</a></span></font></div></div><div style=\\\"padding: 20px 20px 5px; line-height: 25px; font-size: 14px; display: block; position: relative; -ms-word-break: break-all; -ms-word-wrap: break-word; background-color: rgb(255, 255, 255);\\\"><p style=\\\"margin: 0px 0px 15px;\\\"><a href=\\\"https://teddysun.com/342.html\\\" style=\\\"color: rgb(66, 139, 202); text-decoration: none;\\\"><img src=\\\":/a8323e23448649f5b59f04074e61551a\\\" type=\\\"image/png\\\" data-filename=\\\"Image.png\\\" style=\\\"margin: 0px auto; border: 0px currentColor; border-image: none; width: auto; height: auto; text-align: center; vertical-align: middle; display: block; max-width: 100%;\\\"/></a></p><p style=\\\"margin: 0px 0px 15px;\\\"><span style=\\\"font-size: 14px;\\\"><strong>本脚本适用环境：</strong></span><br/><span style=\\\"font-size: 14px;\\\">系统支持：CentOS 6，7，Debian，Ubuntu</span><br/><span style=\\\"font-size: 14px;\\\">内存要求：≥128M</span><br/><font color=\\\"red\\\"><span style=\\\"font-size: 14px;\\\">日期：2016 年 08 月 18 日</span></font></p><p style=\\\"margin: 0px 0px 15px;\\\"><span style=\\\"font-size: 14px;\\\"><strong>关于本脚本：</strong></span><br/><span style=\\\"font-size: 14px;\\\">一键安装<span style=\\\"font-size: 14px;\\\"> Python 版</span> Shadowsocks 的最新版，同时安装了 Python 包管理工具 pip。</span><br/><span style=\\\"font-size: 14px;\\\"><strong style=\\\"font-weight: bold;\\\"><font color=\\\"red\\\"><span>友情提示：</span></font>如果你有问题，请先参考这篇《<a href=\\\"https://teddysun.com/399.html\\\" style=\\\"color: rgb(66, 139, 202); text-decoration: none;\\\" target=\\\"_blank\\\">Shadowsocks Troubleshooting</a>》后再问。</strong></span></p><p style=\\\"margin: 0px 0px 15px;\\\"><span></span></p><p style=\\\"margin: 0px 0px 15px;\\\"><span style=\\\"font-size: 14px;\\\"><strong>默认配置：</strong></span><br/><span style=\\\"font-size: 14px;\\\">服务器端口：自己设定（如不设定，默认为8989）</span><br/><span style=\\\"font-size: 14px;\\\">客户端端口：1080</span><br/><span style=\\\"font-size: 14px;\\\">密码：自己设定（如不设定，默认为teddysun.com）</span><br/><span style=\\\"font-size: 14px;\\\"><font color=\\\"red\\\"><span>备注：</span></font>脚本默认创建单用户配置文件，如需配置多用户，安装完毕后参照下面的教程 sample 手动修改配置文件后重启即可。</span></p><p style=\\\"margin: 0px 0px 15px;\\\"><span style=\\\"font-size: 14px;\\\"><strong>客户端下载：</strong></span><br/><a href=\\\"https://github.com/shadowsocks/shadowsocks-windows/releases\\\" style=\\\"color: rgb(66, 139, 202); text-decoration: none;\\\" target=\\\"_blank\\\"><font face=\\\"Courier New\\\"><span style=\\\"font-size: 14px;\\\">https://github.com/shadowsocks/shadowsocks-windows/releases</span></font></a></p><p style=\\\"margin: 0px 0px 15px;\\\"><span style=\\\"font-size: 14px;\\\"><strong>使用方法：</strong></span><br/><span style=\\\"font-size: 14px;\\\">使用root用户登录，运行以下命令：</span></p><pre style=\\\"background: rgb(39, 40, 34); font: 12px/20px &quot;courier new&quot;; margin: 20px 0px; padding: 8px; border-radius: 0px; border: 1px solid rgb(39, 40, 34); border-image: none; color: rgb(248, 248, 212); overflow: hidden; display: block; white-space: pre-wrap; -ms-word-break: break-all; -ms-word-wrap: break-word; font-size-adjust: none; font-stretch: normal;\\\">wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks.sh\\\nchmod +x shadowsocks.sh\\\n./shadowsocks.sh 2&gt;&amp;1 | tee shadowsocks.log</pre><p style=\\\"margin: 0px 0px 15px;\\\"><span style=\\\"font-size: 14px;\\\"><strong>安装完成后，脚本提示如下：</strong></span></p><pre style=\\\"background: rgb(39, 40, 34); font: 12px/20px &quot;courier new&quot;; margin: 20px 0px; padding: 8px; border-radius: 0px; border: 1px solid rgb(39, 40, 34); border-image: none; color: rgb(248, 248, 212); overflow: hidden; display: block; white-space: pre-wrap; -ms-word-break: break-all; -ms-word-wrap: break-word; font-size-adjust: none; font-stretch: normal;\\\">Congratulations, shadowsocks install completed!\\\nYour Server IP:your_server_ip\\\nYour Server Port:your_server_port\\\nYour Password:your_password\\\nYour Local IP:127.0.0.1\\\nYour Local Port:1080\\\nYour Encryption Method:aes-256-cfb\\\n\\\nWelcome to visit:https://teddysun.com/342.html\\\nEnjoy it!</pre><p style=\\\"margin: 0px 0px 15px;\\\"><span style=\\\"font-size: 14px;\\\"><strong>卸载方法：</strong></span><br/><span style=\\\"font-size: 14px;\\\">使用root用户登录，运行以下命令：</span></p><pre style=\\\"background: rgb(39, 40, 34); font: 12px/20px &quot;courier new&quot;; margin: 20px 0px; padding: 8px; border-radius: 0px; border: 1px solid rgb(39, 40, 34); border-image: none; color: rgb(248, 248, 212); overflow: hidden; display: block; white-space: pre-wrap; -ms-word-break: break-all; -ms-word-wrap: break-word; font-size-adjust: none; font-stretch: normal;\\\">./shadowsocks.sh uninstall</pre><p style=\\\"margin: 0px 0px 15px;\\\"><font color=\\\"red\\\"><span style=\\\"font-size: 14px;\\\"><strong>单用户配置文件 Sample（2015 年 08 月 28 日修正）：</strong></span></font><br/><span style=\\\"font-size: 14px;\\\">配置文件路径：/etc/shadowsocks.json </span></p><pre style=\\\"background: rgb(39, 40, 34); font: 12px/20px &quot;courier new&quot;; margin: 20px 0px; padding: 8px; border-radius: 0px; border: 1px solid rgb(39, 40, 34); border-image: none; color: rgb(248, 248, 212); overflow: hidden; display: block; white-space: pre-wrap; -ms-word-break: break-all; -ms-word-wrap: break-word; font-size-adjust: none; font-stretch: normal;\\\">{\\\n    &quot;server&quot;:&quot;0.0.0.0&quot;,\\\n    &quot;server_port&quot;:8989,\\\n    &quot;local_address&quot;:&quot;127.0.0.1&quot;,\\\n    &quot;local_port&quot;:1080,\\\n    &quot;password&quot;:&quot;yourpassword&quot;,\\\n    &quot;timeout&quot;:300,\\\n    &quot;method&quot;:&quot;aes-256-cfb&quot;,\\\n    &quot;fast_open&quot;: false\\\n}</pre><p style=\\\"margin: 0px 0px 15px;\\\"><font color=\\\"red\\\"><span style=\\\"font-size: 14px;\\\"><strong>多用户多端口配置文件 Sample（2015 年 08 月 28 日修正）：</strong></span></font><br/><span style=\\\"font-size: 14px;\\\">配置文件路径：/etc/shadowsocks.json </span></p><pre style=\\\"background: rgb(39, 40, 34); font: 12px/20px &quot;courier new&quot;; margin: 20px 0px; padding: 8px; border-radius: 0px; border: 1px solid rgb(39, 40, 34); border-image: none; color: rgb(248, 248, 212); overflow: hidden; display: block; white-space: pre-wrap; -ms-word-break: break-all; -ms-word-wrap: break-word; font-size-adjust: none; font-stretch: normal;\\\">{\\\n    &quot;server&quot;:&quot;0.0.0.0&quot;,\\\n    &quot;local_address&quot;:&quot;127.0.0.1&quot;,\\\n    &quot;local_port&quot;:1080,\\\n    &quot;port_password&quot;:{\\\n         &quot;8989&quot;:&quot;password0&quot;,\\\n         &quot;9001&quot;:&quot;password1&quot;,\\\n         &quot;9002&quot;:&quot;password2&quot;,\\\n         &quot;9003&quot;:&quot;password3&quot;,\\\n         &quot;9004&quot;:&quot;password4&quot;\\\n    },\\\n    &quot;timeout&quot;:300,\\\n    &quot;method&quot;:&quot;aes-256-cfb&quot;,\\\n    &quot;fast_open&quot;: false\\\n}</pre><p style=\\\"margin: 0px 0px 15px;\\\"><font color=\\\"red\\\"><span style=\\\"font-size: 14px;\\\"><strong>使用命令（2015 年 08 月 28 日修正）：</strong></span></font><br/><span style=\\\"font-size: 14px;\\\">启动：/etc/init.d/shadowsocks start</span><br/><span style=\\\"font-size: 14px;\\\">停止：/etc/init.d/shadowsocks stop</span><br/><span style=\\\"font-size: 14px;\\\">重启：/etc/init.d/shadowsocks restart</span><br/><span style=\\\"font-size: 14px;\\\">状态：/etc/init.d/shadowsocks status</span></p><p style=\\\"margin: 0px 0px 15px;\\\"><span style=\\\"font-size: 14px;\\\"><strong>更多版本 Shadowsocks 服务端一键安装脚本：</strong></span><br/><span style=\\\"font-size: 14px;\\\"><a href=\\\"https://shadowsocks.be/9.html\\\" style=\\\"color: rgb(66, 139, 202); text-decoration: none;\\\" target=\\\"_blank\\\">ShadowsocksR 版一键安装脚本（CentOS，Debian，Ubuntu）</a></span><br/><span style=\\\"font-size: 14px;\\\"><a href=\\\"https://teddysun.com/357.html\\\" style=\\\"color: rgb(66, 139, 202); text-decoration: none;\\\" target=\\\"_blank\\\">CentOS 下 Shadowsocks-libev 一键安装脚本</a></span><br/><span style=\\\"font-size: 14px;\\\"><a href=\\\"https://teddysun.com/358.html\\\" style=\\\"color: rgb(66, 139, 202); text-decoration: none;\\\" target=\\\"_blank\\\">Debian 下 Shadowsocks-libev 一键安装脚本</a></span><br/><span style=\\\"font-size: 14px;\\\"><a href=\\\"https://teddysun.com/392.html\\\" style=\\\"color: rgb(66, 139, 202); text-decoration: none;\\\" target=\\\"_blank\\\">Shadowsocks-go 一键安装脚本（CentOS，Debian，Ubuntu）</a></span></p><p style=\\\"margin: 0px 0px 15px;\\\"><font color=\\\"blue\\\"><span style=\\\"font-size: 14px;\\\"><strong>参考链接：</strong></span></font><br/><a href=\\\"https://teddysun.com/339.html\\\" style=\\\"color: rgb(66, 139, 202); text-decoration: none;\\\"><font face=\\\"Courier New\\\"><span style=\\\"font-size: 14px;\\\">https://teddysun.com/339.html</span></font></a></p><p style=\\\"margin: 0px 0px 15px;\\\"><font color=\\\"red\\\"><span style=\\\"font-size: 14px;\\\"><strong>更新日志：</strong></span></font><br/><font color=\\\"red\\\"><span style=\\\"font-size: 14px;\\\">（2016 年 08 月 18 日）</span></font><br/><span style=\\\"font-size: 14px;\\\">1、修正：默认安装 Github 上 master 分支最新版本（目前为 2.9.0）。</span><br/><font color=\\\"red\\\"><span style=\\\"font-size: 14px;\\\">2、注意：由于原作者已经不再更新 pip 下的源代码，故不再使用 pip 安装 Shadowsocks，而是改为下载 Github 的 master 分支来安装。如果在一段时间后，版本升级了，则先卸载，并再次执行本脚本就可以升级为最新版。</span></font></p><p style=\\\"margin: 0px 0px 15px;\\\"><font color=\\\"red\\\"><span style=\\\"font-size: 14px;\\\">（2016 年 05 月 12 日）</span></font><br/><span style=\\\"font-size: 14px;\\\">1、新增在 CentOS 7 下的防火墙规则设置。<br/><font color=\\\"red\\\"><span style=\\\"font-size: 14px;\\\">（2015 年 08 月 28 日）</span></font><br/><span style=\\\"font-size: 14px;\\\">1、修正控制脚本 /etc/init.d/shadowsocks 在 CentOS 7 无法查看 status 的问题。<br/><font color=\\\"red\\\"><span style=\\\"font-size: 14px;\\\">（2015 年 08 月 01 日）</span></font><br/><span style=\\\"font-size: 14px;\\\">1、新增自定义服务器端口功能（如不设定，默认端口为 8989）；<br/><font color=\\\"red\\\"><span style=\\\"font-size: 14px;\\\">（2015 年 03 月 10 日）</span></font><br/><span style=\\\"font-size: 14px;\\\">1、新增在 Debian、Ubuntu 下的一键安装；<br/><font color=\\\"red\\\"><span style=\\\"font-size: 14px;\\\">（2015 年 01 月 21 日）</span></font><br/><span style=\\\"font-size: 14px;\\\">1、修正配置文件，与官方给出的 Sample 一致；<br/><span style=\\\"font-size: 14px;\\\">2、修改启动脚本，使用官方给出的后台启动和停止命令。<br/><font color=\\\"red\\\"><span style=\\\"font-size: 14px;\\\">（2014 年 10 月 10 日）</span></font><br/><span style=\\\"font-size: 14px;\\\">跟作者<a href=\\\"https://github.com/clowwindy/shadowsocks/issues/195\\\" style=\\\"color: rgb(66, 139, 202); text-decoration: none;\\\" target=\\\"_blank\\\">反馈</a>了多用户多端口问题，作者已更新 <a href=\\\"https://github.com/clowwindy/shadowsocks/wiki/Configure-Multiple-Users\\\" style=\\\"color: rgb(66, 139, 202); text-decoration: none;\\\" target=\\\"_blank\\\">Wiki 页面</a>。本教程新增多用户多端口配置文件的 sample 。</span><br/><font color=\\\"red\\\"><span style=\\\"font-size: 14px;\\\">（2014 年 09 月 24 日）</span></font><br/><span style=\\\"font-size: 14px;\\\">如何配置多用户？详见：<a href=\\\"https://github.com/clowwindy/shadowsocks/wiki/Configure-Multiple-Users\\\" style=\\\"color: rgb(66, 139, 202); text-decoration: none;\\\" target=\\\"_blank\\\">这里</a></span><br/><span style=\\\"font-size: 14px;\\\">备注：Shadowsocks 已经支持多用户，在配置文件中增加不同的端口，对应不同的密码即可。</span><br/><font color=\\\"red\\\"><span style=\\\"font-size: 14px;\\\">（2014 年 07 月 12 日）</span></font><br/><span style=\\\"font-size: 14px;\\\">1、修正获取公网 IP 时的一个问题。建议不要使用共享公网 IP 的 VPS 来搭建 Shadowsocks 服务。</span><br/><font color=\\\"red\\\"><span style=\\\"font-size: 14px;\\\">（2014 年 05 月 29 日）</span></font><br/><span style=\\\"font-size: 14px;\\\">1、增加 chkconfig 配置，实现 service 命令。</span><br/><span style=\\\"font-size: 14px;\\\">2、配置文件名从 /etc/config.json 改为 /etc/shadowsocks.json（与官方的命名一致）。</span><br/><span style=\\\"font-size: 14px;\\\">3、配置文件中新增 workers ，值默认为 1（与官方配置同步）。</span><br/><font color=\\\"red\\\"><span style=\\\"font-size: 14px;\\\">（2014 年 05 月 27 日）</span></font><br/><span style=\\\"font-size: 14px;\\\">1、修正开机自启动失效的问题。</span><br/><span style=\\\"font-size: 14px;\\\">2、优化是否后台启动成功的判断逻辑。</span><br/><font color=\\\"red\\\"><span style=\\\"font-size: 14px;\\\">（2014 年 05 月 04 日）</span></font><br/><span style=\\\"font-size: 14px;\\\">1、修正对增加防火墙端口逻辑的判断bug，对于已经放行 8989 端口的情况下，则无需再次增加。</span><br/><span style=\\\"font-size: 14px;\\\">2、修正获取服务器 IP 的判断bug，对于多 IP 的 VPS 或服务器，默认只取第一个公网 IP 写到配置文件（/etc/config.json）里。</span><br/><span style=\\\"font-size: 14px;\\\">3、加入开机自启动。</span></span></span></span></span></span></span></p><p style=\\\"margin: 0px 0px 15px;\\\"></p><p style=\\\"margin: 0px 0px 15px;\\\">转载请注明：<a href=\\\"https://teddysun.com/\\\" style=\\\"color: rgb(66, 139, 202); text-decoration: none;\\\">秋水逸冰</a> » <a href=\\\"https://teddysun.com/342.html\\\" style=\\\"color: rgb(66, 139, 202); text-decoration: none;\\\">Shadowsocks Python版一键安装脚本</a></p></div><div style=\\\"padding: 15px 20px; overflow: hidden; border-top-color: rgb(247, 247, 247); border-top-width: 1px; border-top-style: solid; display: block; position: relative; background-color: rgb(255, 255, 255);\\\"><div style=\\\"margin-bottom: 15px;\\\">继续浏览有关 <a href=\\\"https://teddysun.com/tag/centos\\\" style=\\\"margin: 0px 1px; padding: 2px 7px 1px; color: rgb(238, 238, 238); font-size: 12px; text-decoration: none; display: inline-block; opacity: 0.9; background-color: rgb(66, 139, 202);\\\">CentOS</a><a href=\\\"https://teddysun.com/tag/pip\\\" style=\\\"margin: 0px 1px; padding: 2px 7px 1px; color: rgb(238, 238, 238); font-size: 12px; text-decoration: none; display: inline-block; opacity: 0.9; background-color: rgb(92, 184, 92);\\\">pip</a><a href=\\\"https://teddysun.com/tag/shadowsocks\\\" style=\\\"margin: 0px 1px; padding: 2px 7px 1px; color: rgb(238, 238, 238); font-size: 12px; text-decoration: none; display: inline-block; opacity: 0.9; background-color: rgb(217, 83, 79);\\\">shadowsocks</a><a href=\\\"https://teddysun.com/tag/ubuntu\\\" style=\\\"margin: 0px 1px; padding: 2px 7px 1px; color: rgb(238, 238, 238); font-size: 12px; text-decoration: none; display: inline-block; opacity: 0.9; background-color: rgb(240, 173, 78);\\\">Ubuntu</a> 的文章</div></div><div style=\\\"padding: 15px 20px; color: rgb(187, 187, 187); overflow: hidden; font-size: 14px; border-top-color: rgb(242, 242, 242); border-top-width: 1px; border-top-style: solid; display: block; background-color: rgb(251, 251, 251);\\\"><span style=\\\"float: left; position: relative;\\\">上一篇 <a href=\\\"https://teddysun.com/339.html\\\" style=\\\"color: rgb(66, 139, 209); text-decoration: none;\\\">CentOS下pip和shadowsocks的安装使用</a></span><span style=\\\"text-align: right; float: right; position: relative;\\\"><a href=\\\"https://teddysun.com/346.html\\\" style=\\\"color: rgb(66, 139, 209); text-decoration: none;\\\">Eclipse下搭建Python开发环境</a> 下一篇</span></div><div style=\\\"overflow: hidden; margin-bottom: 10px; border-top-color: rgb(242, 242, 242); border-top-width: 1px; border-top-style: solid; background-color: rgb(255, 255, 255);\\\"><h3 style=\\\"margin: 5px 0px 0px; padding: 15px 20px 10px; color: inherit; line-height: 15px; font-family: inherit; font-size: 15px; font-weight: normal; border-bottom-color: rgb(228, 228, 228); border-bottom-width: 1px; border-bottom-style: dotted; text-rendering: optimizeLegibility;\\\">与本文相关的文章</h3><ul style=\\\"list-style: none; margin: 0px; padding: 15px 0px 15px 20px; overflow: hidden; font-size: 14px;\\\"><li style=\\\"width: 50%; height: 30px; line-height: 30px; overflow: hidden; float: left;\\\"><a href=\\\"https://teddysun.com/451.html\\\" style=\\\"color: rgb(66, 139, 209); text-decoration: none; margin-right: 20px;\\\">一键脚本那些事儿</a></li><li style=\\\"width: 50%; height: 30px; line-height: 30px; overflow: hidden; float: left;\\\"><a href=\\\"https://teddysun.com/440.html\\\" style=\\\"color: rgb(66, 139, 209); text-decoration: none; margin-right: 20px;\\\">解决pip安装M2Crypto失败的问题</a></li><li style=\\\"width: 50%; height: 30px; line-height: 30px; overflow: hidden; float: left;\\\"><a href=\\\"https://teddysun.com/432.html\\\" style=\\\"color: rgb(66, 139, 209); text-decoration: none; margin-right: 20px;\\\">在CentOS下编译安装GCC</a></li><li style=\\\"width: 50%; height: 30px; line-height: 30px; overflow: hidden; float: left;\\\"><a href=\\\"https://teddysun.com/410.html\\\" style=\\\"color: rgb(66, 139, 209); text-decoration: none; margin-right: 20px;\\\">LAMP一键安装脚本使用说明</a></li><li style=\\\"width: 50%; height: 30px; line-height: 30px; overflow: hidden; float: left;\\\"><a href=\\\"https://teddysun.com/399.html\\\" style=\\\"color: rgb(66, 139, 209); text-decoration: none; margin-right: 20px;\\\">Shadowsocks Troubleshooting</a></li><li style=\\\"width: 50%; height: 30px; line-height: 30px; overflow: hidden; float: left;\\\"><a href=\\\"https://teddysun.com/392.html\\\" style=\\\"color: rgb(66, 139, 209); text-decoration: none; margin-right: 20px;\\\">Shadowsocks-go一键安装脚本</a></li><li style=\\\"width: 50%; height: 30px; line-height: 30px; overflow: hidden; float: left;\\\"><a href=\\\"https://teddysun.com/381.html\\\" style=\\\"color: rgb(66, 139, 209); text-decoration: none; margin-right: 20px;\\\">CentOS下安装aria2教程</a></li><li style=\\\"width: 50%; height: 30px; line-height: 30px; overflow: hidden; float: left;\\\"><a href=\\\"https://teddysun.com/375.html\\\" style=\\\"color: rgb(66, 139, 209); text-decoration: none; margin-right: 20px;\\\">CentOS 7下LAMP一键安装</a></li><li style=\\\"width: 50%; height: 30px; line-height: 30px; overflow: hidden; float: left;\\\"><a href=\\\"https://teddysun.com/372.html\\\" style=\\\"color: rgb(66, 139, 209); text-decoration: none; margin-right: 20px;\\\">Shadowsocks相关资料</a></li><li style=\\\"width: 50%; height: 30px; line-height: 30px; overflow: hidden; float: left;\\\"><a href=\\\"https://teddysun.com/358.html\\\" style=\\\"color: rgb(66, 139, 209); text-decoration: none; margin-right: 20px;\\\">Debian下shadowsocks-libev一键安装脚本</a></li><li style=\\\"width: 50%; height: 30px; line-height: 30px; overflow: hidden; float: left;\\\"><a href=\\\"https://teddysun.com/357.html\\\" style=\\\"color: rgb(66, 139, 209); text-decoration: none; margin-right: 20px;\\\">CentOS下shadowsocks-libev一键安装脚本</a></li><li style=\\\"width: 50%; height: 30px; line-height: 30px; overflow: hidden; float: left;\\\"><a href=\\\"https://teddysun.com/355.html\\\" style=\\\"color: rgb(66, 139, 209); text-decoration: none; margin-right: 20px;\\\">CentOS下shadowsocks-nodejs一键安装脚本</a></li></ul></div><div style=\\\"position: relative; background-color: rgb(255, 255, 255);\\\"><div style=\\\"margin: 0px;\\\"><div style=\\\"padding: 12px 20px; overflow: hidden; border-bottom-color: rgb(238, 238, 238); border-bottom-width: 1px; border-bottom-style: solid; background-color: rgb(247, 247, 247);\\\"><div style=\\\"width: 28px; height: 28px; float: left;\\\"><img src=\\\":/120038e2019f4edea526d4dd1159498a\\\" type=\\\"image/png\\\" data-filename=\\\"s=28&d=httpsteddysun.comwp-contentthemesd8imgdefault.png&r=g.png\\\" style=\\\"border-radius: 2px; border: 0px currentColor; border-image: none; height: auto; vertical-align: middle; max-width: 100%;\\\"/></div><div style=\\\"margin: 5px 10px 0px; color: rgb(102, 102, 102); font-size: 16px; float: left;\\\">\\\n\\t\\t\\t发表评论\\t\\t\\t</div></div><div style=\\\"padding: 20px 0px 0px 20px; color: rgb(68, 68, 68);\\\"><ul style=\\\"list-style: none; margin: 0px; padding: 0px;\\\"><li style=\\\"line-height: 20px; margin-bottom: 10px;\\\"><font color=\\\"rgb(123,123,123)\\\"><span style=\\\"padding-left: 5px; font-size: 12px; margin-bottom: 0px; vertical-align: middle; display: inline-block;\\\">昵称 (必填)</span></font></li><li style=\\\"line-height: 20px; margin-bottom: 10px;\\\"><font color=\\\"rgb(123,123,123)\\\"><span style=\\\"padding-left: 5px; font-size: 12px; margin-bottom: 0px; vertical-align: middle; display: inline-block;\\\">邮箱 (必填)</span></font></li><li style=\\\"line-height: 20px; margin-bottom: 10px;\\\"><font color=\\\"rgb(123,123,123)\\\"><span style=\\\"padding-left: 5px; font-size: 12px; margin-bottom: 0px; vertical-align: middle; display: inline-block;\\\">网址</span></font></li></ul></div><div style=\\\"padding: 20px; position: relative;\\\"><div style=\\\"overflow: hidden;\\\"><div style=\\\"padding: 0px 10px 10px 0px; margin-top: 10px;\\\"><div style=\\\"background: url(&quot;sprites.png&quot;) no-repeat 0px -22px; width: 202px; height: 22px; float: left;\\\"><div style=\\\"background: url(&quot;sprites.png&quot;) no-repeat -32px 0px; width: 48px; height: 22px; position: relative; cursor: e-resize;\\\"></div></div><div style=\\\"background: url(&quot;sprites.png&quot;) no-repeat 0px 0px; width: 16px; height: 16px; margin-top: 3px; margin-left: 10px; float: left;\\\"></div><div style=\\\"width: 202px; color: rgb(255, 0, 0); padding-left: 8px; margin-top: 0px; float: left; white-space: nowrap;\\\">发表评论前，请滑动滚动条解锁</div><div style=\\\"clear: both;\\\"></div></div><div style=\\\"overflow: hidden; position: relative;\\\"><div style=\\\"text-align: right; color: rgb(153, 153, 153); line-height: 30px; margin-right: 10px; float: right;\\\"></div><font color=\\\"rgb(153,153,153)\\\"><span style=\\\"margin-top: 2px; display: inline-block; cursor: pointer;\\\"><i style=\\\"background-position: -96px -144px; width: 14px; height: 14px; line-height: 14px; margin-top: 2px; vertical-align: text-top; display: inline-block; opacity: 0.4; background-image: url(&quot;img/glyphicons-halflings.png&quot;); background-repeat: no-repeat;\\\"></i>表情</span></font></div></div></div></div></div><div style=\\\"position: relative; background-color: rgb(255, 255, 255);\\\"><h3 style=\\\"margin: 0px; padding: 10px 20px; color: rgb(153, 153, 153); line-height: 14px; font-family: inherit; font-size: 14px; font-weight: normal; border-bottom-color: rgb(230, 230, 230); border-bottom-width: 1px; border-bottom-style: dotted; text-rendering: optimizeLegibility;\\\">\\\n\\t\\t已有评论<strong> (999)</strong></h3><ol style=\\\"list-style: none; margin: 0px; padding: 0px 20px;\\\"><li style=\\\"padding: 12px 0px 10px; line-height: 20px; border-bottom-color: rgb(242, 242, 242); border-bottom-width: 1px; border-bottom-style: solid;\\\"><div style=\\\"width: 36px; height: 36px; float: left; display: inline; position: relative; background-color: rgb(255, 255, 255);\\\"><img alt=\\\"\\\" height=\\\"36\\\" style=\\\"border: 0px currentColor; border-image: none; height: auto; vertical-align: middle; display: block; max-width: 100%;\\\" width=\\\"36\\\"></img></div><div style=\\\"margin-top: -2px; margin-left: 48px; white-space: pre-wrap;\\\">请问如何添加ipv6的支持？如果vps既有ipv4又有ipv6的ip<div style=\\\"color: rgb(187, 187, 187);\\\"><span style=\\\"margin-right: 10px;\\\">opteroncx</span>3天前<a href=\\\"https://teddysun.com/342.html?replytocom=10385#respond\\\" style=\\\"color: rgb(66, 139, 202); text-decoration: none; margin-left: 6px;\\\">回复</a></div></div></li><li style=\\\"padding: 12px 0px 10px; line-height: 20px; border-bottom-color: rgb(242, 242, 242); border-bottom-width: 1px; border-bottom-style: solid; background-color: rgb(254, 254, 254);\\\"><div style=\\\"width: 36px; height: 36px; float: left; display: inline; position: relative; background-color: rgb(255, 255, 255);\\\"><img alt=\\\"\\\" height=\\\"36\\\" style=\\\"border: 0px currentColor; border-image: none; height: auto; vertical-align: middle; display: block; max-width: 100%;\\\" width=\\\"36\\\"></img></div><div style=\\\"margin-top: -2px; margin-left: 48px; white-space: pre-wrap;\\\">秋水大，运行时报错：\\\n    INFO    loading libcrypto from libcrypto.so.1.0.0\\\n    ERROR    already started at pid 2399\\\n\\\n这个如何解<div style=\\\"color: rgb(187, 187, 187);\\\"><span style=\\\"margin-right: 10px;\\\">Chica</span>5天前<a href=\\\"https://teddysun.com/342.html?replytocom=10375#respond\\\" style=\\\"color: rgb(66, 139, 202); text-decoration: none; margin-left: 6px;\\\">回复</a></div></div><ul style=\\\"list-style: none; margin: 0px; padding: 0px;\\\"><li style=\\\"margin: 10px 0px 0px 50px; padding: 12px 12px 10px 10px; line-height: 20px; border-left-color: rgb(238, 238, 238); border-left-width: 2px; border-left-style: solid; background-color: rgb(251, 251, 251);\\\"><div style=\\\"width: 36px; height: 36px; float: left; display: inline; position: relative; background-color: rgb(255, 255, 255);\\\"><img alt=\\\"\\\" height=\\\"36\\\" style=\\\"border: 0px currentColor; border-image: none; height: auto; vertical-align: middle; display: block; max-width: 100%;\\\" width=\\\"36\\\"></img></div><div style=\\\"margin-top: -2px; margin-left: 48px; white-space: pre-wrap;\\\">你仔细看看提示语。\\\n是已经启动了。<div style=\\\"color: rgb(187, 187, 187); padding-top: 1px;\\\"><span style=\\\"margin-right: 10px;\\\"><a href=\\\"https://teddysun.com/\\\" style=\\\"color: rgb(66, 139, 209); text-decoration: none;\\\">秋水逸冰</a></span>5天前<a href=\\\"https://teddysun.com/342.html?replytocom=10376#respond\\\" style=\\\"color: rgb(66, 139, 202); text-decoration: none; margin-left: 6px;\\\">回复</a></div></div><ul style=\\\"list-style: none; margin: 0px; padding: 0px;\\\"><li style=\\\"margin: 10px 0px 0px 50px; padding: 12px 12px 10px 10px; line-height: 20px; border-left-color: rgb(238, 238, 238); border-left-width: 2px; border-left-style: solid; background-color: rgb(255, 255, 255);\\\"><div style=\\\"width: 36px; height: 36px; float: left; display: inline; position: relative; background-color: rgb(255, 255, 255);\\\"><img alt=\\\"\\\" height=\\\"36\\\" style=\\\"border: 0px currentColor; border-image: none; height: auto; vertical-align: middle; display: block; max-width: 100%;\\\" width=\\\"36\\\"></img></div><div style=\\\"margin-top: -2px; margin-left: 48px; white-space: pre-wrap;\\\">是的，已经启动了，这个报错直接忽略吗？多谢回复<div style=\\\"color: rgb(187, 187, 187); padding-top: 1px;\\\"><span style=\\\"margin-right: 10px;\\\">Chica</span>3天前<a href=\\\"https://teddysun.com/342.html?replytocom=10381#respond\\\" style=\\\"color: rgb(66, 139, 202); text-decoration: none; margin-left: 6px;\\\">回复</a></div></div></li></ul></li></ul></li></ol><div style=\\\"padding: 20px; text-align: center; overflow: hidden;\\\"><a href=\\\"https://teddysun.com/342.html/comment-page-1#comments\\\" style=\\\"margin: 0px 1px; padding: 4px 12px 3px; color: rgb(102, 102, 102); text-decoration: none; display: inline-block; background-color: rgb(238, 238, 238);\\\">1</a><font color=\\\"rgb(102,102,102)\\\"><span style=\\\"margin: 0px 1px; padding: 4px 12px 3px; display: inline-block; background-color: rgb(238, 238, 238);\\\">…</span></font><a href=\\\"https://teddysun.com/342.html/comment-page-29#comments\\\" style=\\\"margin: 0px 1px; padding: 4px 12px 3px; color: rgb(102, 102, 102); text-decoration: none; display: inline-block; background-color: rgb(238, 238, 238);\\\">29</a><a href=\\\"https://teddysun.com/342.html/comment-page-30#comments\\\" style=\\\"margin: 0px 1px; padding: 4px 12px 3px; color: rgb(102, 102, 102); text-decoration: none; display: inline-block; background-color: rgb(238, 238, 238);\\\">30</a><font color=\\\"rgb(255,255,255)\\\"><span style=\\\"margin: 0px 1px; padding: 4px 12px 3px; display: inline-block; background-color: rgb(66, 139, 202);\\\">31</span></font></div></div></div></div></div></div></div></div><br/></div></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":29769}]"
metadata_diff: {"new":{"id":"78ce16d33ce149f2912a991ffe0d95ba","parent_id":"061de1401cfc4cfaadf6e74e015970e9","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764345762795,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T16:12:58.331Z
created_time: 2025-11-28T16:12:58.331Z
type_: 13