forked from cn2t/doubi-html
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex-replytocom=11663.html
495 lines (467 loc) · 61.7 KB
/
index-replytocom=11663.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=10,IE=9,IE=8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<!link href='http://api.youziku.com/webfont/CSS/567f672ef629d8039c4bf336' rel='stylesheet' type='text/css' />
<!link href='http://api.youziku.com/webfont/CSS/56e3a918f629da0ad88fbde8' rel='stylesheet' type='text/css' />
<style type="text/css">@font-face {font-family: 'jin_mei_mxplzx86d456993036';src: url('../wp-content/themes/yusi1.0/img/567f672ef629d8039c4bf336.gif');src: url('../wp-content/themes/yusi1.0/img/567f672ef629d8039c4bf336-.gif#iefix') format('embedded-opentype'), url('../wp-content/themes/yusi1.0/img/567f672ef629d8039c4bf336.bmp') format('woff'), url('../wp-content/themes/yusi1.0/img/567f672ef629d8039c4bf336.jpg') format('truetype'), url('../wp-content/themes/yusi1.0/img/567f672ef629d8039c4bf336.png#jin_mei_mxplzx') format('svg'); }.css86d456993036{font-family: 'jin_mei_mxplzx86d456993036';}
</style>
<style type="text/css">@font-face {font-family: 'LiDeBiao-Xing320e75d0253036';src: url('../wp-content/themes/yusi1.0/img/56e3a918f629da0ad88fbde8.gif');src: url('../wp-content/themes/yusi1.0/img/56e3a918f629da0ad88fbde8-.gif#iefix') format('embedded-opentype'), url('../wp-content/themes/yusi1.0/img/56e3a918f629da0ad88fbde8.bmp') format('woff'), url('../wp-content/themes/yusi1.0/img/56e3a918f629da0ad88fbde8.jpg') format('truetype'), url('../wp-content/themes/yusi1.0/img/56e3a918f629da0ad88fbde8.png#LiDeBiao-Xing3') format('svg'); }.css20e75d0253036{font-family: 'LiDeBiao-Xing320e75d0253036';}
tbody tr:nth-child(odd) { background-color:#f9f9f9; }
</style>
<link rel="stylesheet" type="text/css" href="../wp-content/themes/yusi1.0/csshake.css">
<link id="favicon" href="../wp-content/themes/yusi1.0/img/logo.ico" rel="icon" type="img/x-icon" />
<title>Linux开放HTTP服务并下载文件到本地 以测试 VPS回程速度 | 逗比根据地</title>
<script>
window._deel = {name: '逗比根据地',url: 'https://doub.io/wp-content/themes/yusi1.0', ajaxpager: 'on', commenton: 1, roll: [3,4]}
</script>
<!-- All in One SEO Pack 2.3.13.2 by Michael Torbert of Semper Fi Web Design[2121,2175] -->
<meta name="description" content="在 Linux中使用 路由追踪 测试VPS回程路由(回程路由比去程更影响SS速度) 文章中,我说过如果你的服务器是做代理的,那么最影响速度的就是回程路由质量,那个文章中教你如何通过路由追踪测试VPS回程路由质量,但是毕竟路由质量不代表最终速度,而现在这篇文章就是让你测试,你在下载VPS上面的文件到本地的速度(回程速度)" />
<meta name="keywords" content="caddy,http,linux,simplehttpserver" />
<link rel="canonical" href="index.html" />
<!-- /all in one seo pack -->
<link rel='stylesheet' id='toggle-box-css' href='../wp-content/plugins/toggle-box/toggle-box-ver=4.2.13.css' type='text/css' media='all' />
<link rel='stylesheet' id='style-css' href='../wp-content/themes/yusi1.0/style-ver=1.0.css' type='text/css' media='all' />
<script type='text/javascript' src='../wp-content/themes/yusi1.0/js/jquery.min-ver=1.0.js'></script>
<script type='text/javascript' src='../wp-content/plugins/toggle-box/js/toggle-box-ver=4.2.13.js'></script>
<script type='text/javascript' src='../wp-content/plugins/wp-images-lazy-loading/js/jquery.lazyload.min-ver=1.9.3.js'></script>
<link rel='prev' title='DaoCloud免费部署 PipeSocks 国内中转Pipe/Pump' href='../pipesocks-jc3/index.html' />
<link rel='next' title='Debian/Ubuntu 内核降级教程 —— 降低(BBR)为支持锐速的内核版本' href='../linux-jc6/index.html' />
<link rel='shortlink' href='index.html' />
<meta name='robots' content='noindex,follow' />
<link rel="stylesheet" href="../wp-content/plugins/wp-content-index/style.css" type="text/css" media="all" />
<style type='text/css'>img.lazy { display: none; }
</style>
<meta name="keywords" content="Caddy, HTTP, Linux, SimpleHTTPServer, Linux教程">
<meta name="description" content="在 Linux中使用 路由追踪 测试VPS回程路由(回程路由比去程更影响SS速度) 文章中,我说过如果你的服务器是做代理的,那么最影响速度的就是回程路由质量,那个文章中教你如何通过路由追踪测试VPS回程路由质量,但是毕竟路由质量不代表最终速度,而现在这篇文章就是让你测试,你在下载VPS上面的文件到本地的速度(回程速度)。 大部分情况下,你挂代理比如Shadowsocks(R),大部分情况下你都是在下载数据(VPS传给你),无论是看">
<!--[if lt IE 9]><script src="https://doub.io/wp-content/themes/yusi1.0/js/html5.js"></script><![endif]-->
<style type="text/css">.dg ul{list-style:none;margin:0;padding:0;width:100%;clear:both}.dg.ac{position:fixed;top:0;left:0;right:0;height:0;z-index:0}.dg:not(.ac) .main{overflow:hidden}.dg.main{-webkit-transition:opacity .1s linear;transition:opacity .1s linear}.dg.main.taller-than-window{overflow-y:auto}.dg.main.taller-than-window .close-button{opacity:1;margin-top:-1px;border-top:1px solid #2c2c2c}.dg.main ul.closed .close-button{opacity:1!important}.dg.main .close-button.drag,.dg.main:hover .close-button{opacity:1}.dg.main .close-button{-webkit-transition:opacity .1s linear;transition:opacity .1s linear;border:0;position:absolute;line-height:19px;height:20px;cursor:pointer;text-align:center;background-color:#000}.dg.main .close-button:hover{background-color:#111}.dg.a{float:right;margin-right:15px;overflow-x:hidden}.dg.a.has-save>ul{margin-top:27px}.dg.a.has-save>ul.closed{margin-top:0}.dg.a .save-row{position:fixed;top:0;z-index:1002}.dg li{-webkit-transition:height .1s ease-out;transition:height .1s ease-out}.dg li:not(.folder){cursor:auto;height:27px;line-height:27px;overflow:hidden;padding:0 4px 0 5px}.dg li.folder{padding:0;border-left:4px solid transparent}.dg li.title{cursor:pointer;margin-left:-4px}.dg .closed li:not(.title),.dg .closed ul li,.dg .closed ul li>*{height:0;overflow:hidden;border:0}.dg .cr{clear:both;padding-left:3px;height:27px}.dg .property-name{cursor:default;float:left;clear:left;width:40%;overflow:hidden;text-overflow:ellipsis}.dg .c{float:left;width:60%}.dg .c input[type=text]{border:0;margin-top:4px;padding:3px;width:100%;float:right}.dg .has-slider input[type=text]{width:30%;margin-left:0}.dg .slider{float:left;width:66%;margin-left:-5px;margin-right:0;height:19px;margin-top:4px}.dg .slider-fg{height:100%}.dg .c input[type=checkbox]{margin-top:9px}.dg .c select{margin-top:5px}.dg .cr.boolean,.dg .cr.boolean *,.dg .cr.function,.dg .cr.function *,.dg .cr.function .property-name{cursor:pointer}.dg .selector{display:none;position:absolute;margin-left:-9px;margin-top:23px;z-index:10}.dg .c:hover .selector,.dg .selector.drag{display:block}.dg li.save-row{padding:0}.dg li.save-row .button{display:inline-block;padding:0 6px}.dg.dialogue{background-color:#222;width:460px;padding:15px;font-size:13px;line-height:15px}#dg-new-constructor{padding:10px;color:#222;font-family:Monaco,monospace;font-size:10px;border:0;resize:none;box-shadow:inset 1px 1px 1px #888;word-wrap:break-word;margin:12px 0;display:block;width:440px;overflow-y:scroll;height:100px;position:relative}#dg-local-explain{display:none;font-size:11px;line-height:17px;border-radius:3px;background-color:#333;padding:8px;margin-top:10px}#dg-local-explain code{font-size:10px}#dat-gui-save-locally{display:none}.dg{color:#eee;font:11px Lucida Grande,sans-serif;text-shadow:0 -1px 0 #111}.dg.main::-webkit-scrollbar{width:5px;background:#1a1a1a}.dg.main::-webkit-scrollbar-corner{height:0;display:none}.dg.main::-webkit-scrollbar-thumb{border-radius:5px;background:#676767}.dg li:not(.folder){background:#1a1a1a;border-bottom:1px solid #2c2c2c}.dg li.save-row{line-height:25px;background:#dad5cb;border:0}.dg li.save-row select{margin-left:5px;width:108px}.dg li.save-row .button{margin-left:5px;margin-top:1px;border-radius:2px;font-size:9px;line-height:7px;padding:4px 4px 5px;background:#c5bdad;color:#fff;text-shadow:0 1px 0 #b0a58f;box-shadow:0 -1px 0 #b0a58f;cursor:pointer}.dg li.save-row .button.gears{background:#c5bdad url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAANCAYAAAB/9ZQ7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQJJREFUeNpiYKAU/P//PwGIC/ApCABiBSAW+I8AClAcgKxQ4T9hoMAEUrxx2QSGN6+egDX+/vWT4e7N82AMYoPAx/evwWoYoSYbACX2s7KxCxzcsezDh3evFoDEBYTEEqycggWAzA9AuUSQQgeYPa9fPv6/YWm/Acx5IPb7ty/fw+QZblw67vDs8R0YHyQhgObx+yAJkBqmG5dPPDh1aPOGR/eugW0G4vlIoTIfyFcA+QekhhHJhPdQxbiAIguMBTQZrPD7108M6roWYDFQiIAAv6Aow/1bFwXgis+f2LUAynwoIaNcz8XNx3Dl7MEJUDGQpx9gtQ8YCueB+D26OECAAQDadt7e46D42QAAAABJRU5ErkJggg==) 2px 1px no-repeat;height:7px;width:8px}.dg li.save-row .button:hover{background-color:#bab19e;box-shadow:0 -1px 0 #b0a58f}.dg li.folder{border-bottom:0}.dg li.title{padding-left:16px;background:#000 url(data:image/gif;base64,R0lGODlhBQAFAJEAAP////Pz8////////yH5BAEAAAIALAAAAAAFAAUAAAIIlI+hKgFxoCgAOw==) 6px 10px no-repeat;cursor:pointer;border-bottom:1px solid hsla(0,0%,100%,.2)}.dg .closed li.title{background-image:url(data:image/gif;base64,R0lGODlhBQAFAJEAAP////Pz8////////yH5BAEAAAIALAAAAAAFAAUAAAIIlGIWqMCbWAEAOw==)}.dg .cr.boolean{border-left:3px solid #806787}.dg .cr.color{border-left:3px solid}.dg .cr.function{border-left:3px solid #e61d5f}.dg .cr.number{border-left:3px solid #2fa1d6}.dg .cr.number input[type=text]{color:#2fa1d6}.dg .cr.string{border-left:3px solid #1ed36f}.dg .cr.string input[type=text]{color:#1ed36f}.dg .cr.boolean:hover,.dg .cr.function:hover{background:#111}.dg .c input[type=text]{background:#303030;outline:none}.dg .c input[type=text]:hover{background:#3c3c3c}.dg .c input[type=text]:focus{background:#494949;color:#fff}.dg .c .slider{background:#303030;cursor:ew-resize}.dg .c .slider-fg{background:#2fa1d6;max-width:100%}.dg .c .slider:hover{background:#3c3c3c}.dg .c .slider:hover .slider-fg{background:#44abda}</style>
<script type="text/javascript">try {
var AG_onLoad=function(func){if(document.readyState==="complete"||document.readyState==="interactive")func();else if(document.addEventListener)document.addEventListener("DOMContentLoaded",func);else if(document.attachEvent)document.attachEvent("DOMContentLoaded",func)};
var AG_removeElementById = function(id) { var element = document.getElementById(id); if (element && element.parentNode) { element.parentNode.removeChild(element); }};
var AG_removeElementBySelector = function(selector) { if (!document.querySelectorAll) { return; } var nodes = document.querySelectorAll(selector); if (nodes) { for (var i = 0; i < nodes.length; i++) { if (nodes[i] && nodes[i].parentNode) { nodes[i].parentNode.removeChild(nodes[i]); } } } };
var AG_each = function(selector, fn) { if (!document.querySelectorAll) return; var elements = document.querySelectorAll(selector); for (var i = 0; i < elements.length; i++) { fn(elements[i]); }; };
var AG_removeParent = function(el, fn) { while (el && el.parentNode) { if (fn(el)) { el.parentNode.removeChild(el); return; } el = el.parentNode; } };
var AdFox_getCodeScript = function() {};
AG_onLoad(function() { AG_each('iframe[id^="AdFox_iframe_"]', function(el) { if (el && el.parentNode) { el.parentNode.removeChild(el); } }); });
try { Object.defineProperty(window, 'noAdsAtAll', { get: function() { return true; } }); } catch (ex) {}
navigator.getBattery = undefined;
(function() { window.Ya = window.Ya || {}; window.Ya.Metrika = function() { var noop = function() {}; this.addFileExtension = noop; this.extLink = noop; this.file = noop; this.hit = noop; this.notBounce = noop; this.params = noop; this.reachGoal = noop; this.replacePhones = noop; this.clickmap = noop; this.trackLinks = noop; }; })();
var _gaq = []; var _gat = { _getTracker: function() { return { _initData: function(){}, _trackPageview: function(){}, _trackEvent: function(){}, _setAllowLinker: function() {}, _setCustomVar: function() {} } }, _createTracker: function() { return this._getTracker(); }, _anonymizeIp: function() {} };
function urchinTracker() {};
window.uabInject = function() {};
} catch (ex) { console.error('Error executing AG js: ' + ex); }</script>
</head>
<body class="single single-post postid-1976 single-format-standard">
<header id="header" class="header">
<div class="container-inner">
<div class="yusi-logo">
<a href="../index.html">
<h1>
<span style="font-family:'jin_mei_mxplzx86d456993036';color: #fff;font-weight: normal;font-size: 54px;animation: shake-slow 300s ease-in-out infinite;"class="preview-item small shake-slow shake-constant shake-constant--hover">逗比根据地</span>
<span style="font-family:'LiDeBiao-Xing320e75d0253036';color: #fff;font-size: 24px;animation: shake-slow 300s ease-in-out infinite;" class="preview-item small shake-slow shake-constant shake-constant--hover">– 世界那么逗,我想出去看看</span>
</h1>
</a>
</div>
</div>
<div id="nav-header" class="navbar">
<ul class="nav">
<li><a href="../index.html"><i class="fa fa-flag"></i> 首页</a></li>
<li><a target="_blank" href="../dbtj/index.html"><i class="fa fa-thumbs-up"></i> 逗比推荐</a>
<ul class="sub-menu">
<li><a target="_blank" href="../dbwz/index.html">碉堡网站</a></li>
<li><a target="_blank" href="../dbrj/index.html">逗比软件</a></li>
<li><a target="_blank" href="../xnzj/index.html">虚拟主机</a></li>
<li><a target="_blank" href="../vpszy/index.html">VPS资源</a></li>
</ul>
</li>
<li><a target="_blank" href="../kxsw/index.html"><i class="fa fa-google"></i> 科学上网</a>
<ul class="sub-menu">
<li><a target="_blank" href="../androidkxsw/index.html">安卓合集</a></li>
<li><a target="_blank" href="../pckxsw/index.html">电脑合集</a></li>
<li><a target="_blank" href="../wlzy/index.html">网络资源</a></li>
<li><a target="_blank" href="../jzzy/index.html">建站资源</a></li>
<li><a target="_blank" href="../vpnzy/index.html">VPN资源</a></li>
<li><a target="_blank" href="../shell/index.html">Shell脚本</a></li>
<li class="current-post-ancestor current-menu-parent"><a target="_blank" href="../linux/index.html">Linux教程</a></li>
</ul>
</li>
<li><a target="_blank" href="../ss-jc26/index.html"><i class="fa fa-paper-plane"></i> Shadowsocks</a>
<ul class="sub-menu">
<li><a target="_blank" href="../all-one/index.html"><span style="color: #ffe200;">网站文章 合辑</span></a></li>
<li><a target="_blank" href="../sszhfx/index.html">免费账号 分享</a></li>
<li><a target="_blank" href="../ss-jc26/index.html">所有教程 合辑</a></li>
<li><a target="_blank" href="../ss-jc35/index.html">小白常见 问题</a></li>
<li><a target="_blank" href="../ss-jc39/index.html">故障排除 方法</a></li>
<li><a target="_blank" href="../ss-jc42/index.html">一键管理 脚本</a></li>
<li><a target="_blank" href="../ss-jc60/index.html">一键管理 脚本2</a></li>
</ul>
</li>
<li><a target="_blank" href="../vps-tj/index.html"><i class="fa fa-tasks"></i> 便宜VPS推荐</a></li>
<li><a target="_blank" href="https://softs.fun"><i class="fa fa-cloud"></i> 逗比云</a></li>
<li><a target="_blank" href="../dashang/index.html"><span style="color: #ff6464;"><i class="fa fa-heart"></i></span> 捐赠打赏</a></li>
<li><a target="_blank" href="../guestbook/index.html"><i class="fa fa-pencil-square-o"></i> 留言</a></li>
<li style="float:right;">
<div class="toggle-search" style="width: 60px;"><i class="fa fa-search"></i><a href="index-replytocom=11663.html#" style="padding: 0;">搜索</a></div>
<div class="search-expand" style="display: none;"><div class="search-expand-inner"><form method="get" class="searchform themeform" onsubmit="location.href='https://doub.io/search/' + encodeURIComponent(this.s.value).replace(/%20/g, '+'); return false;" action="../index.html"><div> <input type="ext" class="search" name="s" onblur="if(this.value=='')this.value='请善用搜索功能...';" onfocus="if(this.value=='请善用搜索功能...')this.value='';" value="请善用搜索功能..."></div></form></div></div>
</li>
</ul>
</div>
</div>
</header>
<section class="container"><div class="speedbar">
<div class="toptip"><strong class="text-success"><i class="fa fa-volume-up"></i> </strong> 在曝光抄袭我免费SS账号的网站后,一些人就对它们进行了DD攻击,然后某站觉得是我打的,于是又怼我网站,背锅了。 <div style="float: right;margin: 0 10px;"><a target="_blank" href="../tougao/index.html"><i class="fa fa-envelope" style="color: #1abc9c;opacity: 1;"></i>投稿文章</a> | <a target="_blank" href="../guanggao/index.html"><i class="fa fa-money" style="color: #1abc9c;opacity: 1;"></i>广告投放</a> | <a target="_blank" href="https://doub.io/go/tg"><i class="fa fa-paper-plane" style="color: #1abc9c;opacity: 1;"></i>Telegram 群组</a> / <a target="_blank" href="https://doub.io/go/tg_a">公告频道</a> </div></div>
</div>
<div class="content-wrap">
<div class="content">
<header class="article-header">
<h1 class="article-title"><a href="index.html">Linux开放HTTP服务并下载文件到本地 以测试 VPS回程速度</a></h1>
<div class="meta">
<span id="mute-category" class="muted"><i class="fa fa-list-alt"></i><a href="../linux/index.html"> Linux教程</a></span> <span class="muted"><i class="fa fa-user"></i> <a href="../author/toyo/index.html">Toyo</a></span>
<time class="muted"><i class="fa fa-clock-o"></i> 6个月前 (03-11)</time>
<!-- span class="muted"><i class="fa fa-eye"></i> 2940℃</span -->
<span class="muted"><i class="fa fa-comments-o"></i> <a href="index.html#comments">24评论</a></span> </div>
</header>
<article class="article-content">
<div id="content-index" class="content-index" style="margin:0 0 10px 10px;float:right;"><div class="content-index-title">文章目录</div><span class="content-index-toctoggle">[<a id="content-index-togglelink" href="javascript:content_index_toggleToc()">显示</a>]</span>
<script type="text/javascript" language="javascript">
window.content_index_showTocToggle=false;function content_index_toggleToc(){var tts="显示";var tth="隐藏";if(window.content_index_showTocToggle){window.content_index_showTocToggle=false;document.getElementById("content-index-contents").style.display="none";document.getElementById("content-index-togglelink").innerHTML=tts}else{window.content_index_showTocToggle=true;document.getElementById("content-index-contents").style.display="block";document.getElementById("content-index-togglelink").innerHTML=tth}}
</script>
<ul id="content-index-contents" style="display: none;"><li class="content-index-level-1"><a href="index.html#SimpleHTTPServer" title="SimpleHTTPServer"><span>SimpleHTTPServer</span></a><ul class="children"><li class="content-index-level-2"><a href="index.html#%E6%A3%80%E6%9F%A5Python%E6%98%AF%E5%90%A6%E5%AE%89%E8%A3%85%EF%BC%9A" title="检查Python是否安装:"><span>检查Python是否安装:</span></a></li><li class="content-index-level-2"><a href="index.html#%E5%8D%B8%E8%BD%BD%20SimpleHTTPServer%EF%BC%9A" title="卸载 SimpleHTTPServer:"><span>卸载 SimpleHTTPServer:</span></a></li></ul></li><li class="content-index-level-1"><a href="index.html#Caddy" title="Caddy"><span>Caddy</span></a><ul class="children"><li class="content-index-level-2"><a href="index.html#%E9%83%A8%E7%BD%B2%E6%96%B9%E6%B3%95%EF%BC%9A" title="部署方法:"><span>部署方法:</span></a></li><li class="content-index-level-2"><a href="index.html#%E5%86%99%E5%85%A5%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6" title="写入配置文件"><span>写入配置文件</span></a></li><li class="content-index-level-2"><a href="index.html#%E4%B8%8B%E8%BD%BD%E6%B5%8B%E9%80%9F%E6%96%87%E4%BB%B6" title="下载测速文件"><span>下载测速文件</span></a></li><li class="content-index-level-2"><a href="index.html#Caddy%20%E4%BD%BF%E7%94%A8%E6%96%B9%E6%B3%95" title="Caddy 使用方法"><span>Caddy 使用方法</span></a></li><li class="content-index-level-2"><a href="index.html#%E5%8D%B8%E8%BD%BD%20Caddy" title="卸载 Caddy"><span>卸载 Caddy</span></a></li><li class="content-index-level-2"><a href="index.html#%E5%90%AF%E5%8A%A8%E6%98%BE%E7%A4%BA%E6%88%90%E5%8A%9F%EF%BC%8C%E4%BD%86%E6%98%AF%E5%AE%9E%E9%99%85%E6%9C%AA%E8%BF%90%E8%A1%8C" title="启动显示成功,但是实际未运行"><span>启动显示成功,但是实际未运行</span></a></li></ul></li></ul></div>
<div class="old-message">本文最后更新于 <a style="color: #ff6464;"><strong>2017年9月3日 21:57</strong></a> 可能会因为没有更新而失效。如已失效或需要修正,请留言!</div><p>在 <a title="Linux中使用 路由追踪 测试VPS回程路由(回程路由比去程更影响SS速度)" href="../linux-jc4/index.html" target="_blank">Linux中使用 路由追踪 测试VPS回程路由(回程路由比去程更影响SS速度)</a> 文章中,我说过如果你的服务器是做代理的,那么最影响速度的就是回程路由质量,那个文章中教你如何通过路由追踪测试VPS回程路由质量,但是毕竟路由质量不代表最终速度,而现在这篇文章就是让你测试,你在下载VPS上面的文件到本地的速度(回程速度)。</p>
<hr />
<p>大部分情况下,你挂代理比如Shadowsocks(R),大部分情况下你都是在下载数据(VPS传给你),无论是看视频还是看网页。所以这个速度才是最终影响你体验的指数。</p>
<p>而如何测试呢?很简单,只要在VPS上面开放HTTP服务,然后在VPS开放的文件夹中下载一个 100MB的测试文件,然后我们从浏览器打开并下载这个 100MB的测试文件,在下载期间看文件的下载速度。</p>
<p>当然这篇文章不仅限于,测试VPS回程速度,有时候你需要开放/共享 VPS上的一些文件,你也可以看这篇文章。</p>
<hr />
<p>搭建HTTP服务有很多方法,但是我们只是测试一下VPS上面的文件下载到本地的速度,所以要排除那些步骤复杂,设置颇多的HTTP工具。</p>
<p>所以这里我选择了:<strong><a href="index.html#SimpleHTTPServer">SimpleHTTPServer</a> 和 <a href="index.html#Caddy">Caddy</a></strong> (注意:只需要选择其中一个就行了!</p>
<h2 id="SimpleHTTPServer">SimpleHTTPServer</h2>
<p>SimpleHTTPServer是Pyhton自带的一个简易HTTP Server,所以要使用这个工具,VPS中要安装的有 Python,优点是大部分Linux系统中都会安装 Python。</p>
<blockquote><p><strong>缺点:</strong>经过逗比们反馈,SimpleHTTPServer似乎存在 <strong>下载速度不稳定/很慢</strong> 的问题,而且不支持多线程下载,如果觉得不好用,请看Caddy。</p></blockquote>
<p class="toggle" style="margin: 0 -10px;"><i class="fa fa-thumb-tack" style="float: left;color: #00a67c;line-height: 1.5;"></i> <a href="index-replytocom=11663.html#">点击展开 查看更多</a></p><div class="toggle-box" style="display: none;"><p></p>
<h3 id="检查Python是否安装:">检查Python是否安装:</h3>
<pre class="prettyprint linenums">python -V
# 正常情况下应该返回 Python 2.7.x
# 如果返回命令找不到 python: command not found ,那么说明没有安装Python。
</pre>
<p>如果没有安装,那么请<strong>安装 Python:</strong></p>
<pre class="prettyprint linenums"># CentOS 系统:
yum update && yum install python python2.7 -y
# Debian/Ubuntu 系统:
apt-get update && apt-get install python python2.7 -y
# 安装后使用 python -V 查看是否安装成功,如果不成功就去谷歌吧!</pre>
<hr />
<p>确认Python安装正常后,就可以看下面这个教程继续操作了,很早就写过,当时还写了一个一键脚本。</p>
<ul>
<li><a title="『原创』SimpleHTTPServer 快速搭建HTTP Web服务 + 一键脚本 - 逗比根据地" href="../wlzy-8/index.html" target="_blank">『原创』SimpleHTTPServer 快速搭建HTTP Web服务 + 一键脚本</a></li>
</ul>
<p>在使用 SimpleHTTPServer 开放HTTP服务后,<span style="color: #ff0000;"><strong>进入你开放HTTP服务的文件夹内</strong></span>,然后生成一个 100MB的测试文件。</p>
<pre class="prettyprint linenums">dd if=/dev/zero of=Test bs=1M count=100
# 100MB文件太小,测试不过瘾?那只需要把最后的数字改成你想要的,比如 500=500MB
dd if=/dev/zero of=Test bs=1M count=500
# Test就是生成的测试文件的文件名,1M是每次写入1M大小,500是写入500次,也就是名为Test的500MB大小文件。</pre>
<p>最后,我们打开<code> http://VPS_IP:端口 </code>即可看到虚拟主机文件夹内的文件了,开始下载名为 Test的文件测速吧!</p>
<h3 id="卸载 SimpleHTTPServer:">卸载 SimpleHTTPServer:</h3>
<p>SimpleHTTPServer是集成与 Python的,所以无法卸载,只需要把脚本(如果用的话)和下载测速的文件删除即可。</p>
<pre class="prettyprint linenums">rm -rf Test
</pre>
<p></p></div>
<h2 id="Caddy">Caddy</h2>
<p>Caddy是一个Go语言编写的很简单的 HTTP Server,配置文件异常简单,相比于 SimpleHTTPServer 的不稳定和不支持多线程,Caddy更适合长期使用,当然不代表不适合短期使用。</p>
<p class="toggle" style="margin: 0 -10px;"><i class="fa fa-thumb-tack" style="float: left;color: #00a67c;line-height: 1.5;"></i> <a href="index-replytocom=11663.html#">点击展开 查看更多</a></p><div class="toggle-box" style="display: none;"><p></p>
<h3 id="部署方法:">部署方法:</h3>
<pre class="prettyprint linenums">wget -N --no-check-certificate https://softs.fun/Bash/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh install http.filemanager
# 如果上面这个脚本无法下载,尝试使用备用下载:
wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh install http.filemanager
</pre>
<p>安装Caddy成功后,继续新建一个虚拟主机文件夹,</p>
<pre class="prettyprint linenums">mkdir /usr/local/caddy/www && mkdir /usr/local/caddy/www/speeder</pre>
<h3 id="写入配置文件">写入配置文件</h3>
<p>写入配置到 Caddy 配置文件,注意下面这六行要一起复制粘贴,不是一行一行复制!</p>
<pre class="prettyprint linenums">echo ":80 {
root /usr/local/caddy/www/speeder
timeouts none
gzip
browse
}" > /usr/local/caddy/Caddyfile
# 如果要绑定域名,只要把上面第一行的[ <strong>:80 {</strong> ]改成域名比如[ <strong>http://tooyo.ml {</strong> ]即可(不需要加端口号了)#
</pre>
<p>上面的代码执行完后,启动 Caddy即可。</p>
<pre class="prettyprint linenums">service caddy start</pre>
<h3 id="下载测速文件">下载测速文件</h3>
<p>然后我们进入 虚拟主机文件夹,并下载 测速文件:</p>
<pre class="prettyprint linenums">cd /usr/local/caddy/www/speeder
dd if=/dev/zero of=Test bs=1M count=100
# 100MB文件太小,测试不过瘾?那只需要把最后的数字改成你想要的,比如 500=500MB
dd if=/dev/zero of=Test bs=1M count=500
# Test就是生成的测试文件的文件名,1M是每次写入1M大小,500是写入500次,也就是名为Test的500MB大小文件。</pre>
<p>最后,我们打开<code> http://VPS_IP </code>即可看到虚拟主机文件夹内的文件了,开始下载名为 Test的文件测速吧!</p>
<h3 id="Caddy 使用方法">Caddy 使用方法</h3>
<p><strong>启动:</strong>service caddy start</p>
<p><strong>停止:</strong>service caddy stop</p>
<p><strong>重启:</strong>service caddy restart</p>
<p><strong>查看状态:</strong>service caddy status</p>
<h3 id="卸载 Caddy">卸载 Caddy</h3>
<p>进入你下载caddy安装脚本的文件夹,并用下面代码运行脚本即可完全卸载。</p>
<pre class="prettyprint linenums">bash caddy_install.sh uninstall
</pre>
<h3 id="启动显示成功,但是实际未运行">启动显示成功,但是实际未运行</h3>
<p>因为 服务脚本判断的问题,只判断了nohub是否运行 Caddy成功,但没有判断 Caddy 是否保持正常运行。</p>
<p>你可以理解为,nohub成功启动了 Caddy,但是 Caddy因为配置文件错误等原因,启动后又退出了。</p>
<p>所以这种情况下,你应该去查看启动日志:</p>
<pre class="prettyprint linenums">tail -f /tmp/caddy.log
</pre>
<p></p></div>
<p><pre style="border-left: solid 4px #1abc9c;"><strong>转载请超链接注明:</strong><a href="../index.html">逗比根据地</a> » <a href="index.html">Linux开放HTTP服务并下载文件到本地 以测试 VPS回程速度</a></pre><pre><strong>责任声明:</strong>本站一切资源仅用作交流学习,请勿用作商业或违法行为!如造成任何后果,本站概不负责!</pre></p>
<div class="article-social">
<a href="javascript:;" data-action="ding" data-id="1976" id="Addlike" class="action"><i class="fa fa-thumbs-o-up"></i>赞 (<span class="count">11</span>)</a><span class="or">or</span><a class="action dashang-single" target="_blank" href="../dashang/index.html"><i style="color: #ff6464;" class="fa fa-heart"></i>打赏</a>
</div>
</article>
<footer class="article-footer">
<div class="article-tags"><i class="fa fa-tags"></i><a href="../tag/caddy/index.html" rel="tag">Caddy</a><a href="../tag/http/index.html" rel="tag">HTTP</a><a href="../tag/linux/index.html" rel="tag">Linux</a><a href="../tag/simplehttpserver/index.html" rel="tag">SimpleHTTPServer</a></div></footer>
<nav class="article-nav">
<span class="article-nav-prev"><i class="fa fa-angle-double-left"></i> <a href="../pipesocks-jc3/index.html" rel="prev">DaoCloud免费部署 PipeSocks 国内中转Pipe/Pump</a></span>
<span class="article-nav-next"><a href="../linux-jc6/index.html" rel="next">Debian/Ubuntu 内核降级教程 —— 降低(BBR)为支持锐速的内核版本</a> <i class="fa fa-angle-double-right"></i></span>
</nav>
<div class="related_top">
<div class="related_posts"><ul class="related_img">
<li class="related_box" >
<a href="../linux-jc10/index.html" title="Linux 修改默认SSH端口 22,避免被暴力破解密码" target="_blank">
<img src="../wp-content/themes/yusi1.0/timthumb.php-src=https---doub.io-wp-content-uploads-qita-05-03.png&h=110&w=185&q=90&zc=1&ct=1.png" alt="Linux 修改默认SSH端口 22,避免被暴力破解密码" /> <br><span class="r_title">Linux 修改默认SSH端口 22,避免被暴力破解密码</span></a>
</li>
<li class="related_box" >
<a href="../linux-jc9/index.html" title="Linux 更换密码登陆方式 为使用 Key密匙安全登陆,避免被暴力破解密码" target="_blank">
<img src="../wp-content/themes/yusi1.0/timthumb.php-src=https---doub.io-wp-content-uploads-vpn1.png&h=110&w=185&q=90&zc=1&ct=1.png" alt="Linux 更换密码登陆方式 为使用 Key密匙安全登陆,避免被暴力破解密码" /> <br><span class="r_title">Linux 更换密码登陆方式 为使用 Key密匙安全登陆,避免被暴力破解密码</span></a>
</li>
<li class="related_box" >
<a href="../shell-jc3/index.html" title="『原创』多服务器 云探针、云监控 —— ServerStatus 一键管理脚本" target="_blank">
<img src="../wp-content/themes/yusi1.0/timthumb.php-src=https---doub.io-wp-content-uploads-qita-04-09.png&h=110&w=185&q=90&zc=1&ct=1.png" alt="『原创』多服务器 云探针、云监控 —— ServerStatus 一键管理脚本" /> <br><span class="r_title">『原创』多服务器 云探针、云监控 —— ServerStatus 一键管理脚本</span></a>
</li>
<li class="related_box" >
<a href="../shell-jc2/index.html" title="『原创』iptables 封禁 BT/PT/SPAM(垃圾邮件)和自定义端口/关键词 一键脚本" target="_blank">
<img src="../wp-content/themes/yusi1.0/timthumb.php-src=https---doub.io-wp-content-uploads-firewall-1.png&h=110&w=185&q=90&zc=1&ct=1.png" alt="『原创』iptables 封禁 BT/PT/SPAM(垃圾邮件)和自定义端口/关键词 一键脚本" /> <br><span class="r_title">『原创』iptables 封禁 BT/PT/SPAM(垃圾邮件)和自定义端口/关键词 一键脚本</span></a>
</li>
</ul>
<div class="relates">
<ul>
<li><i class="fa fa-minus"></i><a href="../linux-jc10/index.html">Linux 修改默认SSH端口 22,避免被暴力破解密码</a></li><li><i class="fa fa-minus"></i><a href="../linux-jc9/index.html">Linux 更换密码登陆方式 为使用 Key密匙安全登陆,避免被暴力破解密码</a></li><li><i class="fa fa-minus"></i><a href="../shell-jc3/index.html">『原创』多服务器 云探针、云监控 —— ServerStatus 一键管理脚本</a></li><li><i class="fa fa-minus"></i><a href="../shell-jc2/index.html">『原创』iptables 封禁 BT/PT/SPAM(垃圾邮件)和自定义端口/关键词 一键脚本</a></li><li><i class="fa fa-minus"></i><a href="../linux-jc8/index.html">『持续更新』Linux 常用命令简单介绍 —— 基础篇</a></li><li><i class="fa fa-minus"></i><a href="../sync-jc1/index.html">Linux 搭建 Resilio Sync Web UI 同步客户端教程</a></li><li><i class="fa fa-minus"></i><a href="../linux-jc7/index.html">Linux 添加 SWAP 交换内存/虚拟内存 的简单方法</a></li><li><i class="fa fa-minus"></i><a href="../jzzy-3/index.html">利用 Caddy FileManager扩展 非常简单的部署 私人网盘/在线文件管理器</a></li>
</ul></div></div> </div>
<div id="respond" class="no_webshot">
<form action="https://doub.io/wp-comments-post.php" method="post" id="commentform">
<div class="comt-title">
<div class="comt-avatar pull-left">
</div>
<div class="comt-author pull-left">
发表我的评论 </div>
<a id="cancel-comment-reply-link" class="pull-right" href="javascript:;">取消评论</a>
</div>
<div class="comt">
<div class="comt-box">
<textarea placeholder="看见这么吊的文章,还不惊为天人?赶紧写下感想膜拜一下吧!哇哇哇(如问略复杂的问题请Telegram[t.me/doubi]联系本人,评论里只适合简单的交流。)" class="input-block-level comt-area" name="comment" id="comment" cols="100%" rows="3" tabindex="1" onkeydown="if(event.ctrlKey&&event.keyCode==13){document.getElementById('submit').click();return false};"></textarea>
<div class="comt-ctrl">
<button class="btn btn-primary pull-right" type="submit" name="submit" id="submit" tabindex="5"><i class="fa fa-check-square-o"></i> 提交评论</button>
<div class="comt-tips pull-right"><input type='hidden' name='comment_post_ID' value='1976' id='comment_post_ID' />
<input type='hidden' name='comment_parent' id='comment_parent' value='11663' />
</div>
<span data-type="comment-insert-smilie" class="muted comt-smilie"><i class="fa fa-smile-o"></i> 表情</span>
<span class="muted comt-mailme"><label for="comment_mail_notify" class="checkbox inline" style="padding-top:0"><input type="checkbox" name="comment_mail_notify" id="comment_mail_notify" value="comment_mail_notify" checked="checked"/>有人回复时邮件通知我</label></span>
</div>
</div>
<div class="comt-comterinfo" id="comment-author-info" >
<h4>Hi,您需要填写昵称和邮箱!</h4>
<ul>
<li class="form-inline"><label class="hide" for="author">昵称</label><input class="ipt" type="text" name="author" id="author" value="" tabindex="2" placeholder="昵称"><span class="help-inline">昵称 (必填)</span></li>
<li class="form-inline"><label class="hide" for="email">邮箱</label><input class="ipt" type="text" name="email" id="email" value="" tabindex="3" placeholder="邮箱"><span class="help-inline">邮箱 (必填)</span></li>
<li class="form-inline"><label class="hide" for="url">网址</label><input class="ipt" type="text" name="url" id="url" value="" tabindex="4" placeholder="网址"><span class="help-inline">网址</span></li>
</ul>
</div>
</div>
</form>
</div>
<div id="postcomments">
<div id="comments">
<i class="fa fa-comments-o"></i> <b> (24)</b>个小伙伴在吐槽
</div>
<ol class="commentlist">
<li class="comment even thread-even depth-1" id="comment-17228"><div class="c-avatar"><div class="c-main" id="div-comment-17228">我的腾讯云只有125KB/s,下载大文件要等好久,所以我想到用百度云的离线下载功能,从linux上生成下载链接很麻烦,我就用caddy把要下载的文件放里面。<div class="c-meta"><span class="c-author">__peter__</span>2017-08-17 15:43 <a class='comment-reply-link' href='index-replytocom=17228.html#respond' onclick='return addComment.moveForm( "div-comment-17228", "17228", "respond", "1976" )' aria-label='回复给__peter__'>回复</a></div></div></div></li><!-- #comment-## -->
<li class="comment odd alt thread-odd thread-alt depth-1" id="comment-16916"><div class="c-avatar"><div class="c-main" id="div-comment-16916">直接在linux搭个宝塔面板,这样就小白可以可视化操作了,并且支持远程下载文件到服务器再下回本地<div class="c-meta"><span class="c-author"><a href='http://comicmobi.com' rel='external nofollow' class='url'>278559165</a></span>2017-08-12 09:50 <a class='comment-reply-link' href='index-replytocom=16916.html#respond' onclick='return addComment.moveForm( "div-comment-16916", "16916", "respond", "1976" )' aria-label='回复给278559165'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-2" id="comment-16917"><div class="c-avatar"><div class="c-main" id="div-comment-16917">如果仅仅是测试一下速度,测试完就不需要了,那么你这种方法反而要相对更麻烦一点。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-08-12 09:57 <a class='comment-reply-link' href='index-replytocom=16917.html#respond' onclick='return addComment.moveForm( "div-comment-16917", "16917", "respond", "1976" )' aria-label='回复给Toyo'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment odd alt thread-even depth-1" id="comment-12863"><div class="c-avatar"><div class="c-main" id="div-comment-12863">卸载命令应该是 bash caddy_install.sh uninstall
文章里差.sh<div class="c-meta"><span class="c-author">littlematch</span>2017-04-16 13:06 <a class='comment-reply-link' href='index-replytocom=12863.html#respond' onclick='return addComment.moveForm( "div-comment-12863", "12863", "respond", "1976" )' aria-label='回复给littlematch'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-2" id="comment-12864"><div class="c-avatar"><div class="c-main" id="div-comment-12864">感谢提醒,加上了。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-04-16 13:55 <a class='comment-reply-link' href='index-replytocom=12864.html#respond' onclick='return addComment.moveForm( "div-comment-12864", "12864", "respond", "1976" )' aria-label='回复给Toyo'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment odd alt thread-odd thread-alt depth-1" id="comment-11685"><div class="c-avatar"><div class="c-main" id="div-comment-11685">偷油大,小弟有发现单线下载测试文件经常会下载任务出错提前终止,下载文件不完整,而使用多线程下载工具就没问题,经反复测试VPS和浏览器无关,后来搜了一下,加上 timeouts 参数就解决了,但搭网站用这个参数来设定就需要斟酌。如属罕见问题,就权当Mark一下,大家周知,感谢!<div class="c-meta"><span class="c-author">测试者</span>2017-03-16 16:53 <a class='comment-reply-link' href='index-replytocom=11685.html#respond' onclick='return addComment.moveForm( "div-comment-11685", "11685", "respond", "1976" )' aria-label='回复给测试者'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-2" id="comment-11687"><div class="c-avatar"><div class="c-main" id="div-comment-11687">caddy?<br />
这个情况我倒是不清楚,我测试的时候倒是没有出现这个问题。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-03-16 17:10 <a class='comment-reply-link' href='index-replytocom=11687.html#respond' onclick='return addComment.moveForm( "div-comment-11687", "11687", "respond", "1976" )' aria-label='回复给Toyo'>回复</a></div></div></div><ul class="children">
<li class="comment odd alt depth-3" id="comment-11691"><div class="c-avatar"><div class="c-main" id="div-comment-11691">你的脚本和国外的一个脚本,不同的浏览器在自己几个VPS都出现了,D7 I686和D8 X86上,全新安装或卸载安装每次都出现,难道因为同时是有SSR和SERVERSPEEDER的关系......anyway 反正知道这个参数可以搞掂单线下载断线就成,谢谢。<div class="c-meta"><span class="c-author">测试者</span>2017-03-16 17:47 <a class='comment-reply-link' href='index-replytocom=11691.html#respond' onclick='return addComment.moveForm( "div-comment-11691", "11691", "respond", "1976" )' aria-label='回复给测试者'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-4" id="comment-11694"><div class="c-avatar"><div class="c-main" id="div-comment-11694">你的都是 32位系统?Caddy 我只在64位系统上面做测试,你这种情况我还是第一次看到。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-03-16 18:09 <a class='comment-reply-link' href='index-replytocom=11694.html#respond' onclick='return addComment.moveForm( "div-comment-11694", "11694", "respond", "1976" )' aria-label='回复给Toyo'>回复</a></div></div></div><ul class="children">
<li class="comment odd alt depth-5" id="comment-11711"><div class="c-avatar"><div class="c-main" id="div-comment-11711">D7是32位 D8是64位,同样出问题,从上午弄到下午,很不甘心搜了一下(早搜就好了),果然有同样问题和解决方案,又测试过没问题才来这边Mark一下,反正知道有这么个措施可以解决,省的大家和我一样去浪费时间,如果碰不到就算了。<div class="c-meta"><span class="c-author">测试者</span>2017-03-17 08:23 <a class='comment-reply-link' href='index-replytocom=11711.html#respond' onclick='return addComment.moveForm( "div-comment-11711", "11711", "respond", "1976" )' aria-label='回复给测试者'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment even thread-even depth-1" id="comment-11660"><div class="c-avatar"><div class="c-main" id="div-comment-11660">非常偷油的指点分享,可以再做个完全删除脚本么? 或者加个参数开关,再或者直接告诉我们删除哪些目录文件,修改哪些地方也可以啊,麻烦了,谢谢。<div class="c-meta"><span class="c-author">测试者</span>2017-03-16 10:41 <a class='comment-reply-link' href='index-replytocom=11660.html#respond' onclick='return addComment.moveForm( "div-comment-11660", "11660", "respond", "1976" )' aria-label='回复给测试者'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor odd alt depth-2" id="comment-11662"><div class="c-avatar"><div class="c-main" id="div-comment-11662">caddy 脚本本身带的就有卸载功能。
<pre class="prettyprint linenums" >
bash caddy_install.sh uninstall
</pre><div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-03-16 10:54 <a class='comment-reply-link' href='index-replytocom=11662.html#respond' onclick='return addComment.moveForm( "div-comment-11662", "11662", "respond", "1976" )' aria-label='回复给Toyo'>回复</a></div></div></div><ul class="children">
<li class="comment even depth-3" id="comment-11663"><div class="c-avatar"><div class="c-main" id="div-comment-11663">赞~ 谢谢<div class="c-meta"><span class="c-author">测试者</span>2017-03-16 10:58 <a class='comment-reply-link' href='index-replytocom=11663.html#respond' onclick='return addComment.moveForm( "div-comment-11663", "11663", "respond", "1976" )' aria-label='回复给测试者'>回复</a></div></div></div></li><!-- #comment-## -->
<li class="comment odd alt depth-3" id="comment-11712"><div class="c-avatar"><div class="c-main" id="div-comment-11712">原来在下一文中就有,抱歉当时没看到,还是谢谢偷油的耐心,好人。<div class="c-meta"><span class="c-author">测试者</span>2017-03-17 08:27 <a class='comment-reply-link' href='index-replytocom=11712.html#respond' onclick='return addComment.moveForm( "div-comment-11712", "11712", "respond", "1976" )' aria-label='回复给测试者'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment even thread-odd thread-alt depth-1" id="comment-11601"><div class="c-avatar"><div class="c-main" id="div-comment-11601">我只用winscp上传下载 这个速速不是一样的吗?<div class="c-meta"><span class="c-author">[email protected]</span>2017-03-14 20:38 <a class='comment-reply-link' href='index-replytocom=11601.html#respond' onclick='return addComment.moveForm( "div-comment-11601", "11601", "respond", "1976" )' aria-label='回复给[email protected]'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor odd alt depth-2" id="comment-11603"><div class="c-avatar"><div class="c-main" id="div-comment-11603">不太一样,HTTP协议和SFTP不一样,SFTP是SSH协议的一个功能,用SFTP传输文件都是加密的,所以会比普通的FTP传输速度要慢一些,HTTP和FTP速度应该相差不大,所以 HTTP测试的速度比SFTP快。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-03-14 21:27 <a class='comment-reply-link' href='index-replytocom=11603.html#respond' onclick='return addComment.moveForm( "div-comment-11603", "11603", "respond", "1976" )' aria-label='回复给Toyo'>回复</a></div></div></div><ul class="children">
<li class="comment even depth-3" id="comment-11615"><div class="c-avatar"><div class="c-main" id="div-comment-11615">学习了,我也搞好了 在测速 以后捡便宜方便了<div class="c-meta"><span class="c-author">123</span>2017-03-15 07:47 <a class='comment-reply-link' href='index-replytocom=11615.html#respond' onclick='return addComment.moveForm( "div-comment-11615", "11615", "respond", "1976" )' aria-label='回复给123'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment odd alt thread-even depth-1" id="comment-11489"><div class="c-avatar"><div class="c-main" id="div-comment-11489">绑定域名那步有木有详细教程,
在域名提供商那里设置解析什么的 一窍不通<div class="c-meta"><span class="c-author">南琴浪</span>2017-03-12 17:32 <a class='comment-reply-link' href='index-replytocom=11489.html#respond' onclick='return addComment.moveForm( "div-comment-11489", "11489", "respond", "1976" )' aria-label='回复给南琴浪'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-2" id="comment-11516"><div class="c-avatar"><div class="c-main" id="div-comment-11516">谷歌搜索我不信没有。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-03-12 19:42 <a class='comment-reply-link' href='index-replytocom=11516.html#respond' onclick='return addComment.moveForm( "div-comment-11516", "11516", "respond", "1976" )' aria-label='回复给Toyo'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment odd alt thread-odd thread-alt depth-1" id="comment-11465"><div class="c-avatar"><div class="c-main" id="div-comment-11465">caddy至少比多线程http server和nginx好呢,一个不能续传,一个配置起来麻烦到爆炸<div class="c-meta"><span class="c-author">kurokitomoko</span>2017-03-12 12:53 <a class='comment-reply-link' href='index-replytocom=11465.html#respond' onclick='return addComment.moveForm( "div-comment-11465", "11465", "respond", "1976" )' aria-label='回复给kurokitomoko'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-2" id="comment-11480"><div class="c-avatar"><div class="c-main" id="div-comment-11480">caddy 性能和功能多样性比不过 nginx,但是在配置难度上面,要简单的多,所以觉得挺好玩,以后写教程 需要建一个简单的HTTP服务器也就不再用nginx这些了,直接用Caddy更简单。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-03-12 16:27 <a class='comment-reply-link' href='index-replytocom=11480.html#respond' onclick='return addComment.moveForm( "div-comment-11480", "11480", "respond", "1976" )' aria-label='回复给Toyo'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment odd alt thread-even depth-1" id="comment-11423"><div class="c-avatar"><div class="c-main" id="div-comment-11423">python -m SimpleHTTPServer 80
python有自带的服务 <img data-original="https://doub.io/wp-content/themes/yusi1.0/img/smilies/icon_eek.gif" alt=":shock:" class="wp-smiley" style="height: 1em; max-height: 1em;" /><div class="c-meta"><span class="c-author">233</span>2017-03-11 12:23 <a class='comment-reply-link' href='index-replytocom=11423.html#respond' onclick='return addComment.moveForm( "div-comment-11423", "11423", "respond", "1976" )' aria-label='回复给233'>回复</a></div></div></div><ul class="children">
<li class="comment byuser comment-author-toyo bypostauthor even depth-2" id="comment-11428"><div class="c-avatar"><div class="c-main" id="div-comment-11428">文章里写了啊。<div class="c-meta"><span class="c-author"><a href='../index.html' rel='external nofollow' class='url'>Toyo</a></span>2017-03-11 16:14 <a class='comment-reply-link' href='index-replytocom=11428.html#respond' onclick='return addComment.moveForm( "div-comment-11428", "11428", "respond", "1976" )' aria-label='回复给Toyo'>回复</a></div></div></div></li><!-- #comment-## -->
</ul><!-- .children -->
</li><!-- #comment-## -->
<li class="comment odd alt thread-odd thread-alt depth-1" id="comment-11422"><div class="c-avatar"><div class="c-main" id="div-comment-11422">可以配置开机自启动么, 因为经常折腾时不时就要重启一下<div class="c-meta"><span class="c-author">siri</span>2017-03-11 10:35 <a class='comment-reply-link' href='index-replytocom=11422.html#respond' onclick='return addComment.moveForm( "div-comment-11422", "11422", "respond", "1976" )' aria-label='回复给siri'>回复</a></div></div></div></li><!-- #comment-## -->
</ol>
<div class="commentnav" >
</div>
</div>
</div>
</div>
<aside class="sidebar">
<div class="widget widget_text"><div class="textwidget"><div class="social">
<a href="https://doub.io/go/g-plus/" rel="external nofollow" title="Google plus" target="_blank"><i class="sinaweibo fa fa-google"></i></a><a href="https://doub.io/go/github/" rel="external nofollow" title="Github" target="_blank"><i class="github fa fa-github"></i></a><a href="https://doub.io/go/twitter/" rel="external nofollow" title="Twitter" target="_blank"><i class="twitter fa fa-twitter"></i></a><a href="https://doub.io/go/facebook/" rel="external nofollow" title="Facebook" target="_blank"><i class="facebook fa fa-facebook"></i></a><a href="https://doub.io/go/tg/" rel="external nofollow" title="Telegram" target="_blank"><i class="paper-plane fa fa-paper-plane"></i></a><a href="../feed/index.rss" rel="external nofollow" target="_blank" title="订阅本站"><i class="rss fa fa-rss"></i></a>
</div></div></div>
<div class="widget widget_text"> <div class="textwidget"><div style="text-align:center;padding: 10px 20px 5px;">
<a class="wid-xiaobai" style="padding-top:15px;padding-bottom:15px;background-color: #2196F3;font-size: 16px;font-weight: bold;" target="_blank" href="../all-one/index.html">逗比根据地 所有文章教程分类合辑</a>
<a class="wid-xiaobai" style="padding-top: 7px;padding-bottom: 7px;background-color: #673AB7;" target="_blank" href="../ss-jc26/index.html">Shadowsocks 指导篇 SS教程合辑</a>
<a class="wid-xiaobai wid-xiaobai-red" style="background-color: #E91E63;" target="_blank" href="../sszhfx/index.html">Shadowsocks 免费公共 账号分享</a>
<a class="wid-xiaobai wid-xiaobai-red" target="_blank" href="../ss-jc39/index.html">Shadowsocks 无法使用 排除方法</a>
<a class="wid-xiaobai wid-xiaobai-red" target="_blank" href="../ss-jc35/index.html">Shadowsocks 小白 常见问题合辑</a>
<a class="wid-xiaobai wid-xiaobai-red" target="_blank" href="../ss-jc10/index.html">ShadowsocksR 客户端 小白教程</a>
<a class="wid-xiaobai" target="_blank" href="../ss-jc41/index.html">ShadowsocksR 服务端 视频教程</a>
<a class="wid-xiaobai wid-xiaobai-red" target="_blank" href="../ss-jc42/index.html">ShadowsocksR 单用户 一键脚本</a>
<a class="wid-xiaobai wid-xiaobai-red" target="_blank" href="../ss-jc60/index.html">ShadowsocksR 多用户 一键脚本</a>
<a class="wid-xiaobai" target="_blank" href="../wlzy-16/index.html">Linux 优化加速技巧 BBR 一键脚本</a>
<a class="wid-xiaobai" target="_blank" href="../ruisu-jc1/index.html">Linux 优化加速技巧 锐速 一键脚本</a>
<a class="wid-xiaobai" target="_blank" href="../wlzy-21/index.html">Linux 优化加速 LotServer 一键脚本</a>
<a class="wid-xiaobai" target="_blank" href="../wlzy-33/index.html">锐速 / LotServer 配置参数简单说明</a>
<a class="wid-xiaobai" target="_blank" href="../vpnzy-2/index.html">CentOS/Debian/Ubuntu L2TP 一键脚本</a>
<a class="wid-xiaobai" target="_blank" href="../vpnzy-3/index.html">CentOS/Debian/Ubuntu IKEv2 一键脚本</a>
<a class="wid-xiaobai" target="_blank" href="../vpnzy-7/index.html">Debian/Ubuntu AnyConnect 一键脚本</a>
<a class="wid-xiaobai wid-xiaobai-red" style="background-color: #FF5722;" target="_blank" href="../linux-jc8/index.html">「持续更新」Linux常见命令介绍 - 基础篇</a>
<a class="wid-xiaobai wid-xiaobai-red" style="background-color: #03a9f4;" target="_blank" href="../jzzy-3/index.html">一键搭建最简单的私人网盘 FileManager</a>
<a class="wid-xiaobai wid-xiaobai-red" target="_blank" href="../shell-jc2/index.html">Linux封垃圾邮件(SPAM)/BT/PT 一键脚本</a>
<a class="wid-xiaobai wid-xiaobai-red" target="_blank" href="../wlzy-11/index.html">VPS建博客 安装WordPress 小白视频教程</a>
<a class="wid-xiaobai" style="background-color: #555555;" target="_blank" href="../paypal-jc2/index.html">PayPal 更换汇率结算方式降低汇率手续费</a>
<a class="wid-xiaobai" style="width: 45.5%;" target="_blank" href="../androidkxsw/index.html">安卓科学上网合辑</a>
<a class="wid-xiaobai" style="width: 45.5%;" target="_blank" href="../pckxsw/index.html">电脑科学上网合辑</a>
</div></div>
</div><div class="widget widget_text"> <div class="textwidget"><a target="_blank" href="https://doub.io/go/minecloud/"><img style="margin-bottom: 10px;" src="../wp-content/uploads/minecloud-04.png" /></a>
<a target="_blank" href="https://doub.io/go/bwg-56/"><img style="margin-bottom: 10px;" src="../wp-content/uploads/bandwagonhost-01.png" /></a>
<a target="_blank" href="https://doub.io/go/vultr/"><img src="../wp-content/uploads/vultr-logo8.png" /></a></div>
</div><div class="widget widget_text"> <div class="textwidget"><style>.dashang a {
position: relative;
background-color: #ff6464;
color: #fff;
padding: 10px 15px;
border: 0;
padding-right: 50px;
}
.dashang a:hover {
background-color: #ff4545;
}
.dashang i {
background-color: #ff4545;
font-size: 16px;
position: absolute;
right: 0;
top: 0;
height: 27px;
padding: 12px 5px 0;
}
</style>
<div class="dashang" style="text-align:center;padding: 20px 0;">
<a target="_blank" href="../dashang/index.html">打赏大逗比<i class="fa fa-heart"></i></a>
</div></div>
</div><div class="widget d_tag"><div class="title"><h2>逗比の标签</h2></div><div class="d_tags"><a title="56个话题" href="../tag/shadowsocks/index.html">Shadowsocks (56)</a><a title="49个话题" href="../tag/%E6%95%99%E7%A8%8B/index.html">教程 (49)</a><a title="38个话题" href="../tag/kxsw/index.html">科学上网 (38)</a><a title="37个话题" href="../tag/%E8%84%9A%E6%9C%AC/index.html">脚本 (37)</a><a title="24个话题" href="../tag/shadowsocksr/index.html">ShadowsocksR (24)</a><a title="23个话题" href="../tag/vps/index.html">VPS (23)</a><a title="16个话题" href="../tag/linux/index.html">Linux (16)</a><a title="11个话题" href="../tag/vpn/index.html">VPN (11)</a><a title="11个话题" href="../tag/vpsyh/index.html">VPS优惠 (11)</a><a title="10个话题" href="../tag/vps%E8%B5%84%E6%BA%90/index.html">VPS资源 (10)</a><a title="10个话题" href="../tag/shell/index.html">shell (10)</a><a title="8个话题" href="../tag/bt/index.html">BT (8)</a><a title="7个话题" href="../tag/%E6%90%AC%E7%93%A6%E5%B7%A5/index.html">搬瓦工 (7)</a><a title="7个话题" href="../tag/%E7%A3%81%E5%8A%9B%E9%93%BE%E6%8E%A5/index.html">磁力链接 (7)</a><a title="7个话题" href="../tag/dns/index.html">DNS (7)</a><a title="7个话题" href="../tag/vps%E8%AF%84%E6%B5%8B/index.html">VPS评测 (7)</a><a title="6个话题" href="../tag/ss-panel/index.html">ss-panel (6)</a><a title="6个话题" href="../tag/%E5%9B%BD%E5%86%85%E4%B8%AD%E8%BD%AC/index.html">国内中转 (6)</a><a title="6个话题" href="../tag/%E5%8F%8D%E5%90%91%E4%BB%A3%E7%90%86/index.html">反向代理 (6)</a><a title="6个话题" href="../tag/kvm/index.html">KVM (6)</a></div></div><div class="widget widget_links"><div class="title"><h2>友情の链接</h2></div>
<ul class='xoxo blogroll'>
<li><a href="https://cccat.co" target="_blank">CCCAT</a></li>
<li><a href="http://www.rarbt.com/" title="一个我经常是否的BT种子站,资源热度很不错" target="_blank">RARBT BT种子</a></li>
<li><a href="https://vps.best/" title="一个简洁,中立的VPS评测网站" target="_blank">VPS.BEST</a></li>
<li><a href="http://www.vpsps.com/" title="VPS评审|VPS评测 VPS优惠 linux教程 便宜VPS VPS推荐 VPS教程 国外VPS" target="_blank">VPS评审</a></li>
<li><a href="https://www.zhujiboke.com/" title="一起来搞机吧!" target="_blank">主机博客</a></li>
<li><a href="http://www.zhujiceping.com/" title="国外主机优惠码、域名优惠码、国外VPS测评、国外服务器" target="_blank">国外主机测评</a></li>
<li><a href="http://51.ruyo.net/" title="分享也是一种快乐!" target="_blank">如有乐享</a></li>
<li><a href="http://www.66re.cn/" title="一个神奇的影音娱乐网,电影、电视直播,视频VIP破解~" target="_blank">小康音乐电台</a></li>
<li><a href="http://ilxdh.com/" title="做个有用的导航!" target="_blank">龙轩导航</a></li>
</ul>
</div>
</aside></section>
<footer class="footer">
<div class="footer-inner">
<div class="copyright pull-left">
<a href="../index.html" title="逗比根据地">逗比根据地</a> 版权所有,保留一切权利 · <a href="../dashang/index.html" target="_blank" style="color: #ff6464;">♥ 捐赠打赏</a> · <a href="http://yusi123.com/3233.html" target="_blank">欲思主题</a> © 2015-2017</a>
</div>
<div class="trackcode pull-right">
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?8067e5ade532c4f3711b320f1e88f213";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?26499fa0b99ff63dd9867c0c43ec1a9d";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script> </div>
</div>
</footer>
<script type='text/javascript' src='../wp-content/themes/yusi1.0/js/jquery-ver=1.0.js'></script>
<script type="text/javascript">
var open = false;
$(function () {
$("button[data-type='Widescreen']").on("click", function () {
if (!open) {
$(".sidebar").hide(); $(".content").animate({ marginRight: 0 }, 200);
} else {
$(".sidebar").show(); $(".content").animate({ marginRight: 370 }, 200);
}
open = !open;
})
})
if(document.body.scrollWidth < 768){
$(".hot-posts").hide();
}
if(window!=window.top){window.top.location.replace(window.location)}function fuckyou(){window.close();window.location="about:blank"}function ck(){console.profile();console.profileEnd();if(console.clear){console.clear()};if(typeof console.profiles=="object"){return console.profiles.length>0}}function hehe(){if((window.console&&(console.firebug||console.table&&/firebug/i.test(console.table())))||(typeof opera=='object'&&typeof opera.postError=='function'&&console.profile.length>0)){fuckyou()}if(typeof console.profiles=="object"&&console.profiles.length>0){fuckyou()}}hehe();window.onresize=function(){if((window.outerHeight-window.innerHeight)>200)fuckyou()}
</script>
</body>
</html>