Loading... 之前发过一个与本脚本类似的教程 <div class="preview"> <div class="post-inser post box-shadow-wrap-normal"> <a href="https://94ish.me/1697.html" target="_blank" class="post_inser_a no-external-link no-underline-link"> <div class="inner-image bg" style="background-image: url(https://www.94ish.me/usr/uploads/2018/02/3273292009.png);background-size: cover;"></div> <div class="inner-content" > <p class="inser-title">Aria2+Rclone+DirectoryLister+AriaNg一键安装脚本 for Debian 8</p> <div class="inster-summary text-muted"> 之前发了个VPS结合Google Drive建立BT离线大网盘教程,鉴于搭建时间较长,且编译安装需要占用2G以上空... </div> </div> </a> <!-- .inner-content #####--> </div> <!-- .post-inser ####--> </div> 后来又有大佬发布了**GDlist**后,其不走服务器流量的特点还是挺不错的,毕竟很多人流量都有限,于是新的一键脚本分支将**DirectoryLister**替换成了**GDlist**,**Nginx**环境换成了**Caddy**,支持的系统多了**Ubuntu**,本脚本同样的支持下载后自动上传,添加并自动更新**Trackers**服务器等特点。 ## 安装需求 > 1. 两个域名,一个作为`Gdlist`的域名,另外一个作为`AriaNg`的域名。 > 2. *Debian* **8**系统或**Ubuntu** **16**。 > 3. 本脚本需要Google Drive一个。 ## 运行脚本 本脚本在`Debian` **8** x64上测试成功。 如果运行失败,可以通过DD安装纯净版系统 > apt-get install -y gawk sed grep wget --no-check-certificate -qO DebianNET.sh 'https://moeclub.org/attachment/LinuxShell/DebianNET.sh' && chmod -x DebianNET.sh && bash DebianNET.sh -d 8 -v 64 -a --mirror 'http://ftp.riken.jp/Linux/debian/debian/' 重装后root默认密码为:**Vicer** ### 使用命令: ```bash wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Aria2-Rclone-DirectoryLister-Aria2Ng/gdlist/Aria2.sh" chmod +x Aria2.sh ./Aria2.sh ```bash 运行脚本后,会依次要你输入以下信息:``` #输入网盘域名及Aria2NG面板域名 请输入你的DirectoryLister域名信息(eg:pan.94ish.me): 请输入你的Aria2NG域名信息(eg:dl.94ish.me): #设置Aria2密钥 请输入你的Aria2密钥: #配置Rclone,大致如下 n) New remote s) Set configuration password q) Quit config n/s/q> n name> aria2down #随便填,后面要用到 Type of storage to configure. Choose a number from below, or type in your own value 1 / Alias for a existing remote \ "alias" 2 / Amazon Drive \ "amazon cloud drive" 3 / Amazon S3 (also Dreamhost, Ceph, Minio, IBM COS) \ "s3" 4 / Backblaze B2 \ "b2" 5 / Box \ "box" 6 / Cache a remote \ "cache" 7 / Dropbox \ "dropbox" 8 / Encrypt/Decrypt a remote \ "crypt" 9 / FTP Connection \ "ftp" 10 / Google Cloud Storage (this is not Google Drive) \ "google cloud storage" 11 / Google Drive \ "drive" 12 / Hubic \ "hubic" 13 / Local Disk \ "local" 14 / Microsoft Azure Blob Storage \ "azureblob" 15 / Microsoft OneDrive \ "onedrive" 16 / Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH) \ "swift" 17 / Pcloud \ "pcloud" 18 / QingCloud Object Storage \ "qingstor" 19 / SSH/SFTP Connection \ "sftp" 20 / Webdav \ "webdav" 21 / Yandex Disk \ "yandex" 22 / http Connection \ "http" Storage> 11 #选择11 Google Application Client Id - leave blank normally. client_id> #留空 Google Application Client Secret - leave blank normally. client_secret> #留空 Scope that rclone should use when requesting access from drive. Choose a number from below, or type in your own value 1 / Full access all files, excluding Application Data Folder. \ "drive" 2 / Read-only access to file metadata and file contents. \ "drive.readonly" / Access to files created by rclone only. 3 | These are visible in the drive website. | File authorization is revoked when the user deauthorizes the app. \ "drive.file" / Allows read and write access to the Application Data folder. 4 | This is not visible in the drive website. \ "drive.appfolder" / Allows read-only access to file metadata but 5 | does not allow any access to read or download file content. \ "drive.metadata.readonly" scope> 1 #选择1 ID of the root folder - leave blank normally. Fill in to access "Computers" folders. (see docs). root_folder_id> #留空 Service Account Credentials JSON file path - leave blank normally. 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 ==== ==== aria2down 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: #字面意思 请输入你云盘中需要挂载的文件夹: #谷歌云盘中的文件夹名 请输入你的Gdlist管理密码: #随便输入,但是马上Gdlist的管理密码要与此相同 ``` 然后脚本安装完成后,就可以直接通过**Aria2Ng**面板连接**Aria2**下载文件,并通过*网盘*观看了。 但是,由于大陆屏蔽了谷歌,所以需要**富强**访问。 ## 相关目录 > Aria2下载目录:/root/Download Aria2Ng目录:/home/wwwroot/b.xx.com ## Gdlist配置 ![GDLIST(3).png][1] 口令必须要和上方输入的**管理密码**相同。 ![TIM截图20180426215422.png][2] 文件分享要确保分享链接类型为`Public`(公开),如果不是,请自己修改。 ![TIM截图20180426215405.png][3] [1]: https://www.94ish.me/usr/uploads/2018/04/2447458756.png [2]: https://www.94ish.me/usr/uploads/2018/04/46512546.png [3]: https://www.94ish.me/usr/uploads/2018/04/1341198056.png 最后修改:2018 年 04 月 26 日 10 : 53 PM © 允许规范转载 赞赏 如果觉得我的文章对你有用,请随意赞赏 ×Close 赞赏作者 扫一扫支付 支付宝支付 微信支付
41 条评论
请问云盘是用的什么程序,可以分享下源码吗?https://drive.94ish.me/
求教大佬~
安装顺利,运行OK。
但是运行一天以后,Aria2就进不去了。网址可以ping通。
进VPS,使用./Aria2.sh启动脚本,提示80端口和443端口被占用,挨个干掉以后,剩余33001端口一直有gd1占用。
想请请教一下怎么解决。。。。
gd1是node.js
补充一下,重启VPS无法解决。
另外补充下我的情况,Google cloud搭的debian9,直接用脚本各种问题。用本文开始的纯净版以后,顺利安装。
大佬,脚本有没有时间更新下呢。。。
最新的sharelist有更多的功能,比如文件夹加密等
我这边升级到最新的sharelist,会提示 502错误,搞了好久,,,没有搞定。。。
手动就能解决
31/Jul/2019:21:26:00 -0400 [ERROR 502 /] dial tcp 127.0.0.1:33001: connect: connection refused
31/Jul/2019:21:26:01 -0400 [ERROR 502 /favicon.ico] dial tcp 127.0.0.1:33001: connect: connection refused
31/Jul/2019:21:29:08 -0400 [ERROR 502 /] dial tcp 127.0.0.1:33001: connect: connection refused
31/Jul/2019:21:29:09 -0400 [ERROR 502 /favicon.ico] dial tcp 127.0.0.1:33001: connect: connection refused
31/Jul/2019:21:29:10 -0400 [ERROR 502 /] dial tcp 127.0.0.1:33001: connect: connection refused
31/Jul/2019:21:29:11 -0400 [ERROR 502 /favicon.ico] dial tcp 127.0.0.1:33001: connect: connection refused
31/Jul/2019:21:29:12 -0400 [ERROR 502 /] dial tcp 127.0.0.1:33001: connect: connection refused
31/Jul/2019:21:29:13 -0400 [ERROR 502 /favicon.ico] dial tcp 127.0.0.1:33001: connect: connection refused
31/Jul/2019:21:29:14 -0400 [ERROR 502 /] dial tcp 127.0.0.1:33001: connect: connection refused
31/Jul/2019:21:29:15 -0400 [ERROR 502 /favicon.ico] dial tcp 127.0.0.1:33001: connect: connection refused
博主,这个有办法解决吗。。。
..。。。好吧,我太菜了。。。。
sharelist后台登录设置的时候好像输错了onedrive的ID
现在打开网页只提示Error: read ECONNRESET at TLSWrap.onread (net.js:622:25)
删掉文件夹再安装也布星,求个把sharelist重装的办法
/manage就ok了
搭建成功了,感谢千影萨马ヾ(≧∇≦*)ゝ就是要爬梯。。。
请问如果要绑定两个域名如何写?直接加空格嘛
建议一键完成后自行修改caddy配置
请问Gdlist怎么升级到最新版呢?脚本能不能修改成自动抓取最新版代码?
作者一直有修正一些问题:
https://github.com/reruin/sharelist
直接替换就行了
好的,搞定了。要是一键脚本安装的时候能直接从作者github链接抓最新版本就好了ヾ(≧∇≦*)ゝ
千影大大,想问按你这个脚本配置好后,vps下载PT 的tracker有速度,但是没有上传速度是什么问题?要怎么解决?
手动修改下上传限速
上传限速默认是0,不是无限制的意思吗
rclone安装成功,docker安装resiliosync,下载文件到挂载的GoogleDrive文件夹却没有写入权限该如何解决?
博主可以写一个Resiliosync+Rclone+GoogleDrive一键安装脚本么?我愿意付费,电报联系我。http://t.me/yangleitj
不能直接下载目录到此,只能用mv移动过去
这是没挂载上吗
root@alex:~/Download# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 20G 3.2G 15G 18% /
udev 10M 0 10M 0% /dev
tmpfs 99M 4.4M 95M 5% /run
tmpfs 248M 0 248M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 248M 0 248M 0% /sys/fs/cgroup
root@alex:~/Download#
博主好,我发现现在的无限空间谷歌云盘使用的edu邮箱,在分享链接里只有对于所在学校的共享,没有public共享,不知道有没有什么办法OωO
可以公开的,需要在设置里设置
我刚在谷歌查看了,貌似真的不行
设置共享权限
允许用户与任何人共享内容
您无法通过当前帐户 [***]@st**.edu 来执行这些操作。要继续操作,请务必切换到管理员帐户。切换帐户后,系统会打开管理控制台。 立.edu 来执行这些操作。要继续操作,请务必切换到管理员帐户。切换帐户后,系统会打开管理控制台。
立即切换到管理员帐户或了解详情。
谢谢博主解答啦,我再想想办法,不然sharelist就没法用了。。其实也应该无伤大雅啦
你好 安装报错 ,能解决吗?本人小白 麻烦了
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
Reading package lists... Done
Building dependency tree
Reading state information... Done
nodejs is already the newest version (8.11.3-1nodesource1).
0 upgraded, 0 newly installed, 0 to remove and 29 not upgraded.
[错误] 不支持 aarch64 !
If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth
Log in and authorize rclone for access
现在这个变成本地链接了...
抱歉没带脑子...命令按错了
大佬,那个我共享出来的文件夹,gdlist里面点进去是空的啊。。。这个怎么破?保证权限可id是ojbk的。。。
这个不清楚,最好权限是公开
找到原因了,我的那个教育版不支持公开,虽然选择了完全公开,但是访问还是需要验证,只有配合h5ai一类的才行,
但看片速度超级慢。。。。笑哭
认证失败,Aria2状态未连接如何解决啊
设置里填写认证密钥
能支持onedriver吗
理论支持,然而Onedrive最大文件4G所以没多大用
也是。。。
[Error] 域名dns解析IP 与 本机IP 不匹配 是否继续安装?(y/n)
出现这个是啥情况,域名解析完全没问题
如果解析正确的话无视即可
aria2ng如果要配置成https的话除了caddy改tls以外还要如何改aria2才能完成呢?
极其不建议配置https
顶一个看看。。。。。。。。。。。