-
Notifications
You must be signed in to change notification settings - Fork 0
/
atom.xml
1047 lines (858 loc) · 90.6 KB
/
atom.xml
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
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title><![CDATA[幻想驿站]]></title>
<link href="/atom.xml" rel="self"/>
<link href="http://blog.ainhaato.moe/"/>
<updated>2015-06-16T12:27:41.203Z</updated>
<id>http://blog.ainhaato.moe/</id>
<author>
<name><![CDATA[Ainhaato]]></name>
<email><![CDATA[[email protected]]]></email>
</author>
<generator uri="http://zespia.tw/hexo/">Hexo</generator>
<entry>
<title><![CDATA[megadown]]></title>
<link href="http://blog.ainhaato.moe/megadown/"/>
<id>http://blog.ainhaato.moe/megadown/</id>
<published>2015-01-17T15:08:05.000Z</published>
<updated>2015-01-17T15:24:43.000Z</updated>
<content type="html"><![CDATA[<p>megadown是一个mega.co.nz的下载脚本支持加密链接并且可以断点续传<br>项目主页:<a href="https://github.com/tonikelope/megadown" title="megadown" target="_blank" rel="external">https://github.com/tonikelope/megadown</a></p>
<h3 id="依赖:">依赖:</h3>
<ul>
<li>OpenSSL(with support for AES 128 CTR and AES 128 CBC)</li>
<li>PHP-cli</li>
<li>pv</li>
</ul>
<h3 id="使用过程">使用过程</h3>
<pre><code>git clone http<span class="variable">s:</span>//github.<span class="keyword">com</span>/tonikelope/megadown.git
<span class="keyword">cd</span> megadown
./megadown.<span class="keyword">sh</span> <span class="string">'https://mega.co.nz/#!qVtyGLDY!QdZXL4ke4V8rl77-cYuvvCKSnkZZMAijFcaUYvb05OE'</span>
</code></pre><p><a href="http://ww4.sinaimg.cn/large/6abdaa9djw1eocxjx36trj20fn04hgmf.jpg" target="_blank" rel="external"><img src="http://ww4.sinaimg.cn/large/6abdaa9djw1eocxjx36trj20fn04hgmf.jpg" alt=""></a></p>
<p>PS:福利注意</p>
]]></content>
<summary type="html">
<![CDATA[<p>megadown是一个mega.co.nz的下载脚本支持加密链接并且可以断点续传<br>项目主页:<a href="https://github.com/tonikelope/megadown" title="megadown" target="_blank" rel="e]]>
</summary>
<category term="网盘" scheme="http://blog.ainhaato.moe/tags/%E7%BD%91%E7%9B%98/"/>
<category term="下载" scheme="http://blog.ainhaato.moe/tags/%E4%B8%8B%E8%BD%BD/"/>
<category term="download" scheme="http://blog.ainhaato.moe/tags/download/"/>
<category term="bash" scheme="http://blog.ainhaato.moe/tags/bash/"/>
<category term="php" scheme="http://blog.ainhaato.moe/tags/php/"/>
<category term="资源分享" scheme="http://blog.ainhaato.moe/categories/share/"/>
<category term="工具" scheme="http://blog.ainhaato.moe/categories/share/tools/"/>
</entry>
<entry>
<title><![CDATA[利用proxychains在终端使用socks5代理]]></title>
<link href="http://blog.ainhaato.moe/proxychains-socks5-shell/"/>
<id>http://blog.ainhaato.moe/proxychains-socks5-shell/</id>
<published>2014-11-22T07:46:52.000Z</published>
<updated>2015-01-13T14:01:26.000Z</updated>
<content type="html"><![CDATA[<p>最近用各种脚本下载东西的时候发现有的站点需要当地IP才能下,比如…..nico, youtube等;所以就找了下能在终端用socks5代理的工具,最后找到了proxychains,配合shadowsocks,从此再无压力=w=</p>
<a id="more"></a>
<hr>
<h3 id="proxychains安装">proxychains安装</h3>
<pre><code>git clone http<span class="variable">s:</span>//github.<span class="keyword">com</span>/rofl0r/proxychains-ng.git
<span class="keyword">cd</span> proxychains-ng
./configure
<span class="keyword">make</span> && <span class="keyword">make</span> install
<span class="keyword">cp</span> ./src/proxychains.<span class="keyword">conf</span> /etc/proxychians.<span class="keyword">conf</span>
<span class="keyword">cd</span> .. && rm -rf proxychains-ng
</code></pre><h3 id="编辑proxychains配置">编辑proxychains配置</h3>
<pre><code><span class="keyword">vim</span> /etc/proxychains.<span class="keyword">conf</span>
</code></pre><p>将<strong><em>socks4 127.0.0.1 9095</em></strong>改为</p>
<pre><code><span class="title">socks5</span> <span class="number">127.0.0.1</span> <span class="number">1080</span> //<span class="number">1080</span>改为你自己的端口
</code></pre><h3 id="使用方法">使用方法</h3>
<p>在需要代理的命令前加上<strong><em>proxychains4</em></strong>,如:</p>
<pre><code>proxychains4 wget http:<span class="comment">//xxx.com/xxx.zip</span>
</code></pre>]]></content>
<summary type="html">
<![CDATA[<p>最近用各种脚本下载东西的时候发现有的站点需要当地IP才能下,比如…..nico, youtube等;所以就找了下能在终端用socks5代理的工具,最后找到了proxychains,配合shadowsocks,从此再无压力=w=</p>
]]>
</summary>
<category term="proxychains" scheme="http://blog.ainhaato.moe/tags/proxychains/"/>
<category term="linux" scheme="http://blog.ainhaato.moe/tags/linux/"/>
<category term="shell" scheme="http://blog.ainhaato.moe/tags/shell/"/>
<category term="proxy" scheme="http://blog.ainhaato.moe/tags/proxy/"/>
<category term="socks5" scheme="http://blog.ainhaato.moe/tags/socks5/"/>
<category term="教程" scheme="http://blog.ainhaato.moe/categories/tutorial/"/>
</entry>
<entry>
<title><![CDATA[换了个域名,我也要萌萌哒~]]></title>
<link href="http://blog.ainhaato.moe/moemoe/"/>
<id>http://blog.ainhaato.moe/moemoe/</id>
<published>2014-09-09T15:05:51.000Z</published>
<updated>2015-01-13T14:02:33.000Z</updated>
<content type="html"><![CDATA[<p>刚换了个新的域名:<strong>ainhaato.moe</strong><br>顿时感觉整个人都萌萌哒了<br>至于为什么是这个域名…其实只是我一时想不到,就采用了同学的建议(他喜欢的角色的名字),其实我对这个角色也不讨厌,所以就注册了这个域名<br><a id="more"></a></p>
<h3 id="角色介绍">角色介绍</h3>
<p>日文名:アインハルト・ストラトス<br>罗马音:Ainhaato Suturattosu<br>英文名:Einhart Stratos<br>中文名:艾茵哈特·斯崔特斯<br>角色出处:《魔法少女奈叶ViVid》</p>
]]></content>
<summary type="html">
<![CDATA[<p>刚换了个新的域名:<strong>ainhaato.moe</strong><br>顿时感觉整个人都萌萌哒了<br>至于为什么是这个域名…其实只是我一时想不到,就采用了同学的建议(他喜欢的角色的名字),其实我对这个角色也不讨厌,所以就注册了这个域名<br>]]>
</summary>
<category term="域名" scheme="http://blog.ainhaato.moe/tags/%E5%9F%9F%E5%90%8D/"/>
<category term="moe" scheme="http://blog.ainhaato.moe/tags/moe/"/>
<category term="日常" scheme="http://blog.ainhaato.moe/categories/life/"/>
</entry>
<entry>
<title><![CDATA[青春之旅OP - 世界は恋に落ちている【附nice翻唱】]]></title>
<link href="http://blog.ainhaato.moe/Aoharaido-OP/"/>
<id>http://blog.ainhaato.moe/Aoharaido-OP/</id>
<published>2014-08-29T15:30:39.000Z</published>
<updated>2015-01-15T11:45:54.000Z</updated>
<content type="html"><![CDATA[<p><a href="http://ww2.sinaimg.cn/large/6abdaa9djw1ejtvtb48l3j20rs0s1doj.jpg" title="期间限定cover" target="_blank" rel="external"><img src="http://ww2.sinaimg.cn/large/6abdaa9djw1ejtvtb48l3j20rs0s1doj.jpg" alt="期间限定cover"></a></p>
<p>七月新番里比较喜欢的几首之一,接下来坐等AZ的op,ed发售(2014/09/10)</p>
<h3 id="试听">试听</h3>
<div id="audiojs_wrapper0" class="audiojsqq "><audio src="http://p1.music.126.net/g-LbU8qNWbA8lUQBkBJe6A==/8924735882690454.mp3" preload="auto" id=""></audio><img class="playerimg" src="http://p4.music.126.net/n2Dr-mvp2pF5cKyY0ZddJA==/8890651022206839.jpg?param=130y130"><div class="play-pauseqq"><p class="playqq"><i></i></p><p class="pauseqq"><i></i></p><p class="loadingrqq"><i class="fa-li fa fa-spinner fa-spin"></i></p><p class="errorqq"><i class="fa fa-times"></i></p></div><div class="playername"><img class="player-icon" src="/netease/images/icon.png">世界は恋に落ちている</div><div class="scrubberqq"><div style="width: 0px;" class="progressqq"></div><div style="width: 260px;" class="loadedqq"></div></div><div class="timeqq"><em class="playedqq">00:00</em>/<strong class="durationqq">05:11</strong></div><div class="error-messageqq"></div></div>
<h3 id="专辑曲目列表">专辑曲目列表</h3>
<ol>
<li>世界は恋に落ちている</li>
<li>color</li>
<li>世界は恋に落ちている -instrumental-</li>
<li>color -instrumental-</li>
</ol>
<a id="more"></a>
<h3 id="そらる翻唱">そらる翻唱</h3>
<video width="848" height="477" poster="http://blog-attachment.qiniudn.com/video/Aoharuride.jpg" controls="controls" preload="none"><source src="http://blog-attachment.qiniudn.com/video/Aoharuride.mp4" type="video/mp4"></video>
<h3 id="下载(320K+FLAC)">下载(320K+FLAC)</h3>
<div class="dllink"><a href="http://pan.baidu.com/s/1gdoZcgb" target="_blank"><span>Download</span></a></div>
<p>由于梦幻旋律论坛里的都是禁转。。。只好去jpopsuki下载了</p>
]]></content>
<summary type="html">
<![CDATA[<p><a href="http://ww2.sinaimg.cn/large/6abdaa9djw1ejtvtb48l3j20rs0s1doj.jpg" title="期间限定cover" target="_blank" rel="external"><img src="http://ww2.sinaimg.cn/large/6abdaa9djw1ejtvtb48l3j20rs0s1doj.jpg" alt="期间限定cover"></a></p>
<p>七月新番里比较喜欢的几首之一,接下来坐等AZ的op,ed发售(2014/09/10)</p>
<h3 id="试听">试听</h3>
<div id="audiojs_wrapper0" class="audiojsqq "><audio src="http://p1.music.126.net/g-LbU8qNWbA8lUQBkBJe6A==/8924735882690454.mp3" preload="auto" id=""></audio><img class="playerimg" src="http://p4.music.126.net/n2Dr-mvp2pF5cKyY0ZddJA==/8890651022206839.jpg?param=130y130"><div class="play-pauseqq"><p class="playqq"><i></i></p><p class="pauseqq"><i></i></p><p class="loadingrqq"><i class="fa-li fa fa-spinner fa-spin"></i></p><p class="errorqq"><i class="fa fa-times"></i></p></div><div class="playername"><img class="player-icon" src="/netease/images/icon.png">世界は恋に落ちている</div><div class="scrubberqq"><div style="width: 0px;" class="progressqq"></div><div style="width: 260px;" class="loadedqq"></div></div><div class="timeqq"><em class="playedqq">00:00</em>/<strong class="durationqq">05:11</strong></div><div class="error-messageqq"></div></div>
<h3 id="专辑曲目列表">专辑曲目列表</h3>
<ol>
<li>世界は恋に落ちている</li>
<li>color</li>
<li>世界は恋に落ちている -instrumental-</li>
<li>color -instrumental-</li>
</ol>
]]>
</summary>
<category term="青春之旅" scheme="http://blog.ainhaato.moe/tags/%E9%9D%92%E6%98%A5%E4%B9%8B%E6%97%85/"/>
<category term="opening" scheme="http://blog.ainhaato.moe/tags/opening/"/>
<category term="世界は恋に落ちている" scheme="http://blog.ainhaato.moe/tags/%E4%B8%96%E7%95%8C%E3%81%AF%E6%81%8B%E3%81%AB%E8%90%BD%E3%81%A1%E3%81%A6%E3%81%84%E3%82%8B/"/>
<category term="动漫相关" scheme="http://blog.ainhaato.moe/categories/acg/"/>
</entry>
<entry>
<title><![CDATA[python实用脚本集 - iScript]]></title>
<link href="http://blog.ainhaato.moe/iScript/"/>
<id>http://blog.ainhaato.moe/iScript/</id>
<published>2014-08-22T07:18:41.000Z</published>
<updated>2015-01-13T14:03:56.000Z</updated>
<content type="html"><![CDATA[<p><strong><a href="https://github.com/PeterDing/iScript" target="_blank" rel="external">iScript</a></strong>是Github上<a href="https://github.com/PeterDing" target="_blank" rel="external">PeterDing</a>大神写的一个脚本集,由多数的<a href="https://www.python.org/" target="_blank" rel="external">python</a>脚本和少数GM脚本组成。</p>
<p>含有以下几个脚本:</p>
<ul>
<li><a href="https://github.com/PeterDing/iScript/raw/master/xiami.py" target="_blank" rel="external">xiami.py</a> - 下载或播放高品质虾米音乐(xiami.com)</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/pan.baidu.com.py" target="_blank" rel="external">pan.baidu.com.py</a> - 百度网盘的下载、离线下载、上传、播放、转存、文件操作</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/bt.py" target="_blank" rel="external">bt.py</a> - magnet torrent 互转、及 过滤敏.感.词</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/115.py" target="_blank" rel="external">115.py</a> - 115网盘的下载和播放</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/yunpan.360.cn.py" target="_blank" rel="external">yunpan.360.cn.py</a> - 360网盘的下载</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/music.baidu.com.py" target="_blank" rel="external">music.baidu.com.py</a> - 下载或播放高品质百度音乐(music.baidu.com)</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/music.163.com.py" target="_blank" rel="external">music.163.com.py</a> - 下载或播放高品质网易音乐(music.163.com)</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/flvxz_cl.py" target="_blank" rel="external">flvxz_cl.py</a> - flvxz.com 视频解析 client - 支持下载、播放</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/tumblr.py" target="_blank" rel="external">tumblr.py</a> - 下载某个tumblr.com的所有图片</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/unzip.py" target="_blank" rel="external">unzip.py</a> - 解决linux下unzip乱码的问题</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/ed2k_search.py" target="_blank" rel="external">ed2k_search.py</a> - 基于 donkey4u.com 的emule搜索</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/91porn.py" target="_blank" rel="external">91porn.py</a> - 下载或播放91porn <strong>高能预警:未满18周岁请自行退避</strong></li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/ThunderLixianExporter.user.js" target="_blank" rel="external">ThunderLixianExporter.user.js</a> - A fork of <a href="https://github.com/binux/ThunderLixianExporter" target="_blank" rel="external">https://github.com/binux/ThunderLixianExporter</a> - 增加了mpv和mplayer的导出。</li>
</ul>
<p>个人最常用的是其中的<a href="https://github.com/PeterDing/iScript/raw/master/pan.baidu.com.py" target="_blank" rel="external">pan.baidu.com.py</a>,因此本文就简单介绍下它,其它脚本的用法请去<a href="https://github.com/PeterDing/iScript" target="_blank" rel="external">项目主页</a>查看<br><a id="more"></a><br>在使用该脚本之前你需要安装python和依赖,不过一般Linux都会自带的(虽然也许自带的版本会比较低,就像centos<br>这里我就默认你已经有了easy_install和pip吧( <del>使劲偷懒ing…</del></p>
<h4 id="安装依赖">安装依赖</h4>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">pip install requests requests_toolbelt</div></pre></td></tr></table></figure>
<h2 id="使用方法">使用方法</h2>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div></pre></td><td class="code"><pre><div class="line">chmod a+x pan.baidu.com.py</div><div class="line">./pan.baidu.com.py <span class="comment">#会显示帮助</span></div><div class="line"><span class="comment">#或者掠过上面的步骤,使用python pan.baidu.com.py</span></div></pre></td></tr></table></figure>
<p>下文将pan.baidu.com.py简称为bd.py(文件名太长….</p>
<p><strong>账号管理</strong><br>登录帐号有4种用法….</p>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div></pre></td><td class="code"><pre><div class="line">./bd.py g</div><div class="line">./bd.py login</div><div class="line">./bd.py login username</div><div class="line">./bd.py login username password</div></pre></td></tr></table></figure>
<p>多帐号登录一直用<em>bp login</em>即可</p>
<p>切换帐号:</p>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">./bd.py uc</div></pre></td></tr></table></figure>
<p>删除帐号:</p>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">./bd.py ud</div></pre></td></tr></table></figure>
<p><strong>下载方式</strong><br>bd.py默认调用wget进行下载,但是也可以通过 -a 10来调用aria2,其中10为分段数</p>
<p><strong>下载自己网盘中的单个或多个文件</strong></p>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div></pre></td><td class="code"><pre><div class="line">./bd.py d http://pan.baidu.com/disk/home<span class="comment">#dir/path=/path/to/filename1 http://pan.baidu.com/disk/home#dir/path=/path/to/filename2 ..</span></div><div class="line"> or</div><div class="line">./bd.py d /path/to/filename1 /path/to/filename2 ..</div></pre></td></tr></table></figure>
<p><strong>递归下载自己网盘中的单个或多个文件夹</strong></p>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div></pre></td><td class="code"><pre><div class="line">./bd.py d -R http://pan.baidu.com/disk/home<span class="comment">#dir/path=/path/to/directory1 http://pan.baidu.com/disk/home#dir/path=/path/to/directory2 ..</span></div><div class="line"> or</div><div class="line">./bd.py d -R /path/to/directory1 /path/to/directory2 ..</div></pre></td></tr></table></figure>
<p><strong>递归下载后缀为 .mp3 的文件</strong></p>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">./bd.py d -R /path/to/directory1 /path/to/directory2 .. -T .mp3</div></pre></td></tr></table></figure>
<p><strong>非递归下载</strong></p>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line">./bd.py d /path/to/directory1 /path/to/directory2 ..</div></pre></td></tr></table></figure>
<p><strong>下载单个公开分享的文件</strong></p>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div></pre></td><td class="code"><pre><div class="line">./bd.py d <span class="string">'url'</span></div><div class="line">例如: ./bd.py d <span class="string">'http://pan.baidu.com/s/1pJ0NtIN'</span></div></pre></td></tr></table></figure>
<p><strong>下载单个私密分享的文件</strong></p>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div></pre></td><td class="code"><pre><div class="line">./bd.py d <span class="string">'url'</span> <span class="operator">-s</span> password</div><div class="line">例如: ./bd.py d <span class="string">'http://pan.baidu.com/s/1c0Eh1bM'</span> <span class="operator">-s</span> h81a</div></pre></td></tr></table></figure>
<p><strong>转存文件</strong></p>
<figure class="highlight sh"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div></pre></td><td class="code"><pre><div class="line">./bd.py s <span class="string">'url'</span> remote_path</div><div class="line">./bd.py s <span class="string">'url'</span> remote_path <span class="operator">-s</span> password</div></pre></td></tr></table></figure>
<h2 id="实际使用截图">实际使用截图</h2>
<p><a href="http://www.speedtest.net/result/3705651370.png" title="SpeedTest测速截图" target="_blank" rel="external"><img src="http://www.speedtest.net/result/3705651370.png" alt="SpeedTest测速截图"></a><br><a href="http://ww1.sinaimg.cn/large/6abdaa9djw1ejlfbfwyvnj20fo02qt9h.jpg" title="单个私密分享文件下载" target="_blank" rel="external"><img src="http://ww1.sinaimg.cn/large/6abdaa9djw1ejlfbfwyvnj20fo02qt9h.jpg" alt="单个私密分享文件下载"></a><br><a href="http://ww1.sinaimg.cn/large/6abdaa9djw1ejlff1fj5sj20fo01wq3h.jpg" title="单个私密文件转存" target="_blank" rel="external"><img src="http://ww1.sinaimg.cn/large/6abdaa9djw1ejlff1fj5sj20fo01wq3h.jpg" alt="单个私密文件转存"></a><br><a href="http://ww1.sinaimg.cn/large/6abdaa9djw1ejlfh6i2smj20fm02xmxs.jpg" title="下载自己网盘里文件" target="_blank" rel="external"><img src="http://ww1.sinaimg.cn/large/6abdaa9djw1ejlfh6i2smj20fm02xmxs.jpg" alt="下载自己网盘里文件"></a></p>
]]></content>
<summary type="html">
<![CDATA[<p><strong><a href="https://github.com/PeterDing/iScript" target="_blank" rel="external">iScript</a></strong>是Github上<a href="https://github.com/PeterDing" target="_blank" rel="external">PeterDing</a>大神写的一个脚本集,由多数的<a href="https://www.python.org/" target="_blank" rel="external">python</a>脚本和少数GM脚本组成。</p>
<p>含有以下几个脚本:</p>
<ul>
<li><a href="https://github.com/PeterDing/iScript/raw/master/xiami.py" target="_blank" rel="external">xiami.py</a> - 下载或播放高品质虾米音乐(xiami.com)</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/pan.baidu.com.py" target="_blank" rel="external">pan.baidu.com.py</a> - 百度网盘的下载、离线下载、上传、播放、转存、文件操作</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/bt.py" target="_blank" rel="external">bt.py</a> - magnet torrent 互转、及 过滤敏.感.词</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/115.py" target="_blank" rel="external">115.py</a> - 115网盘的下载和播放</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/yunpan.360.cn.py" target="_blank" rel="external">yunpan.360.cn.py</a> - 360网盘的下载</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/music.baidu.com.py" target="_blank" rel="external">music.baidu.com.py</a> - 下载或播放高品质百度音乐(music.baidu.com)</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/music.163.com.py" target="_blank" rel="external">music.163.com.py</a> - 下载或播放高品质网易音乐(music.163.com)</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/flvxz_cl.py" target="_blank" rel="external">flvxz_cl.py</a> - flvxz.com 视频解析 client - 支持下载、播放</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/tumblr.py" target="_blank" rel="external">tumblr.py</a> - 下载某个tumblr.com的所有图片</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/unzip.py" target="_blank" rel="external">unzip.py</a> - 解决linux下unzip乱码的问题</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/ed2k_search.py" target="_blank" rel="external">ed2k_search.py</a> - 基于 donkey4u.com 的emule搜索</li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/91porn.py" target="_blank" rel="external">91porn.py</a> - 下载或播放91porn <strong>高能预警:未满18周岁请自行退避</strong></li>
<li><a href="https://github.com/PeterDing/iScript/raw/master/ThunderLixianExporter.user.js" target="_blank" rel="external">ThunderLixianExporter.user.js</a> - A fork of <a href="https://github.com/binux/ThunderLixianExporter" target="_blank" rel="external">https://github.com/binux/ThunderLixianExporter</a> - 增加了mpv和mplayer的导出。</li>
</ul>
<p>个人最常用的是其中的<a href="https://github.com/PeterDing/iScript/raw/master/pan.baidu.com.py" target="_blank" rel="external">pan.baidu.com.py</a>,因此本文就简单介绍下它,其它脚本的用法请去<a href="https://github.com/PeterDing/iScript" target="_blank" rel="external">项目主页</a>查看<br>]]>
</summary>
<category term="script" scheme="http://blog.ainhaato.moe/tags/script/"/>
<category term="python" scheme="http://blog.ainhaato.moe/tags/python/"/>
<category term="百度" scheme="http://blog.ainhaato.moe/tags/%E7%99%BE%E5%BA%A6/"/>
<category term="download" scheme="http://blog.ainhaato.moe/tags/download/"/>
<category term="upload" scheme="http://blog.ainhaato.moe/tags/upload/"/>
<category term="下载" scheme="http://blog.ainhaato.moe/tags/%E4%B8%8B%E8%BD%BD/"/>
<category term="资源分享" scheme="http://blog.ainhaato.moe/categories/share/"/>
<category term="工具" scheme="http://blog.ainhaato.moe/categories/share/tools/"/>
</entry>
<entry>
<title><![CDATA[补番进行时 - Noir]]></title>
<link href="http://blog.ainhaato.moe/noir/"/>
<id>http://blog.ainhaato.moe/noir/</id>
<published>2014-08-14T11:09:44.000Z</published>
<updated>2015-01-15T07:56:51.000Z</updated>
<content type="html"><![CDATA[<p>Noir —— 《黑街二人组》,本番讲述的是失去了过去的主人公夕雾香气与欧洲的黑社会舞台“杀手”米雷优一起合作杀手工作,组成了NOIR。为了找寻各自的记忆与真相,她们偷偷靠近迷一样的组织“索尔达”的影子。</p>
<p>动听的音乐是本番一大特色,两张OST值得收藏,在《NOIR》中,梶浦由记和当年See-Saw的老搭档石川千亚纪携手合作了两首歌曲。;另一个特色就是节奏太慢…不过正适合现在的我</p>
<a id="more"></a>
<p>这几天刚动过手术,在床上不能乱动,每天无所事事(其实是日常…),正好在B站看到这部没看过的老番,就去下了BD补番;听到op的瞬间就已经决定我会把它补完0.0;看了几话,后面<br>的BGM都不错,剧情神马的。。。其实我还没看多少,不做评价</p>
<p>可能你会问既然没看多少为何就开始写博文了,(作大死的)答案就在本文最后=w=</p>
<p>顺便给出下载链接(BD1080p_MP4_Hi10_2xAAC):<br><a href="http://115.com/lb/5lbc39my35vx" target="_blank" rel="external">http://115.com/lb/5lbc39my35vx</a><br><a href="https://mega.co.nz/#F!1VEBla7a!ZjxU3CbdgGhMaNdC_0OAeg" target="_blank" rel="external">https://mega.co.nz/#F!1VEBla7a!ZjxU3CbdgGhMaNdC_0OAeg</a></p>
<video width="848px" height="477px" poster="http://ww1.sinaimg.cn/large/6abdaa9djw1ejccz5p6xqj21hc0u0418.jpg" controls="controls" preload="none"><br> <source src="http://blog-attachment.qiniudn.com/video/Noir-NCOP.mp4" type="video/mp4"><br> <track kind="subtitles" src="http://blog-attachment.qiniudn.com/video/NCOPzh.srt" srclang="cn"><br></video><br><video width="848px" height="477px" poster="http://ww3.sinaimg.cn/large/6abdaa9djw1ejchf4fen8j20zk0k00u3.jpg" controls="controls" preload="none"><br> <source src="http://blog-attachment.qiniudn.com/video/Noir-NCED.mp4" type="video/mp4"><br> <track kind="subtitles" src="http://blog-attachment.qiniudn.com/video/Noir-NCED.srt" srclang="cn"><br></video>
<h3 id="OP">OP</h3>
<div id="audiojs_wrapper0" class="audiojsqq "><audio src="http://m1.music.126.net/5UIuJ8wLsIcYogDTr7hxwg==/2798257092699320.mp3" preload="auto" id=""></audio><img class="playerimg" src="http://p4.music.126.net/2Zrb-tNHmRDF4OrpcLN19A==/2417826069504403.jpg"><div class="play-pauseqq"><p class="playqq"><i></i></p><p class="pauseqq"><i></i></p><p class="loadingrqq"><i class="fa-li fa fa-spinner fa-spin"></i></p><p class="errorqq"><i class="fa fa-times"></i></p></div><div class="playername"><img class="player-icon" src="http://azfashao.com/wp-content/themes/QQ/images/favicon.ico">コッペリアの柩 (Noir Ver.)</div><div class="scrubberqq"><div style="width: 0px;" class="progressqq"></div><div style="width: 260px;" class="loadedqq"></div></div><div class="timeqq"><em class="playedqq">00:00</em>/<strong class="durationqq">04:01</strong></div><div class="error-messageqq"></div></div>
<h3 id="ED">ED</h3>
<div id="audiojs_wrapper0" class="audiojsqq "><audio src="http://m1.music.126.net/rIv5iahyzNznjMpagbVotQ==/6016527627239806.mp3" preload="auto" id=""></audio><img class="playerimg" src="http://p3.music.126.net/6jUJuAAsortxwnnS9jdiGQ==/5957153999360928.jpg"><div class="play-pauseqq"><p class="playqq"><i></i></p><p class="pauseqq"><i></i></p><p class="loadingrqq"><i class="fa-li fa fa-spinner fa-spin"></i></p><p class="errorqq"><i class="fa fa-times"></i></p></div><div class="playername"><img class="player-icon" src="http://azfashao.com/wp-content/themes/QQ/images/favicon.ico">きれいな感情</div><div class="scrubberqq"><div style="width: 0px;" class="progressqq"></div><div style="width: 260px;" class="loadedqq"></div></div><div class="timeqq"><em class="playedqq">00:00</em>/<strong class="durationqq">04:16</strong></div><div class="error-messageqq"></div></div>
<h3 id="OST1">OST1</h3>
<embed src="http://www.xiami.com/widget/1313416_1768943004,1768943005,1768943006,1768943007,1768943008,1768943009,1768943010,1768943011,1768943012,1768943013,1768943014,1768943015,1768943016,1768943017,1768943018,1768943019,1768943020,_235_346_FF8719_494949_0/multiPlayer.swf" type="application/x-shockwave-flash" width="235" height="346" wmode="opaque">
<h3 id="OST2">OST2</h3>
<embed src="http://www.xiami.com/widget/1313416_1768943021,1768943022,1768943023,1768943024,1768943025,1768943026,1768943027,1768943028,1768943029,1768943030,1768943031,1768943032,1768943033,1768943034,1768943035,1768943036,1768943037,1768943038,1768943039,_235_346_FF8719_494949_0/multiPlayer.swf" type="application/x-shockwave-flash" width="235" height="346" wmode="opaque">
<blockquote>
<p>PS:其实…这篇文章主要就是测试下播放器而已……</p>
</blockquote>
]]></content>
<summary type="html">
<![CDATA[<p>Noir —— 《黑街二人组》,本番讲述的是失去了过去的主人公夕雾香气与欧洲的黑社会舞台“杀手”米雷优一起合作杀手工作,组成了NOIR。为了找寻各自的记忆与真相,她们偷偷靠近迷一样的组织“索尔达”的影子。</p>
<p>动听的音乐是本番一大特色,两张OST值得收藏,在《NOIR》中,梶浦由记和当年See-Saw的老搭档石川千亚纪携手合作了两首歌曲。;另一个特色就是节奏太慢…不过正适合现在的我</p>
]]>
</summary>
<category term="Noir" scheme="http://blog.ainhaato.moe/tags/Noir/"/>
<category term="黑街二人组" scheme="http://blog.ainhaato.moe/tags/%E9%BB%91%E8%A1%97%E4%BA%8C%E4%BA%BA%E7%BB%84/"/>
<category term="动画" scheme="http://blog.ainhaato.moe/tags/%E5%8A%A8%E7%94%BB/"/>
<category term="感想" scheme="http://blog.ainhaato.moe/tags/%E6%84%9F%E6%83%B3/"/>
<category term="动漫相关" scheme="http://blog.ainhaato.moe/categories/acg/"/>
</entry>
<entry>
<title><![CDATA[centos6.x用xbt_tracker建立自己的tracker服务器]]></title>
<link href="http://blog.ainhaato.moe/centos_xbt_tracker/"/>
<id>http://blog.ainhaato.moe/centos_xbt_tracker/</id>
<published>2014-07-31T05:34:57.000Z</published>
<updated>2015-01-13T14:06:50.000Z</updated>
<content type="html"><![CDATA[<p>昨天在由于极影抽风,只好把资源发在动漫花园,但是极影的tracker以及备用tracker都无法使用,最后又到nyaa发了个种,才让种子活过来;为了避免”历史总是惊人的相似”的情况….就自己建了个tracker</p>
<blockquote>
<p><a href="http://tracker.kuroy.me:5944/announce" target="_blank" rel="external">http://tracker.kuroy.me:5944/announce</a></p>
</blockquote>
<p>PS:我是不是应该用4399端口(笑)<br>以下是centos6.x下的搭建过程</p>
<a id="more"></a>
<h3 id="一、安装依赖环境">一、安装依赖环境</h3>
<pre><code><span class="comment">yum</span> <span class="comment">install</span> <span class="comment">boost</span><span class="literal">-</span><span class="comment">devel</span> <span class="comment">gcc</span><span class="literal">-</span><span class="comment">c</span><span class="literal">+</span><span class="literal">+</span> <span class="comment">mysql</span><span class="literal">-</span><span class="comment">devel</span> <span class="comment">subversion</span>
</code></pre><h3 id="二、用svn获得xbt_tracker">二、用svn获得xbt_tracker</h3>
<pre><code><span class="keyword">cd</span> /home
svn <span class="keyword">co</span> http<span class="variable">s:</span>//svn.code.<span class="keyword">sf</span>.net/<span class="keyword">p</span>/xbtt/code/trunk/xbt/misc xbt/misc
svn <span class="keyword">co</span> http<span class="variable">s:</span>//svn.code.<span class="keyword">sf</span>.net/<span class="keyword">p</span>/xbtt/code/trunk/xbt/Tracker xbt/Tracker
<span class="keyword">cd</span> xbt/Tracker
./<span class="keyword">make</span>.<span class="keyword">sh</span>
</code></pre><p>如果出现command not found使用<strong>yum install svn -y</strong>安装svn</p>
<pre><code><span class="keyword">cp</span> xbt_tracker /home/xbt_tracker/
<span class="keyword">cp</span> xbt_tracker.<span class="keyword">conf</span>.default /home/xbt_tracker/
<span class="keyword">cp</span> xbt_tracker.sql /home/xbt_tracker/
<span class="keyword">cd</span> /home/xbt_tracker/
mv xbt_tracker.<span class="keyword">conf</span>.default xbt_tracker.<span class="keyword">conf</span>
</code></pre><h3 id="三、建立数据库">三、建立数据库</h3>
<pre><code>mysql -uroot -p密码
<span class="operator"><span class="keyword">CREATE</span> <span class="keyword">USER</span> <span class="string">'xbt_tracker'</span>@<span class="string">'localhost'</span> <span class="keyword">IDENTIFIED</span> <span class="keyword">BY</span> <span class="string">'你的密码'</span>;</span>
<span class="operator"><span class="keyword">GRANT</span> <span class="keyword">USAGE</span> <span class="keyword">ON</span> * . * <span class="keyword">TO</span> <span class="string">'xbt_tracker'</span>@<span class="string">'localhost'</span> <span class="keyword">IDENTIFIED</span> <span class="keyword">BY</span> <span class="string">'你的密码'</span>;</span>
<span class="operator"><span class="keyword">CREATE</span> <span class="keyword">DATABASE</span> <span class="keyword">IF</span> <span class="keyword">NOT</span> <span class="keyword">EXISTS</span> <span class="string">`xbt_tracker`</span> ;</span>
<span class="operator"><span class="keyword">GRANT</span> <span class="keyword">ALL</span> <span class="keyword">PRIVILEGES</span> <span class="keyword">ON</span> <span class="string">`xbt_tracker`</span> . * <span class="keyword">TO</span> <span class="string">'xbt_tracker'</span>@<span class="string">'localhost'</span>;</span>
</code></pre><h3 id="四、导入数据库&编辑conf文件">四、导入数据库&编辑conf文件</h3>
<pre><code><span class="keyword">cd</span> ../xbt/Tracker
mysql -<span class="keyword">u</span>数据用户名 -<span class="keyword">p</span>数据库密码 xbt_tracker < xbt_tracker.sql
<span class="keyword">cd</span> ../xbt_tracker
<span class="keyword">vim</span> xbt_tracker.<span class="keyword">conf</span>
</code></pre><p>修改数据库连接设置</p>
<pre><code><span class="variable">mysql_host =</span> localhost <span class="comment">#数据库地址</span>
<span class="variable">mysql_user =</span> xbt_tracker <span class="comment">#数据库用户名</span>
<span class="variable">mysql_password =</span> qazzaq123 <span class="comment">#数据库密码</span>
<span class="variable">mysql_database =</span> xbt_tracker 数据库名
</code></pre><h3 id="五、向数据库写入xbt_tracker的设置">五、向数据库写入xbt_tracker的设置</h3>
<pre><code>mysql -u root -p 你的密码
<span class="operator"><span class="keyword">use</span> xbt_tracker
<span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'announce_interval'</span>,<span class="string">'1800'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'anonymous_connect'</span>,<span class="string">'1'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'anonymous_announce'</span>,<span class="string">'1'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'anonymous_scrape'</span>,<span class="string">'1'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'auto_register'</span>,<span class="string">'1'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'clean_up_interval'</span>,<span class="string">'60'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'daemon'</span>,<span class="string">'1'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'debug'</span>,<span class="string">'0'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'full_scrape'</span>,<span class="string">'0'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'gzip_debug'</span>,<span class="string">'1'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'gzip_scrape'</span>,<span class="string">'1'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'listen_ipa'</span>,<span class="string">'*'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'listen_port'</span>,<span class="string">'2710'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'log_access '</span>,<span class="string">'0'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'log_announce '</span>,<span class="string">'0'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'log_scrape '</span>,<span class="string">'0'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'offline_message'</span>,<span class="string">''</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'pid_file '</span>,<span class="string">'xbt_tracker.pid'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'read_config_interval'</span>,<span class="string">'60'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'read_db_interval'</span>,<span class="string">'60'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'redirect_url'</span>,<span class="string">''</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'table_announce_log'</span>,<span class="string">'xbt_announce_log'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'table_files'</span>,<span class="string">'xbt_files'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'table_files_users'</span>,<span class="string">'xbt_files_users'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'table_scrape_log'</span>,<span class="string">'xbt_scrape_log'</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'table_users'</span>,<span class="string">''</span>);</span>
<span class="operator"><span class="keyword">insert</span> <span class="keyword">into</span> xbt_config <span class="keyword">values</span> (<span class="string">'write_db_interval'</span>,<span class="string">'15'</span>);</span>
</code></pre><h3 id="启动xbt_tracker">启动xbt_tracker</h3>
<pre><code>./xbt_tracker
</code></pre><p>也可以用init.d启动,我就先不折腾了…</p>
]]></content>
<summary type="html">
<![CDATA[<p>昨天在由于极影抽风,只好把资源发在动漫花园,但是极影的tracker以及备用tracker都无法使用,最后又到nyaa发了个种,才让种子活过来;为了避免”历史总是惊人的相似”的情况….就自己建了个tracker</p>
<blockquote>
<p><a href="http://tracker.kuroy.me:5944/announce" target="_blank" rel="external">http://tracker.kuroy.me:5944/announce</a></p>
</blockquote>
<p>PS:我是不是应该用4399端口(笑)<br>以下是centos6.x下的搭建过程</p>
]]>
</summary>
<category term="centos" scheme="http://blog.ainhaato.moe/tags/centos/"/>
<category term="xbt_tracker" scheme="http://blog.ainhaato.moe/tags/xbt-tracker/"/>
<category term="tracker" scheme="http://blog.ainhaato.moe/tags/tracker/"/>
<category term="p2p" scheme="http://blog.ainhaato.moe/tags/p2p/"/>
<category term="教程" scheme="http://blog.ainhaato.moe/categories/tutorial/"/>
</entry>
<entry>
<title><![CDATA[Centos6.x升级Python至2.7]]></title>
<link href="http://blog.ainhaato.moe/centos_update_python27/"/>
<id>http://blog.ainhaato.moe/centos_update_python27/</id>
<published>2014-07-22T03:10:40.000Z</published>
<updated>2015-01-13T14:07:01.000Z</updated>
<content type="html"><![CDATA[<p>默认安装的Python2.6已经无法满足大多数脚本的需求….因此需要升级到2.7(3暂时不打算用),但是升级后yum, pip和easy_install无法正常使用,虽然后来搞定了,但还是记录下来(其实是好久没更新博客….来一篇凑个数233)</p>
<a id="more"></a>
<h3 id="一、下载Python2-7&编译安装">一、下载Python2.7&编译安装</h3>
<pre><code>wget http<span class="variable">s:</span>//www.<span class="keyword">python</span>.org/ftp/<span class="keyword">python</span>/<span class="number">2.7</span>.<span class="number">8</span>/Python-<span class="number">2.7</span>.<span class="number">8</span>.tgz
tar zxvf Python-*.tgz
<span class="keyword">cd</span> Python-*
./configure --prefix=/usr/local/python2.<span class="number">7</span>
<span class="keyword">make</span> && <span class="keyword">make</span> install
/usr/local/python2.<span class="number">7</span>/bin/python2.<span class="number">7</span> -V
</code></pre><p>如果显示Python版本为2.7,说明安装成功</p>
<h3 id="二、更改系统默认的Python">二、更改系统默认的Python</h3>
<pre><code>ln -fs <span class="regexp">/usr/</span>local<span class="regexp">/python2.7/</span>bin<span class="regexp">/python2.7 /</span>usr<span class="regexp">/bin/</span>python
</code></pre><p>然后运行下面命令再次查看Python版本</p>
<pre><code><span class="keyword">python</span> -V
</code></pre><p>显示版本为2.7说明一切正常,但是此时运行yum就会出错,需要修改/usr/bin/yum</p>
<pre><code><span class="keyword">vim</span> /usr/bin/yum
</code></pre><p>将第一行改为</p>
<blockquote>
<h1 id="!/usr/bin/python2-6">!/usr/bin/python2.6</h1>
</blockquote>
<p>再次运行yum,问题解决</p>
<h3 id="三、升级pip,easy_install">三、升级pip,easy_install</h3>
<pre><code>wget http<span class="variable">s:</span>//pypi.<span class="keyword">python</span>.org/packages/<span class="keyword">source</span>/<span class="keyword">s</span>/setuptools/setuptools-<span class="number">5.4</span>.<span class="number">1</span>.tar.gz
tar zxvf setuptools-*.tar.gz
<span class="keyword">cd</span> setuptools-*
<span class="keyword">python</span> setup.<span class="keyword">py</span> build
<span class="keyword">python</span> setup.<span class="keyword">py</span> install
<span class="keyword">vim</span> /etc/<span class="keyword">profile</span>
</code></pre><p>添加以下内容到/etc/profile</p>
<blockquote>
<p>PY_HOME=/usr/local/python2.7<br>export PATH=$PY_HOME/bin:$PATH</p>
</blockquote>
<pre><code><span class="built_in">source</span> /etc/profile <span class="comment"># 当前终端生效,reboot后完全生效</span>
easy_install pip
</code></pre><p>安装完毕</p>
]]></content>
<summary type="html">
<![CDATA[<p>默认安装的Python2.6已经无法满足大多数脚本的需求….因此需要升级到2.7(3暂时不打算用),但是升级后yum, pip和easy_install无法正常使用,虽然后来搞定了,但还是记录下来(其实是好久没更新博客….来一篇凑个数233)</p>
]]>
</summary>
<category term="centos" scheme="http://blog.ainhaato.moe/tags/centos/"/>
<category term="python" scheme="http://blog.ainhaato.moe/tags/python/"/>
<category term="upgrade" scheme="http://blog.ainhaato.moe/tags/upgrade/"/>
<category term="教程" scheme="http://blog.ainhaato.moe/categories/tutorial/"/>
</entry>
<entry>
<title><![CDATA[dropbox-uploader 一个操作dropbox的bash脚本]]></title>
<link href="http://blog.ainhaato.moe/dropbox-uploader/"/>
<id>http://blog.ainhaato.moe/dropbox-uploader/</id>
<published>2014-04-16T15:33:00.000Z</published>
<updated>2015-01-13T14:06:09.000Z</updated>
<content type="html"><![CDATA[<ul>
<li>Dropbox首先是一个网络存储服务(类似百度网盘),一个网络备份工具,也是一个文件同步工具。Dropbox提供网络存储空间,新注册的用户拥有2G免费空间(或者2.5G免费空间)。你可以安装Dropbox客户端,然后通过客户端同步上传文件到Dropbox的云空间上。</li>
<li>Dropbox Uploader 是一个bash script,可以用它在dropbox上上传,下载,删除文件</li>
<li>Dropbox Uploader 项目主页:<a href="https://github.com/andreafabrizi/Dropbox-Uploader" target="_blank" rel="external">https://github.com/andreafabrizi/Dropbox-Uploader</a></li>
</ul>
<a id="more"></a>
<h3 id="下载Dropbox_Uploader">下载Dropbox Uploader</h3>
<pre><code>yum install -<span class="keyword">y</span> git
git clone http<span class="variable">s:</span>//github.<span class="keyword">com</span>/andreafabrizi/Dropbox-Uploader/
</code></pre><p>或者</p>
<pre><code>curl <span class="string">"https://raw.github.com/andreafabrizi/Dropbox-Uploader/master/dropbox_uploader.sh"</span> -<span class="keyword">o</span> dropbox_uploader.<span class="keyword">sh</span>
</code></pre><h3 id="给予执行权限">给予执行权限</h3>
<pre><code>chmod +<span class="keyword">x</span> dropbox_uploader.<span class="keyword">sh</span>
</code></pre><h3 id="使用方法">使用方法</h3>
<p><strong>1.上传文件</strong></p>
<blockquote>
<p>./dropbox_uploader.sh upload 本地路径 远程路径</p>
</blockquote>
<p><strong>2.下载文件</strong></p>
<blockquote>
<p>./dropbox_uploader.sh download 远程路径 本地路径</p>
</blockquote>
<p><strong>3.移动(或重命名)文件</strong></p>
<blockquote>
<p>./dropbox_uploader.sh move 远程路径 远程路径</p>
</blockquote>
<p><strong>4.复制文件</strong></p>
<blockquote>
<p>./dropbox_uploader.sh copy 远程路径 远程路径</p>
</blockquote>
<p><strong>5.新建目录</strong></p>
<blockquote>
<p>./dropbox_uploader.sh mkdir 远程路径</p>
</blockquote>
<p><strong>具体用法参见<a href="https://github.com/andreafabrizi/Dropbox-Uploader" target="_blank" rel="external">项目主页</a></strong></p>
]]></content>
<summary type="html">
<![CDATA[<ul>
<li>Dropbox首先是一个网络存储服务(类似百度网盘),一个网络备份工具,也是一个文件同步工具。Dropbox提供网络存储空间,新注册的用户拥有2G免费空间(或者2.5G免费空间)。你可以安装Dropbox客户端,然后通过客户端同步上传文件到Dropbox的云空间上。</li>
<li>Dropbox Uploader 是一个bash script,可以用它在dropbox上上传,下载,删除文件</li>
<li>Dropbox Uploader 项目主页:<a href="https://github.com/andreafabrizi/Dropbox-Uploader" target="_blank" rel="external">https://github.com/andreafabrizi/Dropbox-Uploader</a></li>
</ul>
]]>
</summary>
<category term="dropbox" scheme="http://blog.ainhaato.moe/tags/dropbox/"/>
<category term="网盘" scheme="http://blog.ainhaato.moe/tags/%E7%BD%91%E7%9B%98/"/>
<category term="upload" scheme="http://blog.ainhaato.moe/tags/upload/"/>
<category term="bash" scheme="http://blog.ainhaato.moe/tags/bash/"/>
<category term="资源分享" scheme="http://blog.ainhaato.moe/categories/share/"/>
<category term="工具" scheme="http://blog.ainhaato.moe/categories/share/tools/"/>
</entry>
<entry>
<title><![CDATA[megacmd - 一个mega.co.nz的命令行工具]]></title>
<link href="http://blog.ainhaato.moe/megacmd/"/>
<id>http://blog.ainhaato.moe/megacmd/</id>
<published>2014-04-16T13:21:07.000Z</published>
<updated>2015-01-17T15:05:37.000Z</updated>
<content type="html"><![CDATA[<ul>
<li>mega.co.nz是一个提供50G免费存储空间的国外网盘,前身为megaupload</li>
<li>megacmd是一个可以用命令行操作mega网盘的工具,可以进行上传,下载,建立文件夹,删除等操作,基本网页上能做的它都能做到</li>
<li>megacmd项目主页:<a href="https://github.com/t3rm1n4l/megacmd" target="_blank" rel="external">https://github.com/t3rm1n4l/megacmd</a></li>
<li>本文章只介绍megacmd在Linux下的安装及使用。。。。Windows和mac os请自行参考项目主页</li>
</ul>
<a id="more"></a>
<p><a href="http://ww4.sinaimg.cn/large/e967e38cjw1efofw78nwkj20g90bstbz.jpg" title="演示图片" target="_blank" rel="external"><img src="http://ww4.sinaimg.cn/large/e967e38cjw1efofw78nwkj20g90bstbz.jpg" alt=""></a></p>
<h3 id="下载并安装">下载并安装</h3>
<pre><code>yum install -<span class="keyword">y</span> <span class="keyword">go</span> git
git clone http<span class="variable">s:</span>//github.<span class="keyword">com</span>/t3rm1n4l/megacmd.git
<span class="keyword">cd</span> megacmd
GOPATH=/tmp/ <span class="keyword">make</span>
<span class="keyword">cp</span> megacmd /usr/local/bin
</code></pre><h3 id="建立配置文件">建立配置文件</h3>
<pre><code> <span class="keyword">vim</span> ~/.megacmd.json
</code></pre><figure class="highlight bash"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div></pre></td><td class="code"><pre><div class="line">{</div><div class="line"> <span class="string">"User"</span> : <span class="string">"MEGA_USERNAME"</span>,</div><div class="line"> <span class="string">"Password"</span> : <span class="string">"MEGA_PASSWORD"</span>,</div><div class="line"> <span class="string">"DownloadWorkers"</span> : <span class="number">4</span>,</div><div class="line"> <span class="string">"UploadWorkers"</span> : <span class="number">4</span>,</div><div class="line"> <span class="string">"SkipSameSize"</span> : <span class="literal">true</span>,</div><div class="line"> <span class="string">"Verbose"</span> : <span class="number">1</span></div><div class="line">}</div></pre></td></tr></table></figure>
<h3 id="使用方式">使用方式</h3>
<p><strong>1.列出文件</strong></p>
<pre><code><span class="title">megacmd</span> list <span class="url">mega:/Test/</span>
<span class="url">mega:/Test/11.png</span> <span class="number">24110</span> <span class="number">2013</span>-<span class="number">12</span>-31T16:<span class="number">47</span>:<span class="number">49</span>+<span class="number">05</span>:<span class="number">30</span>
<span class="url">mega:/Test/Firefox_wallpaper.png</span> <span class="number">81920</span> <span class="number">2013</span>-<span class="number">12</span>-31T16:<span class="number">49</span>:<span class="number">27</span>+<span class="number">05</span>:<span class="number">30</span>
</code></pre><p><strong>2.下载文件</strong></p>
<pre><code>megacmd <span class="built_in">get</span> meg<span class="variable">a:</span>/Test/<span class="number">11</span>.png ./
Successfully downloaded <span class="keyword">file</span> meg<span class="variable">a:</span>/Test/<span class="number">11</span>.png <span class="keyword">to</span> ./ in <span class="number">0</span>
</code></pre><p><strong>3.上传文件</strong></p>
<pre><code>megacmd <span class="keyword">put</span> ./practice/helloworld meg<span class="variable">a:</span>/Test/
Copying ./practice/helloworld -> meg<span class="variable">a:</span>/Test/ # <span class="number">100.00</span> % of <span class="number">8.6</span>KB at <span class="number">2.5</span>K/<span class="keyword">s</span> <span class="number">3</span><span class="keyword">s</span>
Successfully uploaded <span class="keyword">file</span> ./practice/helloworld <span class="keyword">to</span> meg<span class="variable">a:</span>/Test/ in <span class="number">3</span><span class="keyword">s</span>
</code></pre><p><strong>4.删除文件</strong></p>
<pre><code>megacmd <span class="built_in">delete</span> meg<span class="variable">a:</span>/Test/helloworld
Successfully deleted meg<span class="variable">a:</span>/Test/helloworld
</code></pre><p><strong>5.建立新文件夹</strong></p>
<pre><code>megacmd <span class="built_in">mkdir</span> meg<span class="variable">a:</span>/Test/subdir
Successfully created directory at meg<span class="variable">a:</span>/Test/subdir
</code></pre><p><strong>更多使用方法请看<a href="https://github.com/t3rm1n4l/megacmd" target="_blank" rel="external">项目主页</a></strong></p>
]]></content>
<summary type="html">
<![CDATA[<ul>
<li>mega.co.nz是一个提供50G免费存储空间的国外网盘,前身为megaupload</li>
<li>megacmd是一个可以用命令行操作mega网盘的工具,可以进行上传,下载,建立文件夹,删除等操作,基本网页上能做的它都能做到</li>
<li>megacmd项目主页:<a href="https://github.com/t3rm1n4l/megacmd" target="_blank" rel="external">https://github.com/t3rm1n4l/megacmd</a></li>
<li>本文章只介绍megacmd在Linux下的安装及使用。。。。Windows和mac os请自行参考项目主页</li>
</ul>
]]>
</summary>
<category term="cli" scheme="http://blog.ainhaato.moe/tags/cli/"/>
<category term="资源分享" scheme="http://blog.ainhaato.moe/categories/share/"/>
<category term="工具" scheme="http://blog.ainhaato.moe/categories/share/tools/"/>
</entry>
<entry>
<title><![CDATA[libev/nodejs版shadowsocks安装(Centos)]]></title>
<link href="http://blog.ainhaato.moe/two-method-ss-centos/"/>
<id>http://blog.ainhaato.moe/two-method-ss-centos/</id>
<published>2014-04-13T12:01:45.000Z</published>
<updated>2015-01-15T13:59:50.000Z</updated>
<content type="html"><![CDATA[<h2 id="简介">简介</h2>
<p>shadowsocks是一个轻量级的隧道代理,用于突破功夫net的,让使用者自由的畅游因特网。<br>第一个版本由clowwindy用Python编写、后续有很多其他的移植版本。如nodejs,libev,shadowsocks-go等….</p>
<a id="more"></a>
<h2 id="一、libev版">一、libev版</h2>
<p><strong>1.安装必要组件</strong></p>
<pre><code>yum <span class="operator"><span class="keyword">install</span> git build-essential autoconf libtool openssl-devel gcc -y</span>
</code></pre><p><strong>2.下载shadowsocks-libev源码包并编译</strong></p>
<pre><code>git clone http<span class="variable">s:</span>//github.<span class="keyword">com</span>/madeye/shadowsocks-libev.git
<span class="keyword">cd</span> shadowsocks-libev
./configure
<span class="keyword">make</span> && <span class="keyword">make</span> install
</code></pre><p><strong>3.运行shadowsocks</strong></p>
<pre><code>nohup /usr/local/bin/<span class="literal">ss</span>-server -s <span class="literal">IP</span>地址 -p 服务器端口 -k 密码 -m 加密方式 &
</code></pre><p>例如:</p>
<blockquote>
<p>nohup /usr/local/bin/ss-server -s 220.181.112.143 -p 8388 -k sstest -m aes-256-cfb &</p>
</blockquote>
<p><strong>4.加入开机启动</strong></p>
<pre><code><span class="input"><span class="prompt">echo "nohup /usr/local/bin/ss-server -s IP地址 -p 服务器端口 -k 密码 -m 加密方式 &" >></span> /etc/rc.local</span>
</code></pre><p><strong>5.结束任务方法</strong></p>
<pre><code>killall <span class="literal">ss</span>-server
</code></pre><hr>
<h2 id="二、nodejs版">二、nodejs版</h2>
<p><strong>1.下载nodejs源码并编译安装</strong></p>
<pre><code>wget http:<span class="comment">//nodejs.org/dist/v0.8.22/node-v0.8.22.tar.gz</span>
tar xf node-v0<span class="number">.8.22</span>.tar.gz
cd node-v0<span class="number">.8.22</span>/
./configure
<span class="built_in">make</span> && <span class="built_in">make</span> install
</code></pre><p><strong>2.从github把shadowsocks-nodejs clone下来</strong></p>
<pre><code>git clone gi<span class="variable">t:</span>//github.<span class="keyword">com</span>/clowwindy/shadowsocks-nodejs.git
<span class="keyword">cd</span> shadowsocks-nodejs
</code></pre><p><strong>3.修改config.json文件</strong></p>
<pre><code><span class="built_in">cd</span> shadowsocks-nodejs
vim config.json
{
<span class="string">"server"</span>: <span class="string">"0.0.0.0"</span>,
<span class="string">"server_port"</span>: <span class="number">8388</span>, //服务器端口,最好修改成自己的,防止扫描
<span class="string">"local_port"</span>: <span class="number">1080</span>,
<span class="string">"password"</span>: <span class="string">"barfoo!"</span>, // 默认密码,自行更换
<span class="string">"timeout"</span>: <span class="number">600</span>,
<span class="string">"method"</span>: null // 支持<span class="string">"bf-cfb"</span>, <span class="string">"aes-256-cfb"</span>, <span class="string">"des-cfb"</span>, <span class="string">"rc4"</span>等加密方式。默认是不加密
}
</code></pre><p><strong>4.运行shadowsocks</strong></p>
<pre><code><span class="input"><span class="prompt">cd lib/shadowsocks
nohup node server.js ></span> log &</span>
</code></pre><h2 id="三、python版">三、python版</h2>
<p>教程请看火狐吧吧友写的:<a href="http://tieba.baidu.com/p/2824694884" target="_blank" rel="external">http://tieba.baidu.com/p/2824694884</a></p>
]]></content>
<summary type="html">
<![CDATA[<h2 id="简介">简介</h2>
<p>shadowsocks是一个轻量级的隧道代理,用于突破功夫net的,让使用者自由的畅游因特网。<br>第一个版本由clowwindy用Python编写、后续有很多其他的移植版本。如nodejs,libev,shadowsocks-go等….</p>
]]>
</summary>
<category term="libev" scheme="http://blog.ainhaato.moe/tags/libev/"/>
<category term="nodejs" scheme="http://blog.ainhaato.moe/tags/nodejs/"/>
<category term="shadowsocks" scheme="http://blog.ainhaato.moe/tags/shadowsocks/"/>
<category term="proxy" scheme="http://blog.ainhaato.moe/tags/proxy/"/>
<category term="centos" scheme="http://blog.ainhaato.moe/tags/centos/"/>
</entry>
<entry>
<title><![CDATA[换个主机换个主题]]></title>
<link href="http://blog.ainhaato.moe/storage_change/"/>
<id>http://blog.ainhaato.moe/storage_change/</id>
<published>2014-04-09T17:22:32.000Z</published>
<updated>2015-01-13T13:58:38.000Z</updated>
<content type="html"><![CDATA[<p>感觉之前用的vps最近越来越慢,于是就换了个主机:hostker<br>自带CDN,在线文件管理,编辑代码等方便实用的功能,并且客服服务态度很好,可搞基(大雾<br>速度比起之前用的主机和vps好得多<br>目前为止很满意,估计短时间内不会再换了_(:3 」∠ )_</p>
<h2><a id="more"></a></h2>
<h3 id="hostker宣传视频">hostker宣传视频</h3>
<video id="hostker" class="video-js vjs-default-skin" controls preload="none" width="848" height="480" poster="http://blog-attachment.qiniudn.com/video/hostker/mad.png" data-setup="{}"><br> <source src="http://blog-attachment.qiniudn.com/video/hostker/mad.mp4" type="video/mp4"><br> <source src="http://blog-attachment.qiniudn.com/video/hostker/mad.webm" type="video/webm"><br> <source src="http://blog-attachment.qiniudn.com/video/hostker/mad.ogv" type="video/ogg"><br> </video>]]></content>
<summary type="html">
<![CDATA[<p>感觉之前用的vps最近越来越慢,于是就换了个主机:hostker<br>自带CDN,在线文件管理,编辑代码等方便实用的功能,并且客服服务态度很好,可搞基(大雾<br>速度比起之前用的主机和vps好得多<br>目前为止很满意,估计短时间内不会再换了_(:3 」∠ )_</p>
<h2>]]>
</summary>
</entry>
<entry>
<title><![CDATA[Centos 6.X 下编译安装deluge]]></title>
<link href="http://blog.ainhaato.moe/deluge_for_centos/"/>
<id>http://blog.ainhaato.moe/deluge_for_centos/</id>
<published>2014-04-05T14:06:00.000Z</published>
<updated>2015-01-13T14:06:39.000Z</updated>
<content type="html"><![CDATA[<h3 id="简介">简介</h3>
<p>Deluge 是一个通过PyGTK建立图形界面的BitTorrent客户端,后端使用libtorrent。Deluge可以在多个平台上使用,如Linux,*BSD,Mac OS和其他类UNIX操作系统。该项目的目标是要在GTK框架上建立一个原生和全功能的BitTorrent客户端。<br>Deluge由ubuntuforum的两位成员建立,Zach Tibbitts 和 Alan Zakai。在过去,它曾是Google Code的项目。<br>在过去的开发,Deluge曾经被命名为gTorrent,意思是 GNOME 下的BitTorrent客户端。当第一个版本在2006年9月25日释出的时候,被重新命名为Deluge,以避免别人误会gTorrent只能用于GNOME。<br>利用0.4.x代码重写的0.5穏定版在2007年3月18日释出。重写代码的目的是要令代码更加优良。而0.5.1.1版支持数据加密,peer exchange,Si prefixes和upnp。</p>
<a id="more"></a>
<h3 id="安装过程">安装过程</h3>
<p>1.安装更新源.</p>
<pre><code>rpm -ivh http:<span class="comment">//pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm</span>
rpm -ivh http:<span class="comment">//dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm</span>
wget -c -O <span class="regexp">/etc/</span>yum.repos.d<span class="regexp">/linuxtech.repo http:/</span><span class="regexp">/pkgrepo.linuxtech.net/</span>el6<span class="regexp">/release/</span>linuxtech.repo
</code></pre><p>2.安装依赖库</p>
<pre><code>yum install GeoIP PyXML SOAPpy boost-filesystem boost-<span class="keyword">python</span> boost-<span class="built_in">system</span> boost-thread pyOpenSSL <span class="keyword">python</span>-chardet <span class="keyword">python</span>-fpconst <span class="keyword">python</span>-setuptools <span class="keyword">python</span>-simplejson <span class="keyword">python</span>-twisted-core <span class="keyword">python</span>-twisted-web <span class="keyword">python</span>-zope-filesystem <span class="keyword">python</span>-zope-interface pyxdg rb_libtorrent rb_libtorrent-<span class="keyword">python</span> <span class="keyword">python</span>-beaker <span class="keyword">python</span>-mako <span class="keyword">python</span>-markupsafe <span class="keyword">python</span>-twisted <span class="keyword">python</span>-twisted-web
</code></pre><p>3.编译安装deluge</p>
<pre><code>wget http://download.deluge-torrent.org/<span class="built_in">source</span>/deluge-<span class="number">1.3</span>.<span class="number">6</span>.tar.gz
tar zxvf deluge-<span class="number">1.3</span>.<span class="number">6</span>.tar.gz
<span class="built_in">cd</span> deluge-<span class="number">1.3</span>.<span class="number">6</span>
<span class="comment">#开始编译</span>
python setup.py build
python setup.py install
<span class="comment">#建立账户</span>
/usr/sbin/groupadd deluge
useradd deluge -g deluge <span class="operator">-s</span> /bin/<span class="literal">false</span>
</code></pre><p>4.配置启动文件,把以下文件保存为<strong>/etc/init.d/deluge-daemon</strong></p>
<blockquote>
<p><a href="http://pan.baidu.com/s/1o60RrZ0" target="_blank" rel="external">http://pan.baidu.com/s/1o60RrZ0</a></p>
</blockquote>
<p>5.给启动脚本权限&启动deluge</p>
<pre><code>chmod +x /etc/init.d/deluge-daemon
<span class="class"><span class="keyword">service</span> <span class="title">deluge</span>-daemon start</span>
</code></pre><p><a href="http://ww1.sinaimg.cn/large/6abdaa9dgw1ef71m13isfj211y0iutb9.jpg" title="deluge界面" target="_blank" rel="external"><img src="http://ww1.sinaimg.cn/large/6abdaa9dgw1ef71m13isfj211y0iutb9.jpg" alt="deluge界面"></a></p>
<p>本文转自:<a href="http://www.jzbk.org/2013/11/blog-187.html" target="_blank" rel="external">http://www.jzbk.org/2013/11/blog-187.html</a></p>
]]></content>
<summary type="html">
<![CDATA[<h3 id="简介">简介</h3>
<p>Deluge 是一个通过PyGTK建立图形界面的BitTorrent客户端,后端使用libtorrent。Deluge可以在多个平台上使用,如Linux,*BSD,Mac OS和其他类UNIX操作系统。该项目的目标是要在GTK框架上建立一个原生和全功能的BitTorrent客户端。<br>Deluge由ubuntuforum的两位成员建立,Zach Tibbitts 和 Alan Zakai。在过去,它曾是Google Code的项目。<br>在过去的开发,Deluge曾经被命名为gTorrent,意思是 GNOME 下的BitTorrent客户端。当第一个版本在2006年9月25日释出的时候,被重新命名为Deluge,以避免别人误会gTorrent只能用于GNOME。<br>利用0.4.x代码重写的0.5穏定版在2007年3月18日释出。重写代码的目的是要令代码更加优良。而0.5.1.1版支持数据加密,peer exchange,Si prefixes和upnp。</p>
]]>
</summary>
<category term="centos" scheme="http://blog.ainhaato.moe/tags/centos/"/>
<category term="download" scheme="http://blog.ainhaato.moe/tags/download/"/>
<category term="linux" scheme="http://blog.ainhaato.moe/tags/linux/"/>
<category term="p2p" scheme="http://blog.ainhaato.moe/tags/p2p/"/>
<category term="教程" scheme="http://blog.ainhaato.moe/categories/tutorial/"/>
</entry>
<entry>
<title><![CDATA[停止出售代理服务]]></title>
<link href="http://blog.ainhaato.moe/ss_proxy_closed/"/>
<id>http://blog.ainhaato.moe/ss_proxy_closed/</id>
<published>2014-03-19T16:30:58.000Z</published>
<updated>2015-01-13T13:59:14.000Z</updated>
<content type="html"><![CDATA[<h3 id="现状&原因">现状&原因</h3>
<p>自从几天前开始出售shadowsocks代理到现在,已经有几位联系我购买,目前为止不赚也不亏…..这也是我最初的目标:不亏即可</p>
<p>至于停止出售的原因。。。有点奇葩0.0 | 那就是:累感不爱<br>不知道为啥最近感觉累感不爱,没有动力去解答客户的问题,思前想后还是决定停止出售代理服务</p>
<h4 id="不过已经购买代理服务的客户不受影响,在到期之前我都会继续提供代理"><font color="red">不过已经购买代理服务的客户不受影响,在到期之前我都会继续提供代理</font></h4>
<p>以及。。。约好要购买的客户,想购买时请联系我;对这些客户依旧提供代理服务<br>以上~</p>
]]></content>
<summary type="html">
<![CDATA[<h3 id="现状&原因">现状&原因</h3>
<p>自从几天前开始出售shadowsocks代理到现在,已经有几位联系我购买,目前为止不赚也不亏…..这也是我最初的目标:不亏即可</p>
<p>至于停止出售的原因。。。有点奇葩0.0 | 那就是:累感不爱<b]]>
</summary>
</entry>
<entry>
<title><![CDATA[出售新加坡,美国shadowsocks代理]]></title>
<link href="http://blog.ainhaato.moe/ss_sales/"/>
<id>http://blog.ainhaato.moe/ss_sales/</id>
<published>2014-03-13T09:31:57.000Z</published>
<updated>2015-01-13T13:58:56.000Z</updated>
<content type="html"><![CDATA[<h4 id="出售新加坡和美国的shadowsocks,日本线路待资金充足后添加………-(如果有人能资助的话应该很快就能开日本线路了吧orz…">出售新加坡和美国的shadowsocks,日本线路待资金充足后添加……….(如果有人能资助的话应该很快就能开日本线路了吧orz…</h4>
<h3 id="Update">Update</h3>
<p>2014.03.15 —— 美国线路添加vpn支持</p>
<a id="more"></a>
<h3 id="使用效果">使用效果</h3>
<p><a href="http://ww4.sinaimg.cn/large/6abdaa9dgw1eee8vnmeq2j211y0kiqag.jpg" title="YouTube" target="_blank" rel="external"><img src="http://ww4.sinaimg.cn/large/6abdaa9dgw1eee8vnmeq2j211y0kiqag.jpg" alt="YouTube"></a><br><a href="http://ww1.sinaimg.cn/large/6abdaa9dgw1eee8z3ftvlj211y0khjz9.jpg" title="Twitter" target="_blank" rel="external"><img src="http://ww1.sinaimg.cn/large/6abdaa9dgw1eee8z3ftvlj211y0khjz9.jpg" alt="Twitter"></a><br><a href="http://ww3.sinaimg.cn/large/6abdaa9dgw1eee90ec5boj211y0kjq7q.jpg" title="Facebook" target="_blank" rel="external"><img src="http://ww3.sinaimg.cn/large/6abdaa9dgw1eee90ec5boj211y0kjq7q.jpg" alt="Facebook"></a></p>
<h3 id="Speedtest">Speedtest</h3>
<p><a href="http://www.speedtest.net/result/3413408258.png" title="新加坡" target="_blank" rel="external"><img src="http://www.speedtest.net/result/3413408258.png" alt="新加坡"></a></p>
<h3 id="使用条款">使用条款</h3>
<p>1.禁止P2P下载<br>2.禁止将代理用于违法事项<br>3.等我想到再说…</p>
<h3 id="购买方式&&套餐">购买方式&&套餐</h3>
<p>目前仅支持(半)年付<br>半年价:45 RMB<br>年付:85RMB<br>支付宝:[email protected]<br>paypal:[email protected]<br>联系邮箱:[email protected]<br>QQ:605019926</p>
<h4 id="付款后发送订单号到mikoto-yu51@gmail-com,我会把账号信息回复给发信邮箱">付款后发送订单号到[email protected],我会把账号信息回复给发信邮箱</h4>
<h4 id="如有疑问,请用QQ_or_邮箱联系">如有疑问,请用QQ or 邮箱联系</h4>
]]></content>
<summary type="html">
<![CDATA[<h4 id="出售新加坡和美国的shadowsocks,日本线路待资金充足后添加………-(如果有人能资助的话应该很快就能开日本线路了吧orz…">出售新加坡和美国的shadowsocks,日本线路待资金充足后添加……….(如果有人能资助的话应该很快就能开日本线路了吧orz…</h4>
<h3 id="Update">Update</h3>
<p>2014.03.15 —— 美国线路添加vpn支持</p>
]]>
</summary>
<category term="shadowsocks" scheme="http://blog.ainhaato.moe/tags/shadowsocks/"/>
<category term="proxy" scheme="http://blog.ainhaato.moe/tags/proxy/"/>
</entry>
<entry>
<title><![CDATA[分享一枚shadowsocks代理]]></title>
<link href="http://blog.ainhaato.moe/public_shadowsocks/"/>
<id>http://blog.ainhaato.moe/public_shadowsocks/</id>
<published>2014-03-09T18:56:01.000Z</published>
<updated>2015-01-13T14:01:14.000Z</updated>
<content type="html"><![CDATA[<blockquote>
<p>server:ss.kuroy.me<br>port:8388<br>passwd:Base64(“a2lyYWtpcmE=”)<br>encryption method:aes-256-cfb</p>
</blockquote>
<p>美国,为了保证速度(本来速度就一般…),对密码进行了加密,请自行解密</p>
]]></content>
<summary type="html">
<![CDATA[<blockquote>
<p>server:ss.kuroy.me<br>port:8388<br>passwd:Base64(“a2lyYWtpcmE=”)<br>encryption method:aes-256-cfb</p>
</blockquote>
<p>美国,为了]]>
</summary>
<category term="shadowsocks" scheme="http://blog.ainhaato.moe/tags/shadowsocks/"/>
<category term="教程" scheme="http://blog.ainhaato.moe/categories/tutorial/"/>
</entry>
<entry>
<title><![CDATA[2014春季预定追番计划]]></title>
<link href="http://blog.ainhaato.moe/2014sp/"/>
<id>http://blog.ainhaato.moe/2014sp/</id>
<published>2014-02-02T16:38:49.000Z</published>
<updated>2015-01-13T14:07:56.000Z</updated>
<content type="html"><![CDATA[<p><a href="http://ww1.sinaimg.cn/large/e57da4e9jw1ed5hbfq012j20uo274b29.jpg" target="_blank" rel="external">新番列表</a></p>
<h2 id="预定计划">预定计划</h2>
<p>1.妖尾<br>之前由于漫画进度的问题停更了,既然恢复了那就继续追下去吧0w0<br>2.GJ部@<br>轻松的日常番是必须~<br>3.约会大作战<br>继续看妹妹<br>4.No game, No life<br>记得同学说看了小说感觉不错<br>5.噬魂师NOT!<br>刚又看一遍噬魂师,还是觉得女主CV很好啊,不知为何很多人觉得不好= =<br>6.破刃之剑<br>像空之境界一样剧场版剧情TV化?<br>7.极黑的布伦希尔特<br>漫画nice<br>8.Love Live! 第二季<br>既然前作看完了,那就继续追吧<br>9.星刻的龙骑士<br>小说刚看到第二卷<br>10.恶魔之谜<br>听说是百合?!大爱!!<br>11.棺姬嘉依卡<br>骨头社~<br>12.虫师<br>不解释…</p>
<a id="more"></a>
<h2 id="看封面追系列">看封面追系列</h2>
<p>1.漆黑的子弹<br>2.希德尼娅的骑士<br>3.魔法科高校の劣等生</p>
<h2 id="剧场版">剧场版</h2>
<p>1.玉子爱情故事<br>玉子市场竟然出剧场版?!<br>2.Code Geass 亡国的阿基德 第三章<br>3.天降之物Final 永远的我的鸟笼</p>
<h2 id="其它">其它</h2>
<p>1.JOJO<br>之前就没看….但是也是佳作来着</p>
]]></content>
<summary type="html">
<![CDATA[<p><a href="http://ww1.sinaimg.cn/large/e57da4e9jw1ed5hbfq012j20uo274b29.jpg" target="_blank" rel="external">新番列表</a></p>
<h2 id="预定计划">预定计划</h2>
<p>1.妖尾<br>之前由于漫画进度的问题停更了,既然恢复了那就继续追下去吧0w0<br>2.GJ部@<br>轻松的日常番是必须~<br>3.约会大作战<br>继续看妹妹<br>4.No game, No life<br>记得同学说看了小说感觉不错<br>5.噬魂师NOT!<br>刚又看一遍噬魂师,还是觉得女主CV很好啊,不知为何很多人觉得不好= =<br>6.破刃之剑<br>像空之境界一样剧场版剧情TV化?<br>7.极黑的布伦希尔特<br>漫画nice<br>8.Love Live! 第二季<br>既然前作看完了,那就继续追吧<br>9.星刻的龙骑士<br>小说刚看到第二卷<br>10.恶魔之谜<br>听说是百合?!大爱!!<br>11.棺姬嘉依卡<br>骨头社~<br>12.虫师<br>不解释…</p>
]]>
</summary>
<category term="新番" scheme="http://blog.ainhaato.moe/tags/%E6%96%B0%E7%95%AA/"/>
<category term="2014春" scheme="http://blog.ainhaato.moe/tags/2014%E6%98%A5/"/>
<category term="日常" scheme="http://blog.ainhaato.moe/categories/life/"/>
</entry>
<entry>
<title><![CDATA[2014 - 新年快乐!]]></title>
<link href="http://blog.ainhaato.moe/happy_new_year_2014/"/>
<id>http://blog.ainhaato.moe/happy_new_year_2014/</id>
<published>2014-01-29T16:00:00.000Z</published>
<updated>2015-01-13T14:05:02.000Z</updated>
<content type="html"><![CDATA[<p><a href="http://ww3.sinaimg.cn/large/e57da4e9jw1eczkuqdzblj20rs0t5tjo.jpg" title="恭贺新年" target="_blank" rel="external"><img src="http://ww3.sinaimg.cn/large/e57da4e9jw1eczkuqdzblj20rs0t5tjo.jpg" alt="恭贺新年"></a><br><a id="more"></a></p>
<p>新的一年又来了,忘却所有不开心的事,在家和家人共度新年。<br>祝没能回家的人……..自己玩的愉快;或者…和基(姬)友玩♂♀的愉快。<br>祝所有人新年快乐,心想事成!<br><a href="http://ww2.sinaimg.cn/large/dce4a41ejw1eczl4y1p37j20vw0mt11f.jpg" title="新年快乐" target="_blank" rel="external"><img src="http://ww2.sinaimg.cn/large/dce4a41ejw1eczl4y1p37j20vw0mt11f.jpg" alt="新年快乐"></a></p>
<p><a href="http://ww3.sinaimg.cn/large/dce48faejw1eczl82w3boj21kw156e1e.jpg" title="新春快乐" target="_blank" rel="external"><img src="http://ww3.sinaimg.cn/large/dce48faejw1eczl82w3boj21kw156e1e.jpg" alt="新春快乐"></a><br>PS:其实对我来说新年似乎并不值得开心呢orz……..</p>
]]></content>
<summary type="html">
<![CDATA[<p><a href="http://ww3.sinaimg.cn/large/e57da4e9jw1eczkuqdzblj20rs0t5tjo.jpg" title="恭贺新年" target="_blank" rel="external"><img src="http://ww3.sinaimg.cn/large/e57da4e9jw1eczkuqdzblj20rs0t5tjo.jpg" alt="恭贺新年"></a><br>]]>
</summary>
<category term="日常" scheme="http://blog.ainhaato.moe/categories/life/"/>
</entry>
<entry>
<title><![CDATA[centos安装rtorrent/rutorrent]]></title>
<link href="http://blog.ainhaato.moe/rtorrent-rutorrent-on-centos/"/>
<id>http://blog.ainhaato.moe/rtorrent-rutorrent-on-centos/</id>
<published>2014-01-19T10:12:57.000Z</published>
<updated>2015-01-13T14:01:02.000Z</updated>
<content type="html"><![CDATA[<h1 id="rtorrent介绍">rtorrent介绍</h1>
<p>rtorrent是利用libtorrent库创建的Ncurses客户端程序。使用C++语言编写 的rtorrent除了能够提供基于GUI界面的客户端所具备的功能之外,其速度和效率更为用户所推崇。</p>
<h1 id="rutorrent介绍">rutorrent介绍</h1>
<p>rutorrent是rtorrent的一个webgui。但不支持rtorrent0.8.7版。</p>
<a id="more"></a>
<h2 id="rtorrent安装过程">rtorrent安装过程</h2>
<h4 id="教程使用的是目前最新版libtorrent和rtorrent,日后要想安装最新版,请到这里下载:http://libtorrent-rakshasa-no/downloads/">教程使用的是目前最新版libtorrent和rtorrent,日后要想安装最新版,请到这里下载:<a href="http://libtorrent.rakshasa.no/downloads/" target="_blank" rel="external">http://libtorrent.rakshasa.no/downloads/</a></h4>
<h3 id="一、安装libtorrent">一、安装libtorrent</h3>
<figure class="highlight"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div></pre></td><td class="code"><pre><div class="line"><span class="comment">yum</span> <span class="literal">-</span><span class="comment">y</span> <span class="comment">install</span> <span class="comment">gcc</span><span class="literal">-</span><span class="comment">c</span><span class="literal">+</span><span class="literal">+</span> <span class="comment">libtool</span> <span class="comment">libsigc</span><span class="literal">+</span><span class="literal">+</span><span class="comment">20</span> <span class="comment">libsigc</span><span class="literal">+</span><span class="literal">+</span><span class="comment">20</span><span class="literal">-</span><span class="comment">devel</span></div><div class="line"><span class="comment">wget</span> <span class="comment">http://libtorrent</span><span class="string">.</span><span class="comment">rakshasa</span><span class="string">.</span><span class="comment">no/downloads/libtorrent</span><span class="literal">-</span><span class="comment">0</span><span class="string">.</span><span class="comment">13</span><span class="string">.</span><span class="comment">3</span><span class="string">.</span><span class="comment">tar</span><span class="string">.</span><span class="comment">gz</span></div><div class="line"><span class="comment">tar</span> <span class="comment">zxvf</span> <span class="comment">libtorrent</span><span class="literal">-</span><span class="comment">0</span><span class="string">.</span><span class="comment">13</span><span class="string">.</span><span class="comment">3</span><span class="string">.</span><span class="comment">tar</span><span class="string">.</span><span class="comment">gz</span></div><div class="line"><span class="string">.</span><span class="comment">/configure</span></div><div class="line"><span class="comment">make</span> <span class="comment">&&</span> <span class="comment">make</span> <span class="comment">install</span></div></pre></td></tr></table></figure>
<h3 id="二、安装rtorrent">二、安装rtorrent</h3>
<p>在安装rtorrent之前需要先安装xmlrpc(如果想用webgui的话…</p>
<pre><code>yum -y <span class="operator"><span class="keyword">install</span> xmlrpc-c-devel
echo <span class="string">"/usr/local/lib/"</span> >> /etc/ld.so.conf
wget http://libtorrent.rakshasa.<span class="keyword">no</span>/downloads/rtorrent-<span class="number">0.9</span><span class="number">.3</span>.tar.gz
tar zxvf rtorrent-<span class="number">0.9</span><span class="number">.3</span>.tar.gz
PKG_CONFIG_PATH=/usr/<span class="keyword">local</span>/lib/pkgconfig ./configure <span class="comment">--with-xmlrpc-c</span>
make && make <span class="keyword">install</span></span>
</code></pre><h4 id="rtorrent启动脚本">rtorrent启动脚本</h4>
<pre><code>wget -<span class="constant">O</span> /etc/init.d/rtorrent <span class="symbol">https:</span>/<span class="regexp">/github.com/asuna</span><span class="regexp">/personal-scripts/raw</span><span class="regexp">/master/init</span>.d/rtorrent
chmod <span class="number">755</span> /etc/init.d/rtorrent
</code></pre><p>使用方法:<strong>service rtorrent {start|stop|restart}</strong></p>
<h4 id="rtorrent配置文件(sample)">rtorrent配置文件(sample)</h4>
<pre><code>http<span class="variable">s:</span>//gist.github.<span class="keyword">com</span>/<span class="number">1325923</span>
</code></pre><h4 id="rtorrent_xmlrpc-c配置">rtorrent xmlrpc-c配置</h4>
<pre><code>cat >>~/.rtorrent.rc<<-<span class="constant">EOF</span>
execute_nothrow=rm,/tmp/rpc.<span class="built_in">socket</span>
scgi_local = /tmp/rpc.<span class="built_in">socket</span>
schedule = chmod,<span class="number">0</span>,<span class="number">0</span>,<span class="string">"execute=chmod,777,/tmp/rpc.socket"</span>
<span class="constant">EOF</span>
</code></pre><h4 id="Nginx_xmlrpc_配置">Nginx xmlrpc 配置</h4>
<p>修改nginx.conf,在server字段添加下列内容</p>
<figure class="highlight"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div></pre></td><td class="code"><pre><div class="line"><span class="title">location</span> /RPC2 {</div><div class="line"><span class="title">include</span> scgi_params;</div><div class="line"><span class="comment">#scgi_pass 127.0.0.1:5000;</span></div><div class="line"><span class="title">scgi_pass</span> <span class="url">unix:/tmp/rpc.socket</span>;</div><div class="line">}</div></pre></td></tr></table></figure>
<p>不知道nginx.conf在哪的话可以用以下命令查找</p>
<figure class="highlight"><table><tr><td class="gutter"><pre><div class="line">1</div></pre></td><td class="code"><pre><div class="line"><span class="title">whereis</span> nginx</div></pre></td></tr></table></figure>
<h2 id="rutorrent安装过程">rutorrent安装过程</h2>
<pre><code>wget http://dl.bintray.com/novik65/<span class="keyword">generic</span>/rutorrent-<span class="number">3</span>.<span class="number">6</span>.tar.gz
tar zxvf rutorrent-<span class="number">3</span>.<span class="number">6</span>.tar.gz
mv rutorrent /home/wwwroot
cp /home/wwwroot/rutorrent/conf/config.php /home/wwwroot/rutorrent/conf/config.php.bak
sed -i 's/\/\/ $scgi/$scgi/g' /home/wwwroot/rutorrent/conf/config.php
sed -i 's/$scgi_port = <span class="number">5000</span>/\/\/ $scgi_port = <span class="number">5000</span>/g' /home/wwwroot/rutorrent/conf/config.php
sed -i 's/$scgi_host = <span class="string">"127/\/\/ $scgi_host = "</span><span class="number">127</span>/g' /home/wwwroot/rutorrent/conf/config.php
sed -i <span class="string">"s/\"curl\"\t=> ''/\"curl\"\t=> '\/usr\/bin\/curl'/g"</span> /home/wwwroot/rutorrent/conf/config.php
sed -i <span class="string">"s/\"gzip\"\t=> ''/\"gzip\"\t=> '\/usr\/bin\/gzip'/g"</span> /home/wwwroot/rutorrent/conf/config.php
sed -i <span class="string">"s/\"id\"\t=> ''/\"id\"\t=> '\/usr\/bin\/id'/g"</span> /home/wwwroot/rutorrent/conf/config.php
sed -i <span class="string">"s/\"stat\"\t=> ''/\"stat\"\t=> '\/usr\/bin\/stat'/g"</span> /home/wwwroot/rutorrent/conf/config.php
</code></pre><p>此处的/home/wwwroot为网站根目录</p>
<h3 id="创建访问密码">创建访问密码</h3>
<pre><code> htpasswd -b -c <span class="regexp">/home/</span>wwwroot<span class="regexp">/rutorrent/</span>.htpasswds username passwd
</code></pre><p>如果htpasswd: <strong>command not found</strong>,执行下面命令安装httpd-tool</p>
<pre><code>yum <span class="operator"><span class="keyword">install</span> -y httpd-tools</span>
</code></pre><p>修改nginx.conf,在server字段添加下面内容</p>
<figure class="highlight"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div></pre></td><td class="code"><pre><div class="line"><span class="title">location</span> /rutorrent {</div><div class="line"><span class="title">auth_basic</span> <span class="string">"ruTorrent login"</span>;</div><div class="line"><span class="title">auth_basic_user_file</span> /home/wwwroot/rutorrent/.htpasswds;</div><div class="line">}</div></pre></td></tr></table></figure>
<h2 id="rutorrent插件安装(可忽略)">rutorrent插件安装(可忽略)</h2>
<pre><code>wget http:<span class="comment">//dl.bintray.com/novik65/generic/plugins-3.6.tar.gz</span>
tar zxvf plugins-<span class="number">3.6</span>.tar.gz
mv plugins <span class="regexp">/home/</span>wwwroot<span class="regexp">/rutorrent</span>
</code></pre><p>刷新rutorrent页面就可看到效果</p>
<h2 id="安装完成">安装完成</h2>
<p>访问<a href="http://yourip(or" target="_blank" rel="external">http://yourip(or</a> domain)/rutorrent,输入设置的账号密码即可使用;rutorrent界面:<br><a href="http://ww2.sinaimg.cn/large/dce4a41ejw1eculh5np0xj211x0iwagl.jpg" title="rtorrent界面" target="_blank" rel="external"><img src="http://ww2.sinaimg.cn/large/dce4a41ejw1eculh5np0xj211x0iwagl.jpg" alt="rutorrent界面"></a></p>
]]></content>
<summary type="html">
<![CDATA[<h1 id="rtorrent介绍">rtorrent介绍</h1>
<p>rtorrent是利用libtorrent库创建的Ncurses客户端程序。使用C++语言编写 的rtorrent除了能够提供基于GUI界面的客户端所具备的功能之外,其速度和效率更为用户所推崇。</p>
<h1 id="rutorrent介绍">rutorrent介绍</h1>
<p>rutorrent是rtorrent的一个webgui。但不支持rtorrent0.8.7版。</p>
]]>
</summary>
<category term="centos" scheme="http://blog.ainhaato.moe/tags/centos/"/>
<category term="linux" scheme="http://blog.ainhaato.moe/tags/linux/"/>
<category term="rtorrent" scheme="http://blog.ainhaato.moe/tags/rtorrent/"/>