Aria2 configuration and use detailed tutorial

Foreword

Baidu network disk now increasingly favored, daily use hit is inevitable, but some restrictions on the use of it more and more difficult to use, for example, do not buy what the members have to speed ah, especially for Mac users, and no customer end, so when downloading large files very painful, but since has Aria 2, which it is not a problem.

Aria2 Profile

Aria2 is a lightweight multi-platform, supports HTTP, FTP, BitTorrent and other multi-protocol, multi-source command-line download tool. Aria2 can download resources from multiple sources, multiple protocols, the use of your bandwidth maximum extent. Aria2 case has a very small footprint, in the case of closed disk cache, the physical footprint typically 4M (normal HTTP / FTP download of the case), BitTorrent download 2.8M per second / S's, CPU share of about 6%. Aria2 supports JSON-RPC and XML-RPC interface to remote calls.

 Aria 2 looks to use and configure a lot of trouble, macdown small series compiled a tutorial to share the following, hoping to help more people to use.

Aria2 configuration and use detailed tutorial

First, install Aria2

Second, placement

1, download the configuration file (available Baidu search Download)

2, open the configuration file with a text editor: aria2.conf

3, the second line edit " the dir = / the Users / XXX / Downloads ", will be replaced XXX your user name, as shown below:

06170930_765ece42bd.png

4, open Terminal (Terminal)

5, enter: mkdir ~ / .aria2

6, after the completion of the previous step, the user root directory, that is: / Users / username path next time produce a .aria2 , but is hidden, just needs to be configured file aria2.conf dragged into it.

显示隐藏路径的 Terminal 命令:defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder

取消隐藏路径的 Terminal 命令:defaults write com.apple.finder AppleShowAllFiles -bool false ; killall Finder

7、下载 Aria2 应用文件(同样可百度搜索)

8、将下载好的 Aria2 应用文件解压缩,并拖到 Applications 文件夹(即:应用程序)

下载的文件是:aria2c.zip,解压缩后会得到一个文件夹:aria2c(这就是一个App,不是一个文件夹!)

你需要做的就是:将这个  aria2c 文件夹 拖动到 应用程序 文件夹里面!!别把里面的文件拖过去。。。

06171308_2a70cc0d89.jpeg

9、运行 Aria2 ,在 Terminal 中输入:aria2c

10、检查 Aria2c 是否运行,在 Terminal 中输入:ps aux|grep aria2c

如正常则如下图:

06171408_910e05b7b4.jpeg

如果不是,请检查上面的路径配置部分。

注意:推荐两个网址里面有aria2.conf 配置的详细说明,想更深入的了解的朋友可以去看看。

http://aria2c.com/usage.html 

https://aria2.github.io/manual/en/html/aria2c.html 

三、Aria 2 虽然是一个基于命令行的下载工具,但仍有大神开发了更直观的 UI 方便使用,小编以最常用的webui-aria2为参考

完成了上述的几个步骤之后就可以进入 UI 界面操作,操作地址:http://ziahamza.github.io/webui-aria2/

06172531_fef3dae2c3.jpeg

Here you can make a lot of settings, and view download progress, pause, cancel the download.

Fourth, the Baidu network disk download tasks into Aria 2

1, install Chrome plug-in: BaiduExporter (available for download at the Google Store)

Attached Chrome for Mac browser address

[dl]15-5446[/dl]

2, after installation, enter the Baidu cloud disk (without warning after emphasize that the plug-in installed !! You have to go Baidu cloud disk inside the home and other plug-in appears! There may be some slow may have to wait half a minute !!!) It will appear in the tools menu as shown below: (first open Baidu network disk when needed waited patiently for a while, slow)

06173023_85f15988fc.jpegAfter everything is ok, select the file you want to download, and then select Export -ARIA 2 PRC to download!

Fifth, the Thunder offline download task into Aria 2

(Basically the same with Baidu cloud disk mode)

1, install Chrome plug-in:

2, into the Thunder download settings: lixian.xunlei.com

These are macdown small as we bring Aria2 configuration and use of detailed tutorial, it seems a lot of trouble, but step by step in the order of operation can, in fact, is very simple, Terminal operation looks though mysterious, but in fact is more simple, copy command to paste without care

Do not be scared of the number of steps, follow the tutorial operation down, never more than five minutes, and interested friends hurry to try it!


Guess you like

Origin blog.51cto.com/14370425/2476189