Aria2 using Codex (Easy Deployment + fast advanced)

Source: Internet
Author: User
Tags ftp protocol metalink

Yes, it is enough of thunder, whirlwind of all kinds of exotic flowers slowed down (brother I also bought vip! ), IDM support for the protocol is too small there is nothing to suggest you are not genuine Zooey to update. So I think of the Aria2 I have seen before, although I have only slightly heard it before, but listen to the name is very cow-like. The following articles are based on the Windows system, but the basic content is generic and Linux users can look at it.

  

Meet ARIA2

ARIA2 is a lightweight multi-protocol and multi-source command-line download utility. It supports Http/https, FTP, SFTP, BT and Metalink. The JSON-RPC and XML-RPC can be manipulated via the built-in ARIA2. Yes, ARIA2 has no GUI graphical interface, only a rough command line interface! But this is precisely the Aria2 of the good province.

    • Light: Green Portable, do not write the registry, no GUI, occupy small, full speed download occupies about 10M.
    • Quick: This goods in my here (mobile 4M) download speed incredibly stable in 608 kb/s, inverse day to break the physical bandwidth limit it?!
    • Good: Multi-protocol support, multi-script/extension, multi-platform, completely free, customizable type extremely strong
    • Province: Not only occupies small, storage space is also small, less than 5M.

Official Download Link: http://sourceforge.net/projects/aria2/files/stable/

Initial deployment Aria2 Simple version

This section Reference Card Rice forum: http://bbs.kafan.cn/thread-1686205-1-1.html

create a few more related files

The download link has been provided above to download the file according to the platform/system number (32bit/64bit). (The best way to store the path is English/digital) and then create a new text document in the directory, creating several files that are easy to use later.

    • Aria2.log (Run log)
    • Aria2.session (Download history)
    • aria2.conf (config file)
    • Hiderun.vbs (used to hide command-line windows)

As a result, there should be several files in the directory:

Then use Notepad to modify the configuration file aria2.conf, There are Chinese places to change according to the actual situation :

dir= Default Download directory (example: D:\Inbox) log= log file storage directory (example: D:\Aria2\Aria2.log) input-file= record download history file directory (example: D:\Aria2\ aria2.session) save-session= store download History Files directory (example: IBID.) save-session-interval=60force-save=truelog-level=error# See--split optionmax-concurrent-downloads=5continue=truemax-overall-download-limit=0max-overall-upload-limit= 50kmax-upload-limit=20# http/ftp optionsconnect-timeout=120lowest-speed-limit=10kmax-connection-per-server= 10max-file-not-found=2min-split-size=1msplit=5check-certificate=falsehttp-no-cache=true# FTP Specific Options# BT/ PT settingbt-enable-lpd=true#bt-max-peers=55follow-torrent=trueenable-dht6= Falsebt-seed-unverifiedrpc-save-upload-metadata= truebt-hash-check-seedbt-remove-unselected-filebt-request-peer-speed-limit=100kseed-ratio=0.0# Metalink Specific options# RPC optionsenable-rpc=truepause=falserpc-allow-origin-all=truerpc-listen-all= truerpc-save-upload-metadata=truerpc-secure=false# Advanced optionsdaemon=truedisable-ipv6=trueenable-mmap= Truefile-allocation=falloc max-download-result=120#nO-file-allocation-limit=32mforce-sequential=trueparameterized-uri=true 

  Tips: If sometimes Aria2 can not start, empty the contents of aria2.session inside the line.

The Hiderun.vbs is then modified to link the Aria2c.exe with the configuration file aria2.conf and implement no command line startup. then open Aria2 later, double-click Hiderun.vbs This file instead of double-clicking Aria2c.exe.

CreateObject ("Wscript.Shell"). Run "(Program directory Example: D:\Aria2\aria2c.exe)--conf-path=aria2.conf", 0
Web front-end control

So, ARIA2 is configured, if you want to add power-on-boot to drag the Hiderun.vbs shortcut into the Startup folder to establish a scheduled task is OK. So the question is, how to use this invisible software? Don't worry, even if there is no GUI,ARIA2 also has a web-side control interface, is now more well-known Aria2 Web UI and Yaaw.

    • Aria2 Web UI(recommended!) ): English version of the original Web page of Chinese edition a page Chinese version b local English version of the Chinese version b
    • Yaaw: Chinese version of Web page in English original

  Tips: Other control Interface/extensions/scripts may be required to fill Json-rpc Path, the default is: Http://localhost:6800/jsonrpc

The simple version of ARIA2 has been deployed so that you can easily add the download link/BT seed in the pre-Web control section. If you want to use Aria2 further, read on.

Advanced ARIA2configuration file aria2.conf detailed

Please refer to the official documentation for more parameters: http://aria2.sourceforge.net/manual/en/html/aria2c.html  

Part of the translator's content: Http://sydi.org/posts/linux/aria2c-usage-sample-cns.html#fn.1

# # ' # ' begins with the comment content, the option has a corresponding comment description, as needed to modify # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # /downloads# enable disk cache, 0 to disable the cache, more than 1.16 version, default: 16mdisk-cache=32m# file pre-allocation method, can effectively reduce disk fragmentation, default: prealloc# Pre-allocation time: None < Falloc? Trunc < prealloc# falloc and trunc require file system and kernel support # NTFS recommended FALLOC, EXT3/4 recommended trunc, MAC needs to comment on this item file-allocation=none# breakpoint continuation, Currently only supports HTTP/HTTPS/FTP protocol continue=true# check File integrity, default: falsecheck-intergrity=false# Help information Classification # A label starts with # # available Tags: #basic, #  Advanced, #http, #https, #ftp, #metalink, #bittorrent, #cookie, #hook, #file, #rpc, #checksum, #experimental, #deprecated, #help, #all default: #basic # defaults to #basichelp= #basic # # Download Connection related # # # max simultaneous download task number, runtime modifiable, default: 5max-concurrent-downloads=1# The number of connections for the same server, which can be specified when added, default: 1max-connection-per-server=5# minimum file shard size, can be specified when added, value range 1m-1024m, default: 20m# assumes size=10m, file is 20MiB downloaded using two sources; File 15MiB uses one source to download min-split-size=10m# maximum number of threads for a single task, which can be specified when added, default: 5split=5# Overall download speed limit, runtime modifiable, default: 0# max-overall-download-limit=0# single task download speed limit, default: 0#max-download-limit=0# Overall upload speed limit, shippingWhen row can be modified, default: 0#max-overall-upload-limit=0# single task upload speed limit, default: 0#max-upload-limit=0# disable IPV6, default: falsedisable-ipv6=true## Progress Saving Related # # # read the download task from the session file input-file=/etc/aria2/aria2.session# save ' ERROR/unfinished ' download task on ARIA2 exit to session file save-session=/etc/aria2/ aria2.session# timed Save session, 0 for exit to save, 1.16.1 or later, default: 0#save-session-interval=60## RPC Related Settings # # # Enable RPC, default: falseenable-rpc= true# allow all sources, default: falserpc-allow-origin-all=true# allow non-external access, default: Falserpc-listen-all=true# Event Polling method, value: [Epoll, Kqueue, port , poll, select], different system default values #event-poll=select# RPC listener port, the port is occupied can be modified, default: 6800#rpc-listen-port=6800# Set the RPC authorization token, v1.18.4 New to replace the--rpc-user and--RPC-PASSWD options #rpc-secret=<token># set RPC access username, this option is deprecated, it is recommended to use the--rpc-secret option # rpc-user=<user># Set RPC access password, this new version is deprecated, it is recommended to use the--rpc-secret option #rpc-passwd=<passwd>## bt/pt download related to # # # is now a seed ( Start BT task automatically when end of. Torrent, default: true#follow-torrent=true# BT listening port, used when port is masked, default: 6881-6999listen-port=51413# single seed max connection, default : 55#bt-max-peers=55# Open DHT function, PT needs to be disabled, default: trueenable-dht=false# open IPv6 DHT function, PT needsDisable #enable-dht6=false# DHT network listening port, default: 6881-6999#dht-listen-port=6881-6999# Local node lookup, PT needs to be disabled, default: false#bt-enable-lpd= false# seed Exchange, PT needs to be disabled, default: trueenable-peer-exchange=false# per seed speed limit, very useful for a few kinds of PT, default: 50k#bt-request-peer-speed-limit=50k# Client Camouflage, PT needs peer-id-prefix=-tr2770-user-agent=transmission/2.77# when the seed share rate reaches this number, automatically stop to do the species, 0 to do the seed, default: 1.0seed-ratio=0# Force the session to be saved, even if the task is completed, by default: false# when the newer version is turned on, it remains after the task is completed. aria2 file #force-save=false# BT checksum correlation, default: true#bt-hash-check-seed=true# To continue the previous BT task without re-checking, the default: falsebt-seed-unverified=true# save the torrent metadata as a seed file (. torrent file), default: Falsebt-save-metadata=true
New link Task Advanced

To add a link directly to the download file:

Http://www.url.com/file.zip

Download the same file from multiple address sources (separated by a space):

Http://www.url1.com/file.zip Www.url2.com/file.zip

Download a file using n threads ("X2" is 2 threads):

-X2 Http://www.url.com/file.zip

Get download link download file from txt text document:

-I. Http://www.url.com/url.txt
collocation scripts/Extensions

Thunderbolt offline (member account required)

    • Chrome extension:thunderlixianassistant
    • Userscript:thunderlixianexporter

Whirlwind offline

    • Userscript:xuanfengex
    • Userscript:lixianexporter

Baidu Network Disk

    • Chrome Extension:baiduexporter
    • Firefox Addons:baiduexporter
    • Userscript:baidupandownloadhelper

Other scripts

    • Chrome Extension: Add to ARIA2 Chrome Download Helper

Aria2 using Codex (Easy Deployment + fast advanced)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.