运维开发网

Linux浣跨敤Aria2鍛戒护涓嬭浇BT绉嶅瓙/纾佸姏/鐩撮摼鏂囦欢

运维开发网 https://www.qedev.com 2020-05-21 14:18 出处:网络
璇存槑锛?/strong>寰堝浜鸿偗瀹氫互涓?code>Aria2鍙槸涓€涓笅杞藉伐鍏凤紝闇€瑕侀厤鍚堝墠绔瘮濡?code>Aria2 Web UI銆?code>AriaNg绛変娇鐢紝鍏跺疄Aria2鏈韩灏辨槸涓懡浠よ宸ュ叿锛屼紭鐐规槸杞婚

璇存槑锛?/strong>寰堝浜鸿偗瀹氫互涓?code>Aria2鍙槸涓€涓笅杞藉伐鍏凤紝闇€瑕侀厤鍚堝墠绔瘮濡?code>Aria2 Web UI銆?code>AriaNg绛変娇鐢紝鍏跺疄Aria2鏈韩灏辨槸涓懡浠よ宸ュ叿锛屼紭鐐规槸杞婚噺銆佸紑婧愶紝鏀寔澶氬崗璁€佸绾跨▼锛屽彲浠ョ洿鎺ヤ娇鐢?code>Aria2鍛戒护鏉ヤ笅杞?code>BT绉嶅瓙绛夎祫婧愭枃浠讹紝杩欓噷璇翠笅Aria2鍛戒护浣跨敤鏂规硶銆?/p>

瀹夎

鎵ц浠ヤ笅鍛戒护锛?/p>

yum install aria2 #CentOS绯荤粺 apt-get install aria2 #Debian/Ubuntu绯荤粺 

浣跨敤

1銆佺洿閾句笅杞?/strong>

涓嬭浇鐩撮摼鏂囦欢锛屽彧闇€鍦ㄥ懡浠ゅ悗闄勫姞鍦板潃锛屽锛?/p>

aria2c http://xx.com/xx 

濡傛灉闇€瑕侀噸鍛藉悕涓?code>yy鐨勮瘽鍔犱笂--out鎴栬€?code>-o鍙傛暟锛屽锛?/p>

aria2c --out=yy http://xx.com/xx aria2c -o yy http://xx.com/xx 

浣跨敤aria2鐨勫垎娈靛拰澶氱嚎绋嬩笅杞藉姛鑳藉彲浠ュ姞蹇枃浠剁殑涓嬭浇閫熷害锛屽浜庝笅杞藉ぇ鏂囦欢鏃剁壒鍒湁鐢ㄣ€?code>-x 鍒嗘涓嬭浇锛?code>-s 澶氱嚎绋嬩笅杞斤紝濡傦細

aria2c -s 2 -x 2 http://xx.com/xx 

杩欏皢浣跨敤2涓繛鎺ュ拰2涓嚎绋嬫潵涓嬭浇璇ユ枃浠躲€?/p>

2銆丅T涓嬭浇

绉嶅瓙鍜岀鍔涗笅杞斤細

aria2c 鈥榵xx.torrnet鈥?aria2c 鈥樼鍔涢摼鎺モ€?

鍒楀嚭绉嶅瓙鍐呭锛?/p>

aria2c -S xxx.torrent 

涓嬭浇绉嶅瓙鍐呯紪鍙蜂负1銆?code>4銆?code>5銆?code>6銆?code>7鐨勬枃浠讹紝濡傦細

aria2c --select-file=1,4-7 xxx.torrent 

璁剧疆bt绔彛锛?/p>

aria2c --listen-port=3653 鈥榵xx.torrent鈥?

3銆侀檺閫熶笅杞?/strong>

鍗曚釜鏂囦欢鏈€澶т笅杞介€熷害锛?/p>

aria2c --max-download-limit=300K -s10 -x10 鈥榟ttp://xx.com/xx鈥?

鏁翠綋涓嬭浇鏈€澶ч€熷害锛?/p>

aria2c --max-overall-download-limit=300k -s10 -x10 鈥榟ttp://xx.com/xx鈥?

杩欎簺鍩烘湰閮芥槸甯哥敤鐨勫嚑涓懡浠わ紝鏇村鐨勫彲浠ヤ娇鐢?code>man aria2c鍜?code>aria2c -h鏌ョ湅銆?/p>

0

精彩评论

暂无评论...
验证码 换一张
取 消