惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

阮一峰的网络日志
阮一峰的网络日志
D
Darknet – Hacking Tools, Hacker News & Cyber Security
S
Schneier on Security
The Last Watchdog
The Last Watchdog
Cyberwarzone
Cyberwarzone
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Cyber Attacks, Cyber Crime and Cyber Security
L
Lohrmann on Cybersecurity
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 司徒正美
The Cloudflare Blog
V
V2EX
博客园_首页
博客园 - 聂微东
Vercel News
Vercel News
人人都是产品经理
人人都是产品经理
G
GRAHAM CLULEY
T
Tenable Blog
Last Week in AI
Last Week in AI
Y
Y Combinator Blog
L
LINUX DO - 最新话题
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
SecWiki News
SecWiki News
博客园 - 三生石上(FineUI控件)
S
Secure Thoughts
N
News | PayPal Newsroom
T
The Blog of Author Tim Ferriss
The GitHub Blog
The GitHub Blog
T
Troy Hunt's Blog
博客园 - 【当耐特】
Forbes - Security
Forbes - Security
H
Hacker News: Front Page
A
About on SuperTechFans
B
Blog RSS Feed
Engineering at Meta
Engineering at Meta
MongoDB | Blog
MongoDB | Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
罗磊的独立博客
D
DataBreaches.Net
P
Privacy & Cybersecurity Law Blog
Schneier on Security
Schneier on Security
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Google DeepMind News
Google DeepMind News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Jina AI
Jina AI
D
Docker
P
Proofpoint News Feed

Rat's Blog - OneIndex

CuteOne:一款基于Python3的OneDrive多网盘挂载程序,带会员/同步等功能 - Rat's Blog 一款好用、美观的OneDrive目录列表程序:OLAINDEX - Rat's Blog OneIndex一键安装脚本 for Debian - Rat's Blog
Aria2+Aria2Ng+OneIndex一键安装脚本,下载后自动上传至OneDrive - Rat's Blog
博主: Rat's · 2018-08-09 · via Rat's Blog - OneIndex

@Rat's

Linux oranme430 5.3.13-1-pve #1 SMP PVE 5.3.13-1 (Thu, 05 Dec 201
9 07:18:14 +0100) x86_64

The programs included with the Debian GNU/Linux system are free s
oftware;
the exact distribution terms for each program are described in th
e
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@oranme430:~# wget https://www.moerats.com/usr/shell/Aria2_OneIndex.sh && bash Aria2_OneIndex.sh
--2020-02-23 04:00:14-- https://www.moerats.com/usr/shell/Aria2_OneIndex.sh
Resolving www.moerats.com (www.moerats.com)... 172.83.156.172
Connecting to www.moerats.com (www.moerats.com)|172.83.156.172|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11761 (11K) [application/octet-stream]
Saving to: 'Aria2_OneIndex.sh'

Aria2_OneIndex.sh 100%[==========>] 11.49K --.-KB/s in 0s

2020-02-23 04:00:15 (202 MB/s) - 'Aria2_OneIndex.sh' saved [11761/11761]

[OK] 当前系统为 Debian 9
[OK] 当前用户是root用户,进入安装流程
Get:1 http://security.debian.org stretch/updates InRelease [94.3 kB]
Ign:2 http://ftp.debian.org/debian stretch InRelease
Get:3 http://ftp.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:4 http://ftp.debian.org/debian stretch Release [118 kB]
Get:5 http://ftp.debian.org/debian stretch Release.gpg [2410 B]
Get:6 http://security.debian.org stretch/updates/main amd64 Packages [520 kB]
Get:7 http://security.debian.org stretch/updates/main Translation-en [230 kB]
Get:8 http://security.debian.org stretch/updates/contrib amd64 Packages [1760 B]
Get:9 http://security.debian.org stretch/updates/contrib Translation-en [1759 B]
Get:10 http://ftp.debian.org/debian stretch-updates/main amd64 Packages.diff/Index [12.5 kB]
Get:11 http://ftp.debian.org/debian stretch-updates/main Translation-en [11.9 kB]
Get:12 http://ftp.debian.org/debian stretch-updates/main amd64 Packages [27.9 kB]
Get:13 http://ftp.debian.org/debian stretch/main amd64 Packages [7083 kB]
Get:14 http://ftp.debian.org/debian stretch/main Translation-en [5381 kB]
Get:15 http://ftp.debian.org/debian stretch/contrib amd64 Packages [50.9 kB]
Get:16 http://ftp.debian.org/debian stretch/contrib Translation-en [45.9 kB]
Fetched 13.7 MB in 16s (821 kB/s)
Reading package lists... Done
Building dependency tree... Done
71 packages can be upgraded. Run 'apt list --upgradable' to see them.Reading package lists... Done
Building dependency tree... Done
The following additional packages will be installed:
Unpacking libcurl3:amd64 (7.52.1-5+deb9u9) ... Selecting previously unselected package curl. Preparing to unpack .../3-curl_7.52.1-5+deb9u9_amd64.deb ... Unpacking curl (7.52.1-5+deb9u9) ... Selecting previously unselected package net-tools. Preparing to unpack .../4-net-tools_1.60+git20161116.90da8a0-1_amd64.deb ... Unpacking net-tools (1.60+git20161116.90da8a0-1) ... Selecting previously unselected package sudo. Preparing to unpack .../5-sudo_1.8.19p1-2.1+deb9u2_amd64.deb ... Unpacking sudo (1.8.19p1-2.1+deb9u2) ... Selecting previously unselected package unzip. Preparing to unpack .../6-unzip_6.0-21+deb9u2_amd64.deb ... Unpacking unzip (6.0-21+deb9u2) ... Processing triggers for mime-support (3.60) ... Setting up sudo (1.8.19p1-2.1+deb9u2) ... Setting up libcurl3:amd64 (7.52.1-5+deb9u9) ... Setting up unzip (6.0-21+deb9u2) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for systemd (232-25+deb9u8) ... Setting up wget (1.18-5+deb9u3) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up bc (1.06.95-9+b3) ... Setting up net-tools (1.60+git20161116.90da8a0-1) ... Setting up curl (7.52.1-5+deb9u9) ... 请 输 入 你 的 OneIndex域 名 信 息 (如 :oneindex.moerats.com):one.nshfwz.info 请 输 入 你 的 Aria2密 钥 :AriaNG 请 输 入 你 OneIndex/OneDrive中 的 一 个 文 件 夹 ( 格 式 :RATS, 此 后 所 有 文 件 都 会 上传到该文件夹):AUG
% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--100 13 100 13 0 0 549 0 --:--:-- --:--:-- --:--:-- 565
域名dns解析IP:2a01:4f8:191:48c:2018:2019:0:b3 (2a01:4f8:191:48c:2018:2019:0:b3
本机IP: 144.76.17.141
(standard_in) 1: syntax error
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: syntax error
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
[Error] 域名dns解析IP 与 本机IP 不匹配 是否继续安装?(y/n)
y
继续安装
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://ftp.debian.org/debian stretch InRelease
Hit:3 http://ftp.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.debian.org/debian stretch Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
70 packages can be upgraded. Run 'apt list --upgradable' to see them.Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libgd3 libjbig0 libjpeg62-turbo libnginx-mod-http-auth-pam
libnginx-mod-http-dav-ext libnginx-mod-http-echo
libnginx-mod-http-geoip libnginx-mod-http-image-filter
libnginx-mod-http-subs-filter libnginx-mod-http-upstream-fair
libnginx-mod-http-xslt-filter libnginx-mod-mail
libnginx-mod-stream libtiff5 libwebp6 libxslt1.1 nginx-common
nginx-full
Suggested packages:
libgd-tools fcgiwrap nginx-doc
The following NEW packages will be installed:
libgd3 libjbig0 libjpeg62-turbo libnginx-mod-http-auth-pam
libnginx-mod-http-dav-ext libnginx-mod-http-echo
libnginx-mod-http-geoip libnginx-mod-http-image-filter
libnginx-mod-http-subs-filter libnginx-mod-http-upstream-fair
libnginx-mod-http-xslt-filter libnginx-mod-mail
libnginx-mod-stream libtiff5 libwebp6 libxslt1.1 nginx
nginx-common nginx-full
0 upgraded, 19 newly installed, 0 to remove and 70 not upgraded.
Need to get 2592 kB of archives.
After this operation, 5480 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian stretch/main amd64 libjpeg62-turbo amd64 1:1.5.1-2 [134 kB]
Get:2 http://ftp.debian.org/debian stretch/main amd64 libjbig0 amd64 2.1-3.1+b2 [31.0 kB]
Get:3 http://ftp.debian.org/debian stretch/main amd64 libtiff5 amd64 4.0.8-2+deb9u4 [238 kB]
Get:4 http://ftp.debian.org/debian stretch/main amd64 libwebp6 amd64 0.5.2-1 [235 kB]
Get:5 http://ftp.debian.org/debian stretch/main amd64 libgd3 amd64 2.2.4-2+deb9u5 [132 kB]
Get:6 http://ftp.debian.org/debian stretch/main amd64 nginx-common all 1.10.3-1+deb9u3 [105 kB]
Get:7 http://ftp.debian.org/debian stretch/main amd64 libnginx-mod-http-auth-pam amd64 1.10.3-1+deb9u3 [86.1 kB]
Setting up libjpeg62-turbo:amd64 (1:1.5.1-2) ... Setting up libjbig0:amd64 (2.1-3.1+b2) ... Setting up nginx-common (1.10.3-1+deb9u3) ... Created symlink /etc/systemd/system/multi-user.target.wants/nginx.service -> /lib/systemd/system/nginx.service. Setting up libnginx-mod-http-subs-filter (1.10.3-1+deb9u3) ... Setting up libtiff5:amd64 (4.0.8-2+deb9u4) ... Setting up libxslt1.1:amd64 (1.1.29-2.1+deb9u2) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... Processing triggers for systemd (232-25+deb9u8) ... Setting up libnginx-mod-http-auth-pam (1.10.3-1+deb9u3) ... Setting up libnginx-mod-http-dav-ext (1.10.3-1+deb9u3) ... Setting up libnginx-mod-mail (1.10.3-1+deb9u3) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up libnginx-mod-http-xslt-filter (1.10.3-1+deb9u3) ... Setting up libnginx-mod-http-upstream-fair (1.10.3-1+deb9u3) ... Setting up libnginx-mod-http-geoip (1.10.3-1+deb9u3) ... Setting up libwebp6:amd64 (0.5.2-1) ... Setting up libnginx-mod-stream (1.10.3-1+deb9u3) ... Setting up libnginx-mod-http-echo (1.10.3-1+deb9u3) ... Setting up libgd3:amd64 (2.2.4-2+deb9u5) ... Setting up libnginx-mod-http-image-filter (1.10.3-1+deb9u3) ... Setting up nginx-full (1.10.3-1+deb9u3) ... Setting up nginx (1.10.3-1+deb9u3) ... Processing triggers for libc-bin (2.24-11+deb9u3) ... [OK] nginx 安 装 成 功 Reading package lists... Done Building dependency tree Reading state information... Done
The following additional packages will be installed:
php-common php7.0-cli php7.0-common php7.0-json php7.0-opcache
php7.0-readline psmisc
Suggested packages:
php-pear
The following NEW packages will be installed:
php-common php7.0-cgi php7.0-cli php7.0-common php7.0-curl
php7.0-fpm php7.0-gd php7.0-json php7.0-opcache php7.0-readline
psmisc

Creating config file /etc/php/7.0/mods-available/json.ini with new version Setting up php7.0-cli (7.0.33-0+deb9u7) ... update-alternatives: using /usr/bin/php7.0 to provide /usr/bin/php (php) in auto mode update-alternatives: using /usr/bin/phar7.0 to provide /usr/bin/phar (phar) in auto mode update-alternatives: using /usr/bin/phar.phar7.0 to provide /usr/bin/phar.phar (phar.phar) in auto mode Creating config file /etc/php/7.0/cli/php.ini with new version Setting up php7.0-fpm (7.0.33-0+deb9u7) ... Creating config file /etc/php/7.0/fpm/php.ini with new version Created symlink /etc/systemd/system/multi-user.target.wants/php7.0-fpm.service -> /lib/systemd/system/php7.0-fpm.service. Setting up php7.0-cgi (7.0.33-0+deb9u7) ... update-alternatives: using /usr/bin/php-cgi7.0 to provide /usr/bin/php-cgi (php-cgi) in auto mode update-alternatives: using /usr/lib/cgi-bin/php7.0 to provide /usr/lib/cgi-bin/php (php-cgi-bin) in auto mode Creating config file /etc/php/7.0/cgi/php.ini with new version Processing triggers for systemd (232-25+deb9u8) ... (Reading database ... 20896 files and directories currently installed.) Preparing to unpack .../liberror-perl_0.17024-1_all.deb ... Unpacking liberror-perl (0.17024-1) ... Selecting previously unselected package git-man. Preparing to unpack .../git-man_1%3a2.11.0-3+deb9u5_all.deb ... Unpacking git-man (1:2.11.0-3+deb9u5) ... Selecting previously unselected package git. Preparing to unpack .../git_1%3a2.11.0-3+deb9u5_amd64.deb ... Unpacking git (1:2.11.0-3+deb9u5) ... Selecting previously unselected package patch. Preparing to unpack .../patch_2.7.5-1+deb9u2_amd64.deb ... Unpacking patch (2.7.5-1+deb9u2) ... Selecting previously unselected package rsync. Preparing to unpack .../rsync_3.1.2-1+deb9u2_amd64.deb ... Unpacking rsync (3.1.2-1+deb9u2) ... Setting up git-man (1:2.11.0-3+deb9u5) ... Setting up liberror-perl (0.17024-1) ... Setting up rsync (3.1.2-1+deb9u2) ... Created symlink /etc/systemd/system/multi-user.target.wants/rsync.service -> /lib/systemd/system/rsync.service. Setting up patch (2.7.5-1+deb9u2) ... Processing triggers for systemd (232-25+deb9u8) ... Processing triggers for man-db (2.7.6.1-2) ... Setting up git (1:2.11.0-3+deb9u5) ... Cloning into 'oneindex'... remote: Enumerating objects: 1371, done. remote: Total 1371 (delta 0), reused 0 (delta 0), pack-reused 1371 Receiving objects: 100% (1371/1371), 3.57 MiB | 3.15 MiB/s, done.

Resolving deltas: 100% (736/736), done.
[OK] OneIndex 下载成功
--2020-02-23 04:03:49-- https://github.com/mayswind/AriaNg/releases/download/0.3.0/aria-ng-0.3.0.zip
Resolving github.com (github.com)... 140.82.118.4
Connecting to github.com (github.com)|140.82.118.4|:443... connected.HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/58753834/3c65e772-b11e-11e7-9bc6-d446b32e667a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200223%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200223T040349Z&X-Amz-Expires=300&X-Amz-Signature=105ee48971214bf05282a78b97fa3e8c9c6610c1efe87a15584db1352af067b9&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Daria-ng-0.3.0.zip&response-content-type=application%2Foctet-stream [following]
--2020-02-23 04:03:49-- https://github-production-release-asset-2e65be.s3.amazonaws.com/58753834/3c65e772-b11e-11e7-9bc6-d446b32e667a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200223%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200223T040349Z&X-Amz-Expires=300&X-Amz-Signature=105ee48971214bf05282a78b97fa3e8c9c6610c1efe87a15584db1352af067b9&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Daria-ng-0.3.0.zip&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.19.48
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.19.48|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 951990 (930K) [application/octet-stream]
Saving to: 'aria-ng-0.3.0.zip'

aria-ng-0.3.0.zip 100%[==========>] 929.68K 1.64MB/s in 0.6s

2020-02-23 04:03:50 (1.64 MB/s) - 'aria-ng-0.3.0.zip' saved [951990/951990]

Archive: aria-ng-0.3.0.zip
creating: js/
inflating: js/angular-packages-1.6.5.min.js
inflating: js/aria-ng-12608bfb5c.min.js
inflating: js/bootstrap-3.3.7.min.js
inflating: js/echarts-common-3.7.1.min.js
inflating: js/jquery-2.2.4.min.js
inflating: js/moment-with-locales-2.18.1.min.js
inflating: js/plugins-f99230fa2d.min.js
creating: langs/
inflating: langs/zh_Hans.txt
inflating: langs/zh_Hant.txt
inflating: index.html
inflating: index.manifest
inflating: LICENSE
inflating: robots.txt
[OK] 443 端口未被占用
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
netcat socat
0 upgraded, 2 newly installed, 0 to remove and 70 not upgraded.
Need to get 362 kB of archives.
After this operation, 1063 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian stretch/main amd64 netcat all 1.10-41 [8962 B]
Get:2 http://ftp.debian.org/debian stretch/main amd64 socat amd64 1.7.3.1-2+deb9u1 [353 kB]
Fetched 362 kB in 0s (2452 kB/s)
Selecting previously unselected package netcat.
(Reading database ... 21811 files and directories currently installed.) Preparing to unpack .../netcat_1.10-41_all.deb ... Unpacking netcat (1.10-41) ... Selecting previously unselected package socat. Preparing to unpack .../socat_1.7.3.1-2+deb9u1_amd64.deb ... Unpacking socat (1.7.3.1-2+deb9u1) ... Setting up socat (1.7.3.1-2+deb9u1) ... Setting up netcat (1.10-41) ... Processing triggers for man-db (2.7.6.1-2) ... [OK] SSL 证 书 生 成 脚 本 依 赖 安 装 成 功 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--100 775 0 775 0 0 8313 0 --:--:-- --:--:-- --:--:-- 8333
% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--100 191k 100 191k 0 0 2228k 0 --:--:-- --:--:-- --:--:-- 2255k
[Sun Feb 23 04:04:02 UTC 2020] Installing from online archive.
[Sun Feb 23 04:04:02 UTC 2020] Downloading https://github.com/acmesh-official/acme.sh/archive/master.tar.gz
[Sun Feb 23 04:04:03 UTC 2020] Extracting master.tar.gz
[Sun Feb 23 04:04:04 UTC 2020] Installing to /root/.acme.sh
[Sun Feb 23 04:04:04 UTC 2020] Installed to /root/.acme.sh/acme.sh
[Sun Feb 23 04:04:04 UTC 2020] Installing alias to '/root/.bashrc'
[Sun Feb 23 04:04:04 UTC 2020] OK, Close and reopen your terminal to start using acme.sh
[Sun Feb 23 04:04:04 UTC 2020] Installing cron job
no crontab for root
no crontab for root
[Sun Feb 23 04:04:04 UTC 2020] Good, bash is found, so change the shebang to use bash as preferred.
[Sun Feb 23 04:04:05 UTC 2020] OK
[Sun Feb 23 04:04:05 UTC 2020] Install success!
[OK] SSL 证书生成脚本安装成功
[Sun Feb 23 04:04:09 UTC 2020] Standalone mode.
[Sun Feb 23 04:04:10 UTC 2020] Create account key ok.
[Sun Feb 23 04:04:10 UTC 2020] Registering account
[Sun Feb 23 04:04:12 UTC 2020] Registered
[Sun Feb 23 04:04:12 UTC 2020] ACCOUNT_THUMBPRINT='nXEoF7a_-t0eTYRmvwQTtCT44Ae2e9zyXOatfM2ZFsU'
[Sun Feb 23 04:04:12 UTC 2020] Creating domain key
[Sun Feb 23 04:04:12 UTC 2020] The domain key is here: /root/.acme.sh/one.nshfwz.info_ecc/one.nshfwz.info.key
[Sun Feb 23 04:04:12 UTC 2020] Single domain='one.nshfwz.info'
[Sun Feb 23 04:04:12 UTC 2020] Getting domain auth token for each domain
[Sun Feb 23 04:04:14 UTC 2020] Getting webroot for domain='one.nshfwz.info'
[Sun Feb 23 04:04:14 UTC 2020] Verifying: one.nshfwz.info
[Sun Feb 23 04:04:14 UTC 2020] Standalone mode server
[Sun Feb 23 04:04:19 UTC 2020] Pending
[Sun Feb 23 04:04:22 UTC 2020] Pending
[Sun Feb 23 04:04:24 UTC 2020] Pending
[Sun Feb 23 04:04:27 UTC 2020] one.nshfwz.info:Verify error:Fetching http://one.nshfwz.info/.well-known/acme-challenge/kFoZo5X6I05Vd2xNno9-0Gt-bAl56VEXoWCNd4S5t60: Timeout during connect (likely firewall problem)
[Sun Feb 23 04:04:27 UTC 2020] Please add '--debug' or '--log' to check more details.
[Sun Feb 23 04:04:27 UTC 2020] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
[Error] SSL 证书生成失败
root@oranme430:~# wget https://www.moerats.com/usr/shell/Aria2_OneIndex.sh && bash Aria2_OneIndex.sh
--2020-02-23 04:05:57-- https://www.moerats.com/usr/shell/Aria2_OneIndex.sh
Resolving www.moerats.com (www.moerats.com)... 172.83.156.172
Connecting to www.moerats.com (www.moerats.com)|172.83.156.172|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11761 (11K) [application/octet-stream]
Saving to: 'Aria2_OneIndex.sh.1'

Aria2_OneIndex.sh 100%[==========>] 11.49K --.-KB/s in 0s

2020-02-23 04:05:58 (176 MB/s) - 'Aria2_OneIndex.sh.1' saved [11761/11761]

[OK] 当前系统为 Debian 9
[OK] 当前用户是root用户,进入安装流程
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://ftp.debian.org/debian stretch InRelease
Hit:3 http://ftp.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.debian.org/debian stretch Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
70 packages can be upgraded. Run 'apt list --upgradable' to see them.Reading package lists... Done
Building dependency tree
Reading state information... Done
bc is already the newest version (1.06.95-9+b3).
curl is already the newest version (7.52.1-5+deb9u9).
net-tools is already the newest version (1.60+git20161116.90da8a0-1).sudo is already the newest version (1.8.19p1-2.1+deb9u2).
unzip is already the newest version (6.0-21+deb9u2).
wget is already the newest version (1.18-5+deb9u3).
0 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.
请输入你的OneIndex域名信息(如:oneindex.moerats.com):one.nshfwz.info
请输入你的Aria2密钥:AriaNG
请输入你OneIndex/OneDrive中的一个文件夹(格式:RATS,此后所有文件都会上传到该文件夹):AUG
% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--100 13 100 13 0 0 546 0 --:--:-- --:--:-- --:--:-- 565
域名dns解析IP:2a01:4f8:191:48c:2018:2019:0:b3 (2a01:4f8:191:48c:2018:2019:0:b3
本机IP: 144.76.17.141
(standard_in) 1: syntax error
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: syntax error
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
(standard_in) 1: illegal character: :
[Error] 域名dns解析IP 与 本机IP 不匹配 是否继续安装?(y/n)
y
继续安装
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://ftp.debian.org/debian stretch InRelease
Hit:3 http://ftp.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.debian.org/debian stretch Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
70 packages can be upgraded. Run 'apt list --upgradable' to see them.Reading package lists... Done
Building dependency tree
Reading state information... Done
nginx is already the newest version (1.10.3-1+deb9u3).
0 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.
[OK] nginx 安装成功
Reading package lists... Done
Building dependency tree
Reading state information... Done
php7.0-cgi is already the newest version (7.0.33-0+deb9u7).
php7.0-curl is already the newest version (7.0.33-0+deb9u7).
php7.0-fpm is already the newest version (7.0.33-0+deb9u7).
php7.0-gd is already the newest version (7.0.33-0+deb9u7).
0 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.
[OK] php7 安装成功
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version (1:2.11.0-3+deb9u5).
0 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.
fatal: destination path 'oneindex' already exists and is not an empty directory.
[OK] OneIndex 下载成功
--2020-02-23 04:06:56-- https://github.com/mayswind/AriaNg/releases/download/0.3.0/aria-ng-0.3.0.zip
Resolving github.com (github.com)... 140.82.118.4
Connecting to github.com (github.com)|140.82.118.4|:443... connected.HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/58753834/3c65e772-b11e-11e7-9bc6-d446b32e667a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200223%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200223T040656Z&X-Amz-Expires=300&X-Amz-Signature=899df2874e61fb8fab79b25392f1df2f810bd4b98744e52452bae2e8a2434c6f&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Daria-ng-0.3.0.zip&response-content-type=application%2Foctet-stream [following]
--2020-02-23 04:06:56-- https://github-production-release-asset-2e65be.s3.amazonaws.com/58753834/3c65e772-b11e-11e7-9bc6-d446b32e667a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200223%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200223T040656Z&X-Amz-Expires=300&X-Amz-Signature=899df2874e61fb8fab79b25392f1df2f810bd4b98744e52452bae2e8a2434c6f&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Daria-ng-0.3.0.zip&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.164.11
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.164.11|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 951990 (930K) [application/octet-stream]
Saving to: 'aria-ng-0.3.0.zip.1'

aria-ng-0.3.0.zip 100%[==========>] 929.68K 1.66MB/s in 0.5s

2020-02-23 04:06:57 (1.66 MB/s) - 'aria-ng-0.3.0.zip.1' saved [951990/951990]

Archive: aria-ng-0.3.0.zip
replace js/angular-packages-1.6.5.min.js? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: js/angular-packages-1.6.5.min.js
replace js/aria-ng-12608bfb5c.min.js? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
y inflating: js/aria-ng-12608bfb5c.min.js
replace js/bootstrap-3.3.7.min.js? [y]es, [n]o, [A]ll, [N]one, [r]ename:
inflating: js/bootstrap-3.3.7.min.js
replace js/echarts-common-3.7.1.min.js? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: js/echarts-common-3.7.1.min.js
replace js/jquery-2.2.4.min.js? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: js/jquery-2.2.4.min.js
replace js/moment-with-locales-2.18.1.min.js? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: js/moment-with-locales-2.18.1.min.js
replace js/plugins-f99230fa2d.min.js? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: js/plugins-f99230fa2d.min.js
replace langs/zh_Hans.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename:
error: invalid response [{ENTER}]
replace langs/zh_Hans.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: langs/zh_Hans.txt
replace langs/zh_Hant.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: langs/zh_Hant.txt
replace index.html? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: index.html
replace index.manifest? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: index.manifest
replace LICENSE? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: LICENSE
replace robots.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: robots.txt
replace css/aria-ng-2aa6affdda.min.css? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: css/aria-ng-2aa6affdda.min.css
replace css/bootstrap-3.3.7.min.css? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: css/bootstrap-3.3.7.min.css
replace css/plugins-a7090b9582.min.css? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: css/plugins-a7090b9582.min.css
replace fonts/fontawesome-webfont.eot? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: fonts/fontawesome-webfont.eot
replace fonts/fontawesome-webfont.svg? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: fonts/fontawesome-webfont.svg
replace fonts/fontawesome-webfont.ttf? [y]es, [n]o, [A]ll, [N]one, [r]ename:
error: invalid response [{ENTER}]
replace fonts/fontawesome-webfont.ttf? [y]es, [n]o, [A]ll, [N]one, [r]ename:
error: invalid response [{ENTER}]
replace fonts/fontawesome-webfont.ttf? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: fonts/fontawesome-webfont.ttf
replace fonts/fontawesome-webfont.woff? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: fonts/fontawesome-webfont.woff
replace fonts/fontawesome-webfont.woff2? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
inflating: fonts/fontawesome-webfont.woff2
[OK] AriaNg 下载成功
y
[OK] 80 端口未被占用
[OK] 443 端口未被占用
Reading package lists... Done
Building dependency tree
Reading state information... Done
netcat is already the newest version (1.10-41).
socat is already the newest version (1.7.3.1-2+deb9u1).
0 upgraded, 0 newly installed, 0 to remove and 70 not upgraded.
[OK] SSL 证书生成脚本依赖安装成功
% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--100 775 0 775 0 0 9784 0 --:--:-- --:--:-- --:--:-- 9810
% Total % Received % Xferd Average Speed Time Time Time Current

Dload Upload Total Spent Left Speed

0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--100 191k 100 191k 0 0 765k 0 --:--:-- --:--:-- --:--:-- 766k
[Sun Feb 23 04:07:45 UTC 2020] Installing from online archive.
[Sun Feb 23 04:07:45 UTC 2020] Downloading https://github.com/acmesh-official/acme.sh/archive/master.tar.gz
[Sun Feb 23 04:07:46 UTC 2020] Extracting master.tar.gz
[Sun Feb 23 04:07:46 UTC 2020] Installing to /root/.acme.sh
[Sun Feb 23 04:07:46 UTC 2020] Installed to /root/.acme.sh/acme.sh
[Sun Feb 23 04:07:46 UTC 2020] Installing alias to '/root/.bashrc'
[Sun Feb 23 04:07:46 UTC 2020] OK, Close and reopen your terminal to start using acme.sh
[Sun Feb 23 04:07:46 UTC 2020] Installing cron job
4 0 * "/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" > /dev/null
[Sun Feb 23 04:07:46 UTC 2020] Good, bash is found, so change the shebang to use bash as preferred.
[Sun Feb 23 04:07:48 UTC 2020] OK
[Sun Feb 23 04:07:48 UTC 2020] Install success!
[OK] SSL 证书生成脚本安装成功
[Sun Feb 23 04:07:51 UTC 2020] Standalone mode.
[Sun Feb 23 04:07:52 UTC 2020] Single domain='one.nshfwz.info'
[Sun Feb 23 04:07:52 UTC 2020] Getting domain auth token for each domain
[Sun Feb 23 04:07:55 UTC 2020] Getting webroot for domain='one.nshfwz.info'
[Sun Feb 23 04:07:56 UTC 2020] Verifying: one.nshfwz.info
[Sun Feb 23 04:07:56 UTC 2020] Standalone mode server

[Sun Feb 23 04:08:00 UTC 2020] Pending
[Sun Feb 23 04:08:03 UTC 2020] Pending
[Sun Feb 23 04:08:06 UTC 2020] Pending
[Sun Feb 23 04:08:09 UTC 2020] one.nshfwz.info:Verify error:Fetching http://one.nshfwz.info/.well-known/acme-challenge/aXMRZd-hrSAgO7ExSm-2PS33-72y6U38ZlrqPvihpOI: Timeout during connect (likely firewall problem)
[Sun Feb 23 04:08:09 UTC 2020] Please add '--debug' or '--log' to check more details.
[Sun Feb 23 04:08:09 UTC 2020] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
[Error] SSL 证书生成失败
root@oranme430:~# y
-bash: y: command not found
root@oranme430:~#
root@oranme430:~#