“学翻墙,需要先会翻墙,才能学习翻墙。” —— 逗比悖论
逗比交流群:Telegram

一个支持 离线下载/BT/磁力链接 的在线管理工具 —— Aria2 WebUI

碉堡网站 Toyo 31评论
文章目录
[显示]
本文最后更新于 2017年2月16日 23:06 可能会因为没有更新而失效。如已失效或需要修正,请留言!

Aria2是一个命令行下运行、多协议、多来源下载工具,支持迅雷磁力链接、BT种子、HTTP、FTP等下载协议,当然了它是命令行下载工具我们想下载一个东西还需要去敲命令自然是不方便,但是现在有人开发了一个WebUI,可以直接在网页上面添加管理任务。


界面截图

声明:本文章仅提供 BT/磁力链接 下载工具的安装方法和说明,任何使用此工具 下载版权侵权文件或导致任何经济损失,皆和本人无任何关系!如果你不同意或有异议,请关闭这个网页!

配置环境

教程测试环境是:Debian 7

这个Aria2 WebUI是一个 Web面板 + Aria2c后端 组成的。

而这个 Web面板并没有用到PHP,所以不需要PHP环境,只要能运行HTML就可以了。

我这里提供三个方法:Nginx、Apache、LNMP一键包

因为不需要PHP,不需要数据库,所以单独安装Nginx或者apache都是可以的,也是属于最简安装。当然LNMP一键包我写教程都会带上这个的。

Nginx

apt-get install nginx -y

这时候你的 虚拟主机文件夹就是这个,进入这个文件夹,并删除默认的首页:

cd /usr/share/nginx/www
rm -rf index.html

Apache

注意这个,一些openvz框架的系统可能会自带apache,不要重复安装。

apt-get install apache -y

这时候你的 虚拟主机文件夹就是这个,进入这个文件夹,并删除默认的首页:

cd /var/www
rm -rf index.html

LNMP一键包

当然还是 军哥的LNMP一键包 啦。

安装完之后,如果是想用域名那就 添加虚拟主机

如果你是想使用 添加了虚拟主机,那 虚拟主机文件夹就是这个,进入这个文件夹:

cd /home/wwwroot/你的域名

如果你是想使用 IP,那 虚拟主机文件夹就是这个,进入这个文件夹,并删除默认的首页:

cd /home/wwwroot/default
rm -rf index.html

注意:这个默认的文件夹里还有一个 phpmyadmin 文件夹,建议改一下名字不要删除。

安装步骤

一下安装步骤,我以 LNMP一键包 的虚拟主机目录 为例!

首先是安装 aria2c 后端和git。

apt-get install aria2 git -y

然后通过上面的配置环境步骤 进入你的虚拟主机文件夹,执行以下命令安装前端面板:

git clone https://github.com/ziahamza/webui-aria2.git
# github地址:https://github.com/ziahamza/webui-aria2

mv webui-aria2/* .
rm -rf webui-aria2

chmod -R 755 你的虚拟主机文件夹
# 例如chmod -R 755 /home/wwwroot/233.com

然后这时候通过你的 域名或者IP 就可以访问你的 前端面板了。

当然这个时候还没有启动 后端,所以前端面板在无法连接到后端的时候会一直提示出错。

配置后端

因为 aria2c 后端启动后就不能关闭SSH,所以需要设置一下后台运行。

apt-get install screen -y
# 安装screen

screen -S aria2c
# 创建aria2c活动(名称随意)

screen -r aria2c
# 如果你关闭SSH后想重新进入这个活动就输入这个。

然后就是启动 aria2c 后端了,下面这个代码是直接启动。

aria2c --enable-rpc --rpc-listen-all

下面这个代码是设置了下载文件目录、登录用户名和密码(强烈建议使用这个代码来进行加密,避免暴露你的IP或域名)

aria2c --enable-rpc=true --rpc-listen-all --rpc-allow-origin-all=true --rpc-listen-all=true --dir=/home/wwwroot/你的域名/download --rpc-user=用户名 --rpc-passwd=用户密码

运行完后,访问你的 IP 或者 域名 进入前端面板配置。

配置前端

首先,如果你设置了登录用户名和密码,那你打开网站后就会提示输入用户名和密码。

没有设置这个或者登录进去后,需要设置 连接设置

点击顶部菜单栏 设置——连接设置

主机选项,如果你用的是IP或者域名就填写上去,也可以留空,留空代表默认本机。

端口选项,后端启动的时候没有指定端口的话就是默认的6800.

用户名和密码选项是可选的,根据上面启动后端时候设置的填写。

最后的直接下载选项,就是填写相对路径

比如你的 虚拟主机文件夹 /home/wwwroot/你的域名

然后你的 下载文件目录 /home/wwwroot/你的域名/download

那么你就填写 /download/

最后点击下面的 保存连接设置 按钮,不出意外就会提示连接成功,当然有时候还是会提示失败,多刷新几次就好了。

这时候你就可以添加下载任务了。

使用链接下载 为例,下载我的 逗比 · 云 中的一个视频文件。

pause 选项是,提交下载任务后,是暂停还是直接下载,默认false就是提交后直接下载了。

dir 选项就是下载目录了。

然后点击 开始 提交下载任务。

下载完成后,如果你在 连接设置 中设置的直接下载的相对路径正确,那你直接点击下面的文件名就可以下载到本地了。

当然因为 html5的支持,一些视频文件可以在线播放。

所以就实现了,离线下载视频,并在线观看!

注意事项

这个前端面板并不会保存任何设置,所有设置都是 从后端的启动参数中获取的。

大部分IDC都是对版权文件敏感,特别是美国的VPS,当你下载BT和磁力链接文件的时候,很有可能会被封VPS。

所以请自行选择 版权文件不敏感的 瑞典 乌克兰 俄罗斯 罗马尼亚 地区的IDC的VPS。

其他的支持离线下载 BT和磁力链接的教程:

转载请超链接注明:逗比根据地 » 一个支持 离线下载/BT/磁力链接 的在线管理工具 —— Aria2 WebUI
责任声明:本站一切资源均原创或收集自互联网,仅作交流学习之用,请勿用作商业!如造成任何后果,本站概不负责!

赞 (18)or打赏
发表我的评论
取消评论
表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(31)个小伙伴在吐槽
  1. 站长,按照教程安装的版本是1.15.1,怎么更新到最新版?apt-get说是最新版了
    Lao2017-02-16 18:39 回复
    • 站长,你好。自己下载源码安装出现错误。 Linux debian 4.9.10-040910-generic #201702141931 SMP Wed Feb 15 00:33:24 UTC 2017 x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Feb 16 19:02:47 2017 from 182.150.160.115 root@debian:~# cd ar root@debian:~/ar# cd aira2-1.31.0 -bash: cd: aira2-1.31.0: 没有那个文件或目录 root@debian:~/ar# cd aria2-1.31.0 root@debian:~/ar/aria2-1.31.0# ./configure checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking for bison... bison -y checking dependency style of gcc... gcc3 checking for ar... (cached) ar checking for sphinx-build... no checking for rst2html.py... no checking for rst2html... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.20... yes checking whether g++ supports C++11 features by default... no checking whether g++ supports C++11 features with -std=c++11 ... yes checking whether the c++ compiler supports nullptr... checking whether the C++ compiler supports `override` keyword... yes checking for CPPUNIT... yes checking for ZLIB... yes checking for gzbuffer... yes checking for gzsetparams... yes checking for LIBXML2... yes checking for SQLITE3... no configure: WARNING: No package 'sqlite3' found checking whether to enable Mac OS X native SSL/TLS... no checking for main in -lcrypt32... no checking for main in -lsecur32... no checking for main in -ladvapi32... no checking for wincrypt.h... no checking for security.h... no checking for LIBGNUTLS... yes checking for gnutls_certificate_set_x509_system_trust... no checking for LIBNETTLE... no checking for libgcrypt-config... /usr/bin/libgcrypt-config checking for LIBGCRYPT - version >= 1.2.4... yes (1.5.0) checking for LIBSSH2... yes checking for LIBCARES... yes checking for ares_addr_node... yes checking for ares_set_servers... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for ANSI C header files... (cached) yes checking argz.h usability... yes checking argz.h presence... yes checking for argz.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking for inttypes.h... (cached) yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking port.h usability... no checking port.h presence... no checking for port.h... no checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking stdio_ext.h usability... yes checking stdio_ext.h presence... yes checking for stdio_ext.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for int8_t... yes checking for mode_t... yes checking for off_t... yes checking for size_t... (cached) yes checking for ssize_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for pid_t... yes checking for working volatile... yes checking for ptrdiff_t... yes checking for struct timespec... yes checking whether byte ordering is bigendian... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for error_at_line... yes checking whether gcc needs -traditional... no checking for working memcmp... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for working strtod... yes checking for __argz_count... yes checking for __argz_next... yes checking for __argz_stringify... yes checking for atexit... yes checking for ftruncate... yes checking for getcwd... yes checking for gethostbyaddr... yes checking for gethostbyname... yes checking for getifaddrs... yes checking for getpagesize... yes checking for getrandom... no checking for memchr... yes checking for memmove... yes checking for mempcpy... yes checking for memset... yes checking for mkdir... yes checking for mmap... yes checking for munmap... yes checking for nl_langinfo... yes checking for posix_fadvise... yes checking for posix_memalign... yes checking for pow... yes checking for putenv... yes checking for rmdir... yes checking for select... yes checking for setlocale... yes checking for sigaction... yes checking for sleep... yes checking for socket... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for strtoull... yes checking for tzset... yes checking for unsetenv... yes checking for usleep... yes checking for utime... yes checking for utimes... yes checking for getrandom linux syscall interface... no checking for epoll_create... yes checking for posix_fallocate... yes checking for fallocate... yes checking for asctime_r... yes checking for localtime_r... yes checking for basename... yes checking for gai_strerror... yes checking for getaddrinfo... yes checking for gettimeofday... yes checking for strptime... yes checking for daemon... yes checking for poll... yes checking for timegm... yes checking for port_associate... no checking for kqueue... no checking for struct sockaddr_in.sin_len... no checking for struct sockaddr_in6.sin6_len... no checking whether struct option.name is assignable from const char*... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/libaria2.pc config.status: creating src/includes/Makefile config.status: creating test/Makefile config.status: creating po/Makefile.in config.status: creating lib/Makefile config.status: creating doc/Makefile config.status: creating doc/manual-src/Makefile config.status: creating doc/manual-src/en/Makefile config.status: creating doc/manual-src/en/conf.py config.status: creating doc/manual-src/ru/Makefile config.status: creating doc/manual-src/ru/conf.py config.status: creating doc/manual-src/pt/Makefile config.status: creating doc/manual-src/pt/conf.py config.status: creating deps/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile === configuring in deps/wslay (/root/ar/aria2-1.31.0/deps/wslay) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking target system type... x86_64-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking dependency style of g++... gcc3 checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.20... yes checking for sphinx-build... no checking for NETTLE... no checking for CU_initialize_registry in -lcunit... no checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for size_t... yes checking for ssize_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for ptrdiff_t... yes checking whether byte ordering is bigendian... no checking for memmove... yes checking for memset... yes checking for ntohl... yes checking for ntohs... yes checking for htons... yes configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating lib/libwslay.pc config.status: creating lib/includes/Makefile config.status: creating lib/includes/wslay/wslayver.h config.status: creating tests/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing libtool commands config.status: executing depfiles commands configure: summary of build options: version: 1.0.1-DEV shared 0:1:0 Host type: x86_64-pc-linux-gnu Install prefix: /usr/local C compiler: gcc CFlags: -g -O2 Library types: Shared=yes, Static=yes CUnit: no Nettle: no Build examples: no configure: summary of build options: Build: x86_64-pc-linux-gnu Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnu Install prefix: /usr/local CC: gcc CXX: g++ CPP: gcc -E CXXFLAGS: -g -O2 CFLAGS: -g -O2 CPPFLAGS: LDFLAGS: LIBS: DEFS: -DHAVE_CONFIG_H CXX1XCXXFLAGS: -std=c++11 EXTRACXXFLAGS: -pipe EXTRACFLAGS: -pipe EXTRACPPFLAGS: EXTRALDFLAGS: EXTRALIBS: WARNCXXFLAGS: LibUV: no (CFLAGS='' LIBS='') SQLite3: no (CFLAGS='' LIBS='') SSL Support: yes AppleTLS: no (LDFLAGS='') WinTLS: no (LIBS='') GnuTLS: yes (CFLAGS='-I/usr/include/p11-kit-1 ' LIBS='-lgnutls ') OpenSSL: no (CFLAGS='' LIBS='') CA Bundle: LibNettle: no (CFLAGS='' LIBS='') LibGmp: no (CFLAGS='' LIBS='') LibGcrypt: yes (CFLAGS='' LIBS='-L/lib/x86_64-linux-gnu -lgcrypt') LibXML2: yes (CFLAGS='-I/usr/include/libxml2 ' LIBS='-lxml2 ') LibExpat: no (CFLAGS='' LIBS='') LibCares: yes (CFLAGS=' ' LIBS='-lcares ') Zlib: yes (CFLAGS=' ' LIBS='-lz ') Libssh2: yes (CFLAGS=' ' LIBS='-Wl,-z,relro -lssh2 -lgcrypt ') Tcmalloc: no (CFLAGS='' LIBS='') Jemalloc: no (CFLAGS='' LIBS='') Epoll: yes Bittorrent: yes Metalink: yes XML-RPC: yes Message Digest: libgcrypt WebSocket: yes (CFLAGS='-I$(top_builddir)/deps/wslay/lib/includes -I$(top_srcdir)/deps/wslay/lib/includes' LIBS='$(top_builddir)/deps/wslay/lib/libwslay.la') Libaria2: no (shared=yes static=no) bash_completion dir: ${datarootdir}/doc/${PACKAGE_TARNAME}/bash_completion Static build: no root@debian:~/ar/aria2-1.31.0# make make all-recursive make[1]: Entering directory `/root/ar/aria2-1.31.0' Making all in po make[2]: Entering directory `/root/ar/aria2-1.31.0/po' make[2]: Leaving directory `/root/ar/aria2-1.31.0/po' Making all in lib make[2]: Entering directory `/root/ar/aria2-1.31.0/lib' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/root/ar/aria2-1.31.0/lib' Making all in deps make[2]: Entering directory `/root/ar/aria2-1.31.0/deps' Making all in wslay make[3]: Entering directory `/root/ar/aria2-1.31.0/deps/wslay' make all-recursive make[4]: Entering directory `/root/ar/aria2-1.31.0/deps/wslay' Making all in lib make[5]: Entering directory `/root/ar/aria2-1.31.0/deps/wslay/lib' Making all in includes make[6]: Entering directory `/root/ar/aria2-1.31.0/deps/wslay/lib/includes' make[6]: Nothing to be done for `all'. make[6]: Leaving directory `/root/ar/aria2-1.31.0/deps/wslay/lib/includes' make[6]: Entering directory `/root/ar/aria2-1.31.0/deps/wslay/lib' /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -Wall -g -O2 -MT wslay_frame.lo -MD -MP -MF .deps/wslay_frame.Tpo -c -o wslay_frame.lo wslay_frame.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -Wall -g -O2 -MT wslay_frame.lo -MD -MP -MF .deps/wslay_frame.Tpo -c wslay_frame.c -fPIC -DPIC -o .libs/wslay_frame.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -Wall -g -O2 -MT wslay_frame.lo -MD -MP -MF .deps/wslay_frame.Tpo -c wslay_frame.c -o wslay_frame.o >/dev/null 2>&1 mv -f .deps/wslay_frame.Tpo .deps/wslay_frame.Plo /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -Wall -g -O2 -MT wslay_event.lo -MD -MP -MF .deps/wslay_event.Tpo -c -o wslay_event.lo wslay_event.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -Wall -g -O2 -MT wslay_event.lo -MD -MP -MF .deps/wslay_event.Tpo -c wslay_event.c -fPIC -DPIC -o .libs/wslay_event.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -Wall -g -O2 -MT wslay_event.lo -MD -MP -MF .deps/wslay_event.Tpo -c wslay_event.c -o wslay_event.o >/dev/null 2>&1 mv -f .deps/wslay_event.Tpo .deps/wslay_event.Plo /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -Wall -g -O2 -MT wslay_queue.lo -MD -MP -MF .deps/wslay_queue.Tpo -c -o wslay_queue.lo wslay_queue.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -Wall -g -O2 -MT wslay_queue.lo -MD -MP -MF .deps/wslay_queue.Tpo -c wslay_queue.c -fPIC -DPIC -o .libs/wslay_queue.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -Wall -g -O2 -MT wslay_queue.lo -MD -MP -MF .deps/wslay_queue.Tpo -c wslay_queue.c -o wslay_queue.o >/dev/null 2>&1 mv -f .deps/wslay_queue.Tpo .deps/wslay_queue.Plo /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -Wall -g -O2 -MT wslay_net.lo -MD -MP -MF .deps/wslay_net.Tpo -c -o wslay_net.lo wslay_net.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -Wall -g -O2 -MT wslay_net.lo -MD -MP -MF .deps/wslay_net.Tpo -c wslay_net.c -fPIC -DPIC -o .libs/wslay_net.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DHAVE_CONFIG_H -I./includes -I./includes -Wall -g -O2 -MT wslay_net.lo -MD -MP -MF .deps/wslay_net.Tpo -c wslay_net.c -o wslay_net.o >/dev/null 2>&1 mv -f .deps/wslay_net.Tpo .deps/wslay_net.Plo /bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -O2 -no-undefined -version-info 0:1:0 -o libwslay.la wslay_frame.lo wslay_event.lo wslay_queue.lo wslay_net.lo libtool: warning: '-version-info/-version-number' is ignored for convenience libraries libtool: link: rm -fr .libs/libwslay.a .libs/libwslay.la libtool: link: ar cru .libs/libwslay.a .libs/wslay_frame.o .libs/wslay_event.o .libs/wslay_queue.o .libs/wslay_net.o libtool: link: ranlib .libs/libwslay.a libtool: link: ( cd ".libs" && rm -f "libwslay.la" && ln -s "../libwslay.la" "libwslay.la" ) make[6]: Leaving directory `/root/ar/aria2-1.31.0/deps/wslay/lib' make[5]: Leaving directory `/root/ar/aria2-1.31.0/deps/wslay/lib' Making all in tests make[5]: Entering directory `/root/ar/aria2-1.31.0/deps/wslay/tests' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/root/ar/aria2-1.31.0/deps/wslay/tests' make[5]: Entering directory `/root/ar/aria2-1.31.0/deps/wslay' make[5]: Leaving directory `/root/ar/aria2-1.31.0/deps/wslay' make[4]: Leaving directory `/root/ar/aria2-1.31.0/deps/wslay' make[3]: Leaving directory `/root/ar/aria2-1.31.0/deps/wslay' make[3]: Entering directory `/root/ar/aria2-1.31.0/deps' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/root/ar/aria2-1.31.0/deps' make[2]: Leaving directory `/root/ar/aria2-1.31.0/deps' Making all in src make[2]: Entering directory `/root/ar/aria2-1.31.0/src' Making all in includes make[3]: Entering directory `/root/ar/aria2-1.31.0/src/includes' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/root/ar/aria2-1.31.0/src/includes' make[3]: Entering directory `/root/ar/aria2-1.31.0/src' CXX AbstractAuthResolver.lo In file included from AbstractAuthResolver.cc:35:0: AbstractAuthResolver.h:46:11: error: looser throw specifier for ‘virtual aria2::AbstractAuthResolver::~AbstractAuthResolver()’ In file included from AbstractAuthResolver.h:38:0, from AbstractAuthResolver.cc:35: AuthResolver.h:49:11: error: overriding ‘virtual aria2::AuthResolver::~AuthResolver() noexcept (true)’ make[3]: *** [AbstractAuthResolver.lo] 错误 1 make[3]: Leaving directory `/root/ar/aria2-1.31.0/src' make[2]: *** [all-recursive] 错误 1 make[2]: Leaving directory `/root/ar/aria2-1.31.0/src' make[1]: *** [all-recursive] 错误 1 make[1]: Leaving directory `/root/ar/aria2-1.31.0' make: *** [all] 错误 2 root@debian:~/ar/aria2-1.31.0# 谷歌了一下看不明白。站长,你出个自动安装的吧
      Lao2017-02-16 19:17 回复
      • 编译安装,需要安装大量的支持库和依赖,看着就头疼。
        Toyo2017-02-16 19:53 回复
  2. 装完之后发现除了BT别的下载都有速度,BT一直是0,查了下好像都是有这个问题的,求解
    Araragi2017-02-10 13:19 回复
    • DTH问题,详细的我也不清楚,刚安装BT没有速度,都是DTH问题。
      Toyo2017-02-10 13:51 回复
      • 好像是我设置的不对,我在前端下了一个文件后却找不到download文件夹。但是这文件确实已经在机器里了,可以下载。而且这个aria2.conf文件也不在root目录里面..
        Araragi2017-02-10 16:48 回复
  3. 站长,把安转yaaw汉化版的教程也一并写了吧。这个ui我用uc浏览器访问显示乱码,uc云加速是关闭了的
    lao2017-02-06 15:11 回复
  4. 打开ip:6800输入完密码之后一片空白怎么办。 密码是对的
    saber2017-01-07 12:57 回复
  5. centos 安装过程中还是有很大的问题,没有详细的解决方案,Google了一下国外的朋友貌似说要自行编译。
    bogie2017-01-05 16:57 回复
    • 不清楚,不用centos,我只用debian/ubuntu。
      Toyo2017-01-05 18:34 回复
  6. 写一个windows下使用aria2的教程吧
    潜龙勿用2016-12-15 17:32 回复
    • 这个其实挺容易的,本来几个月前就打算上写的,只是我测试后发现,Aria2的DHT不行,下载BT和磁力链接要么解析不出来,要么下载速度非常慢,windows还是用迅雷这种 用户量大,DHT充足的工具吧。
      Toyo2016-12-15 19:32 回复
  7. 是不是失效了?为什么一步步的来,到了aria2c --enable-rpc --rpc-listen-all这一步就提示bash: aria2c: command not found,前端可以打开呀!
    你猜呀?2016-11-19 18:04 回复
    • aria2c 的安装有问题,我只在debian7 x64的系统上面测试过。
      Toyo2016-11-19 18:34 回复
      • 就是debina7 X64的系统
        你猜呀?2016-11-20 10:16 回复
  8. 为啥我点击下载好的文件文件名后会出现 404 not found
    eepldo2016-11-05 13:20 回复
    • 404是找不到文件,你去看看是不是下载到其他地方了。
      Toyo2016-11-05 14:40 回复
  9. windows怎么用啊
    Guangd2016-11-03 13:18 回复
  10. aria2c --enable-rpc --rpc-listen-all 这一句显示bash: aria2c: command not found
    hkfix2016-10-18 20:59 回复
    • 没有这个命令,说明安装出问题了。
      Toyo2016-10-18 22:19 回复
      • yum -y install aria2 显示Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds from cached hostfile No package aria2 available. Error: Nothing to do
        hkfix2016-10-19 21:57 回复
      • 已经更新过了YUM了
        hkfix2016-10-19 21:58 回复
  11. 有演示吗? 如果自己看估计可以,真实要分享给别人。分分钟崩溃吗?
    筑楼2016-10-15 14:06 回复
    • 没有链接后端,前端就是个壳,加上后端演示,分分钟版权投诉。
      Toyo2016-10-16 00:49 回复
  12. 博主,我是按照Nginx+aria2+Screen搭建的,但是我下载的mp4无法播放,点击一下就下载的信息收缩回去了.........,我该如何解决?
    Null2016-09-29 10:21 回复
  13. 我只想问下那个红蔷薇白玫瑰是不是只有封面一个图像的视频
    arimakousei2016-09-09 12:18 回复
  14. 为啥我尝试了很多次启动后端都失败
    hyk3132016-08-21 21:23 回复
  15. 其实我觉得可以顺便把https://github.com/meoow/aria2rpc里面的脚本使用方法也贴上去。。。。毕竟copy太烦了 可惜脚本有各种缺陷(比如文件名有时操蛋、flashgot不支持带""的参数、改ua麻烦 等等),不过大部分时候都挺好用的
    Phanes2016-08-21 14:10 回复
  16. 顶!d=====( ̄▽ ̄*)b
    20646055262016-08-19 16:55 回复