aria2

下载怎么办,试试Aria2

不羁岁月 提交于 2019-12-10 07:17:50
同步自我的个人博客 墨语的后花园 ,请多多指教。 刚使用Linux的时候,对于下载东西会有种无力感,没了迅雷,没了常见的下载工具,那怎么办呢? wine 环境下面搞一个,还是搞下其他的工具?后来在我几经尝试之下,我发现了 Aria2 这个下载工具,所以这篇博客就是来介绍这个下载工具的使用的。 那我们的目标是什么呢,那就是我们将其伪装成了一个BT客户端,还和百度云盘和Chrome进行了集成,还是做成了一个Systemd的服务,并且有个桌面客户端,想想是不是有点激动,那就开始吧。 安装 对于 Aria2 这个工具来说,绝大部分的发现版已经内置在官方维护的镜像中,最大的区别就是可能在不同发行版本之下的默认版本不同,但是一般情况下也没有什么影响,所以可以一行命令就搞定这个事情。 # 以ArchLinux作为示例 pacman -S aria2 配置 安装完成了,那我们就要说一下配置了,如果只是简单的使用,配置还是很简单的。但是我们的目标是伪装成一个BT客户端,能在Chrome中使用,还能使用百度云并且还能支持开机启动,这个在配置上来说就有点麻烦,所以我们得一步一步的来。 基本配置 对于基本的配置来说,最重要的几点就是下载的位置,下载任务进度的保存位置以及远程访问的密码等这些配置。 这里有个示例配置的 网站 ,我们可以在这个配置的基础上进行修改后得到我们的配置。

Can aria2c download list of urls with specific file names for each?

℡╲_俬逩灬. 提交于 2019-12-08 16:54:02
问题 For example i have a list of URLs: https://link.com/file/get/somefile.ext https://go.com/download/anotherfile.ext https://program.com/selection/download.php?id=26162 I want to set a specific name for last URL, something like this: https://program.com/selection/download.php?id=26162 -o thirdfile.ext Is it possible with aria2c download list syntax? I know that I can do like this: aria2c https://link.com/file/get/somefile.ext aria2c https://go.com/download/anotherfile.ext aria2c https://program

Debian 如何搭建使用 aria2c 作为下载工具

情到浓时终转凉″ 提交于 2019-12-07 20:22:54
aria2 一个方便的下载工具,支持 HTTP/HTTPS , FTP , SFTP , BitTorrent 和 Metalink 。可以通过内置的 JSON-RPC 和 XML-RPC 接口来使用。参考 github 项目 aria2 注意这里使用 Debian进行搭建。不要使用 centos,为什么呢?因为centos 上好多对应的依赖包都找不到,软件版本过低等问题。如果你硬要搭建,可以参考 Centos6编译安装最新Aria2 1.27.1——带你临近网速极限 。 步骤: clone源码 (直接 apt install aria2 的版本过低,后面连接时会会出现问题) git clone https://github.com/aria2/aria2.git 安装相关依赖包 apt install libgnutls-dev nettle-dev libgmp-dev libssh2-1-dev libc-ares-dev libxml2-dev zlib1g-dev libsqlite3-dev pkg-config libgcrypt-dev libssl-dev libexpat1-dev libxml2-dev libcppunit-dev autoconf automake autotools-dev autopoint libtool -y 配置脚本 cd

VBScript - Capturing output from stdout

风流意气都作罢 提交于 2019-12-07 16:38:10
问题 I know this has been answered one in another question, but I simply do not understand how it is done. I am trying to get the output of a command line program (Aria2 downloader) into a HTA script so it can be parsed and the download percentage, file size etc can be obtained and updated into a DIV dynamically. Here is the code I have adjusted and have been trying to use but it just locks up the interface until the command line has finished and THEN displays all the output, instead of displaying

猫盘群辉装qbittorrent和aria2

夙愿已清 提交于 2019-12-06 07:44:07
下面说一下猫盘刷了群晖之后怎么安装常用的下载软件吧,这个方法除了猫盘以外,应该也可以在其他ARM版群晖上使用。ARM版群晖是没法安装docker的,一般安装软件是依靠群晖的套件中心。 安装transmission的话比较简单,直接在套件中心添加第三方源(http://packages.synocommunity.com),然后就可以直接在套件中心的社群里面找到transmission套件进行安装就可以了。 相比起transmission,个人更喜欢qBittorrent,qBittorrent可以通过修改种子的分类管理下载文件的保存路径,比较方便整理。但是群晖的套件中心中没有qBittorrent,也没有aira2,那应该怎么安装呢? 研究了一下,发现其实ARM版群晖是可以安装entware的,那就可以通过opkg来安装entware软件仓库中的大量软件了,可玩性大增有没有! entware的软件列表可以看这里: http://bin.entware.net/armv7sf-k3.2/Packages.html entware官方就有提供安装方法和脚本: https://github.com/Entware/Entware/wiki/Install-on-Synology-NAS 。安装方法也不复杂。不过我们可以用一个更简单的方法来安装entware: 1

树莓派搭建NAS,局域网共享以及百度云下载机

懵懂的女人 提交于 2019-12-06 06:08:38
树莓派做NAS,局域网中分享电影还是非常爽的,配合aria2及其百度云下载脚本可以下载百度云中的文件到本地,速度飞快。 硬盘 要做NAS,必须要有硬盘,我这里使用的是从旧笔记本上拆下来的120G硬盘。由于树莓派的供电问题,最好有一个有源的USB HUB,免得出现各种神奇的问题。 根据我的经验,如果想省事儿,最好把硬盘格式化成ext4格式。千万别在树莓派上格式化,那个速度简直… 在电脑上用 MiniTool Partition Wizard 把硬盘格式化成ext4格式,方法可以自行百度。 相关命令 1 如果硬盘是NTFS格式的,需要安装ntfs-3g来支持,命令行如下: sudo apt - get install ntfs - 3g 2 查看硬盘的名称 sudo fdisk - l 3 挂载硬盘 mkdir ~/ nas sudo mount / dev / sda1 ~ /nas # 挂载硬盘到nas文件夹,`/ dev / sda1 `根据实际情况变化,下面相同 sudo chmod 766 ~/nas # 设置文件夹权限 4 如果不想每次开机都敲一遍命令行,可以设置自动挂载硬盘 sudo nano / etc / fstab # 使用nano打开fstab文件,在最后面添加一行 /dev/ sda1 / home / pi / nas ext4 defaults 0 0

VBScript - Capturing output from stdout

爷,独闯天下 提交于 2019-12-05 19:55:16
I know this has been answered one in another question, but I simply do not understand how it is done. I am trying to get the output of a command line program (Aria2 downloader) into a HTA script so it can be parsed and the download percentage, file size etc can be obtained and updated into a DIV dynamically. Here is the code I have adjusted and have been trying to use but it just locks up the interface until the command line has finished and THEN displays all the output, instead of displaying it as and when it comes through. Const WshRunning = 0 Const WshFinished = 1 Const WshFailed = 2

2.树莓派3安装archlinux配置web、samba和aria2

ε祈祈猫儿з 提交于 2019-12-05 09:15:29
本文永久更新地址:https://my.oschina.net/bysu/blog/1572517 archlinux一些常规配置,请看《 1.树莓派3安装archlinux通用配置部分 》 1.配置web服务(基于LAMP) 英文文档比较丰富: https://wiki.archlinux.org/index.php/Apache_HTTP_Server 1.1 先安装Apache、PHP pacman -Sy php php-apache php-gd 【上面命令会自动安装Apache、PHP】 先启动一下Apache看报什么错误 [root@alarm alarm]# apachectl AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::ba27:ebff:fe34:38d5. Set the 'ServerName' directive globally to suppress this message 配置apache: vi /etc/httpd/conf/httpd.conf 查找ServerName,会看到#ServerName www.example.com:80。把前面的注释#去掉,然后改成你自己的主机名

Aria2 CONF

核能气质少年 提交于 2019-12-04 20:27:48
1 大文件磁盘预分配需要关注,按 aria2c cmdoption-file-allocation 的记录缺省的配置为 prealloc 但这个是最慢的。falloc只能在windows + NTFS下有效, deianb + NTFS无效。考虑到下载为主的需求,选择了none,以及8M磁盘缓存。 2 webui常用: http://aria2c.com/ https://ziahamza.github.io/webui-aria2/ http://ariang.mayswind.net/latest/#!/downloading 后续: 试用trunc和ext等的格式。 来源: https://www.cnblogs.com/TanHC/p/11881658.html

宝塔面板部署下载神器Aria2+AriaNg

流过昼夜 提交于 2019-12-04 19:46:39
这是一个很老的教程,网上搜索下是有很多的,但是,大鸟博客里是没有类似教程的,所以要把这么好用的东西给补充进来,这篇文章就准备水一下这个东东的安装和使用。Aria2 是一个轻量级的多协议和多源命令行 下载实用程序。它支持 HTTP / HTTPS,FTP,SFTP, BitTorrent 和 Metalink。aria2 可以通过内置的 JSON-RPC 和 XML-RPC 接口进行操作。 AriaNg 是一个管理 aria2 的 Web 前端. AriaNg 使用纯 html & javascript 开发, 所以其不需要任何编译器或运行环境. 您只要将 AriaNg 放在您的 Web 服务器里并在浏览器中打开即可使用. AriaNg 使用响应式布局, 支持各种计算机或移动设备。当然了 Aria2 的前端有很多,大鸟这里就介绍 Aria2+AriaNg 这个组合模式,搭建环境宝塔面板最新版本。安装好 lnmp 环境。 一:安装 Aria2 我们这里使用一键脚本来安装,有大神提供了脚本,代码如下: wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubiBackup/doubi/master/aria2.sh && chmod +x aria2.sh && bash aria2.sh