Rat's

Aria2+Rclone+DirectoryLister+Aria2Ng一键安装脚本 for Debian
说明:之前发了个VPS结合Google Drive建立BT离线大网盘教程,参考:利用Aria2+AriaNg+H5...
扫描右侧二维码阅读全文
20
2018/02

Aria2+Rclone+DirectoryLister+Aria2Ng一键安装脚本 for Debian

说明:之前发了个VPS结合Google Drive建立BT离线大网盘教程,参考:利用Aria2+AriaNg+H5ai+Google Drive建立离线BT下载/在线播放/无限空间网盘,鉴于很多小白还是不会,加上H5ai有点浪费流量和api,所以友链博主千影写了个一键脚本,使用更好的DirectoryLister替代了H5ai,并自动添加SSL免费证书,Aria2Ng由于使用SSL后影响面板操作,就单独分开了,所以本脚本需要2个域名,并且下载文件自动上传到Google Drive,重启后自动挂载,添加并自动更新Trackers服务器,期间不需要做任何操作,这里分享下脚本。

截图

请输入图片描述
请输入图片描述
请输入图片描述

更新

【2018.12.21】
优化定时任务步骤,最后不再显示定时任务编辑界面。

【2018.8.17】
修复Aria2无法自动更新Trackers服务器的Bug,并优化脚本步骤信息的提示。

脚本

本脚本适用于Debian 8、9。且需要提前使用2个二级域名解析到VPS服务器。

使用命令:

wget https://www.moerats.com/usr/shell/Aria2_Rc_D.sh && bash Aria2_Rc_D.sh

运行脚本后,会依次要你输入以下信息:

#输入网盘域名及Aria2NG面板域名
请输入你的DirectoryLister域名信息:
请输入你的Aria2NG域名信息:

#设置Aria2密钥
请输入你的Aria2密钥:

#配置Rclone,大致如下
n) New remote
s) Set configuration password
q) Quit config
n/s/q> n
name> Rats  #随便填,后面要用到
Type of storage to configure.
Choose a number from below, or type in your own value
 1 / Amazon Drive
   \ "amazon cloud drive"
 2 / Amazon S3 (also Dreamhost, Ceph, Minio)
   \ "s3"
 3 / Backblaze B2
   \ "b2"
 4 / Box
   \ "box"
 5 / Cache a remote
   \ "cache"
 6 / Dropbox
   \ "dropbox"
 7 / Encrypt/Decrypt a remote
   \ "crypt"
 8 / FTP Connection
   \ "ftp"
 9 / Google Cloud Storage (this is not Google Drive)
   \ "google cloud storage"
10 / Google Drive
   \ "drive"
11 / Hubic
   \ "hubic"
12 / Local Disk
   \ "local"
13 / Microsoft Azure Blob Storage
   \ "azureblob"
14 / Microsoft OneDrive
   \ "onedrive"
15 / Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH)
   \ "swift"
16 / Pcloud
   \ "pcloud"
17 / QingCloud Object Storage
   \ "qingstor"
18 / SSH/SFTP Connection
   \ "sftp"
19 / Webdav
   \ "webdav"
20 / Yandex Disk
   \ "yandex"
21 / http Connection
   \ "http"
Storage> 10  #选择10,Google Drive,注意该序列号会随时变化,看清楚再填
Google Application Client Id - leave blank normally.
client_id>  #留空 
Google Application Client Secret - leave blank normally.
client_secret>  #留空
Service Account Credentials JSON file path - needed only if you want use SA instead of interactive login.
service_account_file> 
Remote config
Use auto config?
 * Say Y if not sure
 * Say N if you are working on a remote or headless machine or Y didn't work
y) Yes
n) No
y/n> n  #选择n
If your browser doesn't open automatically go to the following link: https://accounts.google.com/o/oauth2/auth....  #复制到浏览器打开,获取验证码
Log in and authorize rclone for access
Enter verification code>  #填入上面获取到的验证码
Configure this as a team drive?
y) Yes
n) No
y/n> y  #选择y
Fetching team drive list...
No team drives found in your account--------------------
[Rats]
client_id = 
client_secret = 
service_account_file = 
token = {"access_token":"ya29.GltFBd7UJN2qrxdG8FnG_rMuB18ogb8QlujdL7glvXtfV"}
team_drive = 
--------------------
y) Yes this is OK
e) Edit this remote
d) Delete this remote
y/e/d> y  #选择y
Current remotes:

Name                 Type
====                 ====
Rats                 drive

e) Edit existing remote
n) New remote
d) Delete remote
r) Rename remote
c) Copy remote
s) Set configuration password
q) Quit config
e/n/d/r/c/s/q> q  #选择q退出

#最后输入Name
请输入你刚刚输入的Name:

然后脚本安装完成后,就可以直接通过Aria2Ng面板连接Aria2下载文件,并通过网盘观看了。

相关目录

Aria2下载目录:/root/Download
DirectoryLister目录:/home/wwwroot/a.xx.com
Aria2Ng目录:/home/wwwroot/b.xx.com
挂载目录:/home/wwwroot/a.xx.com/Cloud

千影大佬博客:https://www.94ish.me,欢迎去参观。

Vultr新用户注册送100美元/16个机房按小时计费,支持支付宝,【点击查看】。
最后修改:2020 年 04 月 29 日 01 : 01 PM

发表评论 取消回复

424 条评论

  1. Linusonn

    [错误] Aria2 启动失败 !
    mkdir: missing operand
    Try 'mkdir --help' for more information.
    [错误] rclone 启动失败 !

  2. WooYun

    大佬,Debian9今天(20210705)重装两次跑这个一键安装脚本,都是报错SSL 证书生成失败 ,抽空能不能解决一下
    [Mon Jul 5 04:05:29 UTC 2021] OK
    [Mon Jul 5 04:05:29 UTC 2021] Install success!
    [OK] SSL 证书生成脚本安装成功
    [Mon Jul 5 04:05:32 UTC 2021] Using CA: https://acme.zerossl.com/v2/DV90
    [Mon Jul 5 04:05:32 UTC 2021] Standalone mode.
    [Mon Jul 5 04:05:32 UTC 2021] Create account key ok.
    [Mon Jul 5 04:05:32 UTC 2021] No EAB credentials found for ZeroSSL, let's get one
    [Mon Jul 5 04:05:32 UTC 2021] acme.sh is using ZeroSSL as default CA now.
    [Mon Jul 5 04:05:32 UTC 2021] Please update your account with an email address first.
    [Mon Jul 5 04:05:32 UTC 2021] acme.sh --register-account -m my@example.com
    [Mon Jul 5 04:05:32 UTC 2021] See: https://github.com/acmesh-official/acme.sh/wiki/ZeroSSL.com-CA
    [Mon Jul 5 04:05:32 UTC 2021] Please add '--debug' or '--log' to check more details.
    [Mon Jul 5 04:05:32 UTC 2021] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
    [Error] SSL 证书生成失败

    1. Rat's
      @WooYun

      可以把你服务器发到我邮箱,域名解析好,moerats@live.com我到时候看看

      1. WooYun
        @Rat's

        已经发给你了,感谢大佬

  3. kaganoai

    貌似DirectoryLister的下载地址404了
    --2021-05-08 15:43:51-- https://github.com/chiakge/Aria2-Rclone-DirectoryLister-Aria2Ng/raw/master/website/DirectoryLister.zip
    Resolving github.com (github.com)... 192.30.255.112
    Connecting to github.com (github.com)|192.30.255.112|:443... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2021-05-08 15:43:51 ERROR 404: Not Found.

    unzip: cannot find or open DirectoryLister.zip, DirectoryLister.zip.zip or DirectoryLister.zip.ZIP.
    [Error] DirectoryLister 下载失败

    1. kaganoai
      @kaganoai

      --2021-05-08 17:25:58-- https://raw.githubusercontent.com/chiakge/Aria2-Rclone-DirectoryLister-Aria2Ng/chiakge-patch-1/sh/autoupload.sh
      Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.111.133, 185.199.109.133, ...
      Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
      HTTP request sent, awaiting response... 404 Not Found
      2021-05-08 17:25:58 ERROR 404: Not Found.

      sed: can't read autoupload.sh: No such file or directory
      sed: can't read autoupload.sh: No such file or directory
      mv: cannot stat 'autoupload.sh': No such file or directory
      chmod: cannot access '/root/.aria2/autoupload.sh': No such file or directory
      --2021-05-08 17:25:58-- https://raw.githubusercontent.com/chiakge/Aria2-Rclone-DirectoryLister-Aria2Ng/chiakge-patch-1/sh/rcloned
      Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
      Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
      HTTP request sent, awaiting response... 404 Not Found
      2021-05-08 17:25:59 ERROR 404: Not Found
      换了官网下载地址后面又404了,貌似这个chiakge大佬把文件删了,现在不知道缺的是什么,要怎么做,大佬能更新一下吗。。。。

      1. kaganoai
        @kaganoai

        四月份很顺利搭上了,5月换了机器就不行了,,,,

        1. Rat's
          @kaganoai

          改了下文件地址,你再试试

          1. kaganoai
            @Rat's

            可以了,最后提示update-rc.d: error: unable to read /etc/init.d/rcloned
            这是什么脚本,重新输入rcloned的挂载命令。

            1. kaganoai
              @kaganoai

              最后输入了rcloned的挂载命令

              1. kaganoai
                @kaganoai

                不对,,好像还有404。。
                --2021-05-17 20:24:47-- https://raw.githubusercontent.com/iiiiiii1/Aria2-Rclone-DirectoryLister-Aria2Ng/iiiiiii1-patch-1/sh/autoupload.sh
                Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
                Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
                HTTP request sent, awaiting response... 404 Not Found
                2021-05-17 20:24:47 ERROR 404: Not Found.

                sed: can't read autoupload.sh: No such file or directory
                sed: can't read autoupload.sh: No such file or directory
                mv: cannot stat 'autoupload.sh': No such file or directory
                chmod: cannot access '/root/.aria2/autoupload.sh': No such file or directory
                --2021-05-17 20:24:47-- https://raw.githubusercontent.com/iiiiiii1/Aria2-Rclone-DirectoryLister-Aria2Ng/iiiiiii1-patch-1/sh/rcloned
                Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
                Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
                HTTP request sent, awaiting response... 404 Not Found
                2021-05-17 20:24:47 ERROR 404: Not Found.

                sed: can't read rcloned: No such file or directory
                sed: can't read rcloned: No such file or directory
                sed: can't read rcloned: No such file or directory
                mv: cannot stat 'rcloned': No such file or directory
                chmod: cannot access '/etc/init.d/rcloned': No such file or directory
                update-rc.d: error: unable to read /etc/init.d/rcloned

                Aria2 简单配置信息:

                地址 :
                端口 :
                密码 :
                目录 :

                [信息] Aria2 启动成功 !
                bash: /etc/init.d/rcloned: No such file or directory

                1. Rat's
                  @kaganoai

                  有个地方改错了,现在都改好了,检查都没问题

  4. DirectoryLister 下载失败 我用dibian9的系统结果显示这个

    1. Rat's
      @情

      方便贴下失败那块信息吗?

      1. 情绪
        @Rat's

        [信息] Aria2 启动成功 !
        mkdir: missing operand
        Try 'mkdir --help' for more information.
        [错误] rclone 启动失败 !
        root@racknerd-65faa7:~#

        1. 情绪
          @情绪

          Usage: mkdir [OPTION]... DIRECTORY...
          Create the DIRECTORY(ies), if they do not already exist.

          Mandatory arguments to long options are mandatory for short options too.
          -m, --mode=MODE set file mode (as in chmod), not a=rwx - umask
          -p, --parents no error if existing, make parent directories as needed
          -v, --verbose print a message for each created directory
          -Z set SELinux security context of each created directory

          to the default type --context[=CTX] like -Z, or if CTX is specified then set the SELinux or SMACK security context to CTX --help display this help and exit --version output version information and exit

          GNU coreutils online help: http://www.gnu.org/software/coreutils/
          Full documentation at: http://www.gnu.org/software/coreutils/mkdir
          or available locally via: info '(coreutils) mkdir invocation'

  5. 情绪

    我先装的air2然后再装这个显示80端口被占用

    1. 情绪
      @情绪

      我另一个vps稀里糊涂的装上了老毛子的不行

      1. 情绪
        @情绪

        这怎么挂载个人盘,

      2. 情绪
        @情绪

        大佬,air2版本有些搭配不能使用,能不能发一下适合这个的脚本

      3. Rat's
        @情绪

        80被占用一般就是存在web服务器

        1. 情绪
          @Rat's

          博主rclone可以挂载阿里云网盘吗

          1. Rat's
            @情绪

            好像可以,腾讯云也可以,支持列表https://rclone.org/#providers

        2. 情绪
          @Rat's

          那怎么办大佬

          1. Rat's
            @情绪

            netstat -tlpn | grep -w 80,用这个命令看看是哪个web占用了80端口

            1. 情绪
              @Rat's

              tcp 0 0 0.0.0.0:6800 0.0.0.0:* LISTEN 26657/aria2c
              tcp6 0 0 :::6800 :::* LISTEN 26657/aria2c

            2. 情绪
              @Rat's

              显示的是aria2占用的

  6. 肉酱

    我的下载页面也是指向了文件页面,https去掉s后的话,页面就全部变成文字的了。。。。而且点击也没有反应...老哥有啥好的解决办法么?

    1. 肉酱
      @肉酱

      怎么默认改为http访问而不是https访问。麻烦问下。

      1. Rat's
        @肉酱

        这个好像要改nginx配置文件,好像路径是/etc/nginx/conf.d/DirectoryLister.conf,具体忘了,然后重启systemctl restart nginx

        1. 肉酱
          @Rat's

          惨。。找到文件了,可惜并不知道 怎么改。哈哈哈哈

          1. Rat's
            @肉酱

            百度或谷歌,折腾下就会了

  7. hehecat

    地址 : 96.9.XXX.XXX
    端口 : 6800
    密码 : q47411212
    目录 : /root/Download

    [信息] Aria2 启动成功 !
    [信息] rclone (PID 32153) 正在运行...

    dl 和 pan 都是 爱盘 地址加端口6800 找不到网页

    1. 情绪
      @hehecat

      你air2用什么脚本,我用脚本显示80端口被占用

    2. Rat's
      @hehecat

      6800不是这么用的,是连接aria2的时候用,控制面板上用

  8. 钱到用时方恨少

    Aria2密钥怎么填啊,博主

    1. Rat's
      @钱到用时方恨少

      你是说使用过程中?

      1. 钱到用时方恨少
        @Rat's

        另外,生成ssl证书时总是错误,加上--debug后输出结果如下,不知道是为什么
        root@srv11168:~# ~/.acme.sh/acme.sh --issue -d usefultools.tk --standalone -k ec-256 --force --debug
        [Thu Aug 27 10:19:52 CST 2020] Lets find script dir.
        [Thu Aug 27 10:19:52 CST 2020] _SCRIPT_='/root/.acme.sh/acme.sh'
        [Thu Aug 27 10:19:52 CST 2020] _script='/root/.acme.sh/acme.sh'
        [Thu Aug 27 10:19:52 CST 2020] _script_home='/root/.acme.sh'
        [Thu Aug 27 10:19:52 CST 2020] Using config home:/root/.acme.sh
        https://github.com/acmesh-official/acme.sh
        v2.8.7
        [Thu Aug 27 10:19:52 CST 2020] Running cmd: issue
        [Thu Aug 27 10:19:52 CST 2020] _main_domain='usefultools.tk'
        [Thu Aug 27 10:19:52 CST 2020] _alt_domains='no'
        [Thu Aug 27 10:19:52 CST 2020] Using config home:/root/.acme.sh
        [Thu Aug 27 10:19:52 CST 2020] default_acme_server
        [Thu Aug 27 10:19:52 CST 2020] ACME_DIRECTORY='https://acme-v02.api.letsencrypt.org/directory'
        [Thu Aug 27 10:19:52 CST 2020] DOMAIN_PATH='/root/.acme.sh/usefultools.tk_ecc'
        [Thu Aug 27 10:19:52 CST 2020] Using ACME_DIRECTORY: https://acme-v02.api.letsencrypt.org/directory
        [Thu Aug 27 10:19:52 CST 2020] _init api for server: https://acme-v02.api.letsencrypt.org/directory
        [Thu Aug 27 10:19:52 CST 2020] GET
        [Thu Aug 27 10:19:52 CST 2020] url='https://acme-v02.api.letsencrypt.org/directory'
        [Thu Aug 27 10:19:52 CST 2020] timeout=
        [Thu Aug 27 10:19:52 CST 2020] _CURL='curl -L --silent --dump-header /root/.acme.sh/http.header -g '
        [Thu Aug 27 10:19:53 CST 2020] ret='0'
        [Thu Aug 27 10:19:53 CST 2020] ACME_KEY_CHANGE='https://acme-v02.api.letsencrypt.org/acme/key-change'
        [Thu Aug 27 10:19:53 CST 2020] ACME_NEW_AUTHZ
        [Thu Aug 27 10:19:53 CST 2020] ACME_NEW_ORDER='https://acme-v02.api.letsencrypt.org/acme/new-order'
        [Thu Aug 27 10:19:53 CST 2020] ACME_NEW_ACCOUNT='https://acme-v02.api.letsencrypt.org/acme/new-acct'
        [Thu Aug 27 10:19:53 CST 2020] ACME_REVOKE_CERT='https://acme-v02.api.letsencrypt.org/acme/revoke-cert'
        [Thu Aug 27 10:19:53 CST 2020] ACME_AGREEMENT='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf'
        [Thu Aug 27 10:19:53 CST 2020] ACME_NEW_NONCE='https://acme-v02.api.letsencrypt.org/acme/new-nonce'
        [Thu Aug 27 10:19:53 CST 2020] ACME_VERSION='2'
        [Thu Aug 27 10:19:53 CST 2020] Le_NextRenewTime
        [Thu Aug 27 10:19:53 CST 2020] Using CA: https://acme-v02.api.letsencrypt.org/directory
        [Thu Aug 27 10:19:53 CST 2020] _on_before_issue
        [Thu Aug 27 10:19:53 CST 2020] _chk_main_domain='usefultools.tk'
        [Thu Aug 27 10:19:53 CST 2020] _chk_alt_domains
        [Thu Aug 27 10:19:53 CST 2020] Le_LocalAddress
        [Thu Aug 27 10:19:53 CST 2020] d='usefultools.tk'
        [Thu Aug 27 10:19:53 CST 2020] Check for domain='usefultools.tk'
        [Thu Aug 27 10:19:53 CST 2020] _currentRoot='no'
        [Thu Aug 27 10:19:53 CST 2020] Standalone mode.
        [Thu Aug 27 10:19:53 CST 2020] _checkport='80'
        [Thu Aug 27 10:19:53 CST 2020] _checkaddr
        [Thu Aug 27 10:19:53 CST 2020] Using: ss
        [Thu Aug 27 10:19:53 CST 2020] d
        [Thu Aug 27 10:19:53 CST 2020] _saved_account_key_hash is not changed, skip register account.
        [Thu Aug 27 10:19:53 CST 2020] Read key length:ec-256
        [Thu Aug 27 10:19:53 CST 2020] _createcsr
        [Thu Aug 27 10:19:53 CST 2020] Single domain='usefultools.tk'
        [Thu Aug 27 10:19:54 CST 2020] Getting domain auth token for each domain
        [Thu Aug 27 10:19:54 CST 2020] d
        [Thu Aug 27 10:19:54 CST 2020] url='https://acme-v02.api.letsencrypt.org/acme/new-order'
        [Thu Aug 27 10:19:54 CST 2020] payload='{"identifiers": [{"type":"dns","value":"usefultools.tk"}]}'
        [Thu Aug 27 10:19:54 CST 2020] RSA key
        [Thu Aug 27 10:19:54 CST 2020] HEAD
        [Thu Aug 27 10:19:54 CST 2020] _post_url='https://acme-v02.api.letsencrypt.org/acme/new-nonce'
        [Thu Aug 27 10:19:54 CST 2020] _CURL='curl -L --silent --dump-header /root/.acme.sh/http.header -g -I '
        [Thu Aug 27 10:19:54 CST 2020] _ret='0'
        [Thu Aug 27 10:19:55 CST 2020] POST
        [Thu Aug 27 10:19:55 CST 2020] _post_url='https://acme-v02.api.letsencrypt.org/acme/new-order'
        [Thu Aug 27 10:19:55 CST 2020] _CURL='curl -L --silent --dump-header /root/.acme.sh/http.header -g '
        [Thu Aug 27 10:20:01 CST 2020] _ret='0'
        [Thu Aug 27 10:20:01 CST 2020] code='201'
        [Thu Aug 27 10:20:01 CST 2020] Le_LinkOrder='https://acme-v02.api.letsencrypt.org/acme/order/94987318/4881475092'
        [Thu Aug 27 10:20:01 CST 2020] Le_OrderFinalize='https://acme-v02.api.letsencrypt.org/acme/finalize/94987318/4881475092'
        [Thu Aug 27 10:20:01 CST 2020] url='https://acme-v02.api.letsencrypt.org/acme/authz-v3/6797585515'
        [Thu Aug 27 10:20:01 CST 2020] payload
        [Thu Aug 27 10:20:01 CST 2020] POST
        [Thu Aug 27 10:20:01 CST 2020] _post_url='https://acme-v02.api.letsencrypt.org/acme/authz-v3/6797585515'
        [Thu Aug 27 10:20:01 CST 2020] _CURL='curl -L --silent --dump-header /root/.acme.sh/http.header -g '
        [Thu Aug 27 10:20:03 CST 2020] _ret='0'
        [Thu Aug 27 10:20:03 CST 2020] code='200'
        [Thu Aug 27 10:20:03 CST 2020] d='usefultools.tk'
        [Thu Aug 27 10:20:03 CST 2020] Getting webroot for domain='usefultools.tk'
        [Thu Aug 27 10:20:03 CST 2020] _w='no'
        [Thu Aug 27 10:20:03 CST 2020] _currentRoot='no'
        [Thu Aug 27 10:20:03 CST 2020] entry='"type":"http-01","status":"pending","url":"https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg","token":"mPOY-WEypNLQWippOo6ryozyq35DoiBHu9cbEkw28g4"'
        [Thu Aug 27 10:20:03 CST 2020] token='mPOY-WEypNLQWippOo6ryozyq35DoiBHu9cbEkw28g4'
        [Thu Aug 27 10:20:03 CST 2020] uri='https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg'
        [Thu Aug 27 10:20:03 CST 2020] keyauthorization='mPOY-WEypNLQWippOo6ryozyq35DoiBHu9cbEkw28g4.fi8xXMLMhXKCX4LLpJU8UdDzmtuBCKl89L0KdjKM3ME'
        [Thu Aug 27 10:20:03 CST 2020] dvlist='usefultools.tk#mPOY-WEypNLQWippOo6ryozyq35DoiBHu9cbEkw28g4.fi8xXMLMhXKCX4LLpJU8UdDzmtuBCKl89L0KdjKM3ME#https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg#http-01#no'
        [Thu Aug 27 10:20:03 CST 2020] d
        [Thu Aug 27 10:20:03 CST 2020] vlist='usefultools.tk#mPOY-WEypNLQWippOo6ryozyq35DoiBHu9cbEkw28g4.fi8xXMLMhXKCX4LLpJU8UdDzmtuBCKl89L0KdjKM3ME#https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg#http-01#no,'
        [Thu Aug 27 10:20:03 CST 2020] d='usefultools.tk'
        [Thu Aug 27 10:20:03 CST 2020] ok, let's start to verify
        [Thu Aug 27 10:20:04 CST 2020] Verifying: usefultools.tk
        [Thu Aug 27 10:20:04 CST 2020] d='usefultools.tk'
        [Thu Aug 27 10:20:04 CST 2020] keyauthorization='mPOY-WEypNLQWippOo6ryozyq35DoiBHu9cbEkw28g4.fi8xXMLMhXKCX4LLpJU8UdDzmtuBCKl89L0KdjKM3ME'
        [Thu Aug 27 10:20:04 CST 2020] uri='https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg'
        [Thu Aug 27 10:20:04 CST 2020] _currentRoot='no'
        [Thu Aug 27 10:20:04 CST 2020] Standalone mode server
        [Thu Aug 27 10:20:04 CST 2020] content='mPOY-WEypNLQWippOo6ryozyq35DoiBHu9cbEkw28g4.fi8xXMLMhXKCX4LLpJU8UdDzmtuBCKl89L0KdjKM3ME'
        [Thu Aug 27 10:20:04 CST 2020] ncaddr
        [Thu Aug 27 10:20:04 CST 2020] startserver: 23399
        [Thu Aug 27 10:20:04 CST 2020] Le_HTTPPort='80'
        [Thu Aug 27 10:20:04 CST 2020] Le_Listen_V4
        [Thu Aug 27 10:20:04 CST 2020] Le_Listen_V6
        [Thu Aug 27 10:20:04 CST 2020] _content_len='87'
        [Thu Aug 27 10:20:04 CST 2020] _NC='socat TCP-LISTEN:80,crlf,reuseaddr,fork'
        [Thu Aug 27 10:20:05 CST 2020] serverproc='24221'
        [Thu Aug 27 10:20:05 CST 2020] url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg'
        [Thu Aug 27 10:20:05 CST 2020] payload='{}'
        [Thu Aug 27 10:20:05 CST 2020] POST
        [Thu Aug 27 10:20:05 CST 2020] _post_url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg'
        [Thu Aug 27 10:20:05 CST 2020] _CURL='curl -L --silent --dump-header /root/.acme.sh/http.header -g '
        [Thu Aug 27 10:20:07 CST 2020] _ret='0'
        [Thu Aug 27 10:20:09 CST 2020] code='200'
        [Thu Aug 27 10:20:09 CST 2020] trigger validation code: 200
        [Thu Aug 27 10:20:09 CST 2020] sleep 2 secs to verify
        [Thu Aug 27 10:20:11 CST 2020] checking
        [Thu Aug 27 10:20:11 CST 2020] url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg'
        [Thu Aug 27 10:20:11 CST 2020] payload
        [Thu Aug 27 10:20:11 CST 2020] POST
        [Thu Aug 27 10:20:11 CST 2020] _post_url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg'
        [Thu Aug 27 10:20:11 CST 2020] _CURL='curl -L --silent --dump-header /root/.acme.sh/http.header -g '
        [Thu Aug 27 10:20:12 CST 2020] _ret='0'
        [Thu Aug 27 10:20:12 CST 2020] code='200'
        [Thu Aug 27 10:20:12 CST 2020] usefultools.tk:Verify error:Fetching http://usefultools.tk/.well-known/acme-challenge/mPOY-WEypNLQWippOo6ryozyq35DoiBHu9cbEkw28g4: Connection refused
        [Thu Aug 27 10:20:12 CST 2020] Debug: get token url.
        [Thu Aug 27 10:20:12 CST 2020] GET
        [Thu Aug 27 10:20:12 CST 2020] url='http://usefultools.tk/.well-known/acme-challenge/mPOY-WEypNLQWippOo6ryozyq35DoiBHu9cbEkw28g4'
        [Thu Aug 27 10:20:12 CST 2020] timeout=1
        [Thu Aug 27 10:20:12 CST 2020] _CURL='curl -L --silent --dump-header /root/.acme.sh/http.header -g --connect-timeout 1'
        [Thu Aug 27 10:20:14 CST 2020] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 28
        [Thu Aug 27 10:20:14 CST 2020] ret='28'
        [Thu Aug 27 10:20:14 CST 2020] Skip for removelevel:
        [Thu Aug 27 10:20:14 CST 2020] pid='24221'
        [Thu Aug 27 10:20:14 CST 2020] No need to restore nginx, skip.
        [Thu Aug 27 10:20:14 CST 2020] _clearupdns
        [Thu Aug 27 10:20:14 CST 2020] dns_entries
        [Thu Aug 27 10:20:14 CST 2020] skip dns.
        [Thu Aug 27 10:20:14 CST 2020] _on_issue_err
        [Thu Aug 27 10:20:14 CST 2020] Please add '--debug' or '--log' to check more details.
        [Thu Aug 27 10:20:14 CST 2020] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
        [Thu Aug 27 10:20:14 CST 2020] url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg'
        [Thu Aug 27 10:20:14 CST 2020] payload='{}'
        [Thu Aug 27 10:20:14 CST 2020] POST
        [Thu Aug 27 10:20:14 CST 2020] _post_url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/6797585515/aHFXfg'
        [Thu Aug 27 10:20:14 CST 2020] _CURL='curl -L --silent --dump-header /root/.acme.sh/http.header -g '
        [Thu Aug 27 10:20:21 CST 2020] _ret='0'
        [Thu Aug 27 10:20:21 CST 2020] code='400'
        [Thu Aug 27 10:20:21 CST 2020] Diagnosis versions:
        openssl:openssl
        OpenSSL 1.1.0l 10 Sep 2019 (Library: OpenSSL 1.1.0f 25 May 2017)
        apache:
        apache doesn't exist.
        nginx:
        nginx version: nginx/1.10.3
        built with OpenSSL 1.1.0l 10 Sep 2019 (running with OpenSSL 1.1.0f 25 May 2017)
        TLS SNI support enabled
        configure arguments: --with-cc-opt='-g -O2 -fdebug-prefix-map=/build/nginx-GAwZrH/nginx-1.10.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-z,relro -Wl,-z,now' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --modules-path=/usr/lib/nginx/modules --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_dav_module --with-http_slice_module --with-threads --with-http_addition_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_sub_module --with-http_xslt_module=dynamic --with-stream=dynamic --with-stream_ssl_module --with-mail=dynamic --with-mail_ssl_module --add-dynamic-module=/build/nginx-GAwZrH/nginx-1.10.3/debian/modules/nginx-auth-pam --add-dynamic-module=/build/nginx-GAwZrH/nginx-1.10.3/debian/modules/nginx-dav-ext-module --add-dynamic-module=/build/nginx-GAwZrH/nginx-1.10.3/debian/modules/nginx-echo --add-dynamic-module=/build/nginx-GAwZrH/nginx-1.10.3/debian/modules/nginx-upstream-fair --add-dynamic-module=/build/nginx-GAwZrH/nginx-1.10.3/debian/modules/ngx_http_substitutions_filter_module
        socat:
        socat by Gerhard Rieger - see www.dest-unreach.org
        socat version 1.7.3.1 on Jul 14 2017 13:52:03
        running on Linux version #1 SMP Tue Feb 12 18:03:03 EST 2019, release 4.20.8-1.el7.elrepo.x86_64, machine x86_64
        features:
        #define WITH_STDIO 1
        #define WITH_FDNUM 1
        #define WITH_FILE 1
        #define WITH_CREAT 1
        #define WITH_GOPEN 1
        #define WITH_TERMIOS 1
        #define WITH_PIPE 1
        #define WITH_UNIX 1
        #define WITH_ABSTRACT_UNIXSOCKET 1
        #define WITH_IP4 1
        #define WITH_IP6 1
        #define WITH_RAWIP 1
        #define WITH_GENERICSOCKET 1
        #define WITH_INTERFACE 1
        #define WITH_TCP 1
        #define WITH_UDP 1
        #define WITH_SCTP 1
        #define WITH_LISTEN 1
        #define WITH_SOCKS4 1
        #define WITH_SOCKS4A 1
        #define WITH_PROXY 1
        #define WITH_SYSTEM 1
        #define WITH_EXEC 1
        #undef WITH_READLINE
        #define WITH_TUN 1
        #define WITH_PTY 1
        #define WITH_OPENSSL 1
        #undef WITH_FIPS
        #define WITH_LIBWRAP 1
        #define WITH_SYCLS 1
        #define WITH_FILAN 1
        #define WITH_RETRY 1
        #define WITH_MSGLEVEL 0 /debug/
        好像是28错误,是超时了

      2. 钱到用时方恨少
        @Rat's

        对的

  9. jack

    大佬问下,我都装成功了,但是打开aria2界面提示验证失败,我看端口、程序都正常,怎么解决

    1. Rat's
      @jack

      密匙不对应该

  10. 李佳玉

    我安装成功了,但是页面上cloud目录不显示我设置的“my-drive”目录;df -h命令确实显示了我的文件夹及当前全部已用空间啊