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

推荐订阅源

T
Tenable Blog
Last Week in AI
Last Week in AI
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
H
Help Net Security
F
Fortinet All Blogs
MyScale Blog
MyScale Blog
宝玉的分享
宝玉的分享
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 司徒正美
量子位
N
Netflix TechBlog - Medium
Apple Machine Learning Research
Apple Machine Learning Research
小众软件
小众软件
Recorded Future
Recorded Future
博客园 - 三生石上(FineUI控件)
Vercel News
Vercel News
aimingoo的专栏
aimingoo的专栏
I
InfoQ
Microsoft Security Blog
Microsoft Security Blog
Scott Helme
Scott Helme
The Last Watchdog
The Last Watchdog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
AI
AI
WordPress大学
WordPress大学
Security Archives - TechRepublic
Security Archives - TechRepublic
Google Online Security Blog
Google Online Security Blog
U
Unit 42
V2EX - 技术
V2EX - 技术
MongoDB | Blog
MongoDB | Blog
Schneier on Security
Schneier on Security
博客园 - Franky
H
Heimdal Security Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
W
WeLiveSecurity
P
Privacy & Cybersecurity Law Blog
Cloudbric
Cloudbric
B
Blog RSS Feed
N
News | PayPal Newsroom
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
I
Intezer
Hacker News - Newest:
Hacker News - Newest: "LLM"
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
博客园_首页
罗磊的独立博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
雷峰网
雷峰网

Rat's Blog - Google Drive

GoIndex:一个无需服务器的Google Drive目录索引程序 - Rat's Blog 申请西南学院EDU教育邮箱,可免费获取无限容量的Google Drive网盘 - Rat's Blog 解决Rclone挂载Google Drive时上传失败和内存占用高等问题 - Rat's Blog Rclone+Google Drive搭建无限容量的媒体库,适用于Plex/Emby/Jellyfin等 - Rat's Blog Sharecmd:一个可以将文件上传至Google Drive/Dropbox并自动生成分享链接的工具 - Rat's Blog 使用Aira2下载文件后自动上传到Google Drive网盘 - Rat's Blog Windows下使用RaiDrive挂载Google Drive/OneDrive网盘为本地硬盘使用 - Rat's Blog 免费申请谷歌G Suite套件、并获取无限空间Google Drive - Rat's Blog Aria2+Caddy+Rclone+GDlist+Aria2Ng+Google Drive一键安装脚本 - Rat's Blog
VPS使用GDList挂载Google Drive和OneDrive网盘,支持多个同时挂载 - Rat's Blog
博主: Rat's · 2018-04-19 · via Rat's Blog - Google Drive

简介

GDList可以将Google DriveOneDrive分享出的文件夹ID挂载成网盘。即使你没网盘也没关系。还不占服务器空间,不消耗服务器流量;可多个Google DriveOneDrive同时挂载到网盘;支持直链下载、在线预览(图片、视频、音频)。

Github地址:https://github.com/reruin/gdlist

截图

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

更新

支持OneDrive、OpenLoad、Lanzou蓝奏云、天翼云网盘、GoogleDrive等挂载

脚本安装

系统要求:CentOSDebianUbuntu

运行命令:

#Debian/Ubuntu系统
apt-get -y install git

#CentOS/RHEL系统
yum -y install git

#下载源码安装
git clone https://github.com/reruin/sharelist.git
cd sharelist && bash install.sh

完成后,访问http://ip:33001,进入界面开始设置,记住网盘文件夹要共享一下,不然会出现500错误。
请输入图片描述

关于很多人说的不显示问题,博主试了下是没问题的,注意输入的ID,添加后记得清空缓存。

#Google Drive
分享链接一般是https://drive.google.com/drive/folders/xxxx?usp=sharing,则ID为xxxx。
#OneDrive
分享链接一般是https://1drv.ms/f/xxxx,则ID为xxxx。

Docker安装

1、安装Docker和Docker Compose

#安装Docker
curl -sSL https://get.docker.com/ | sh
service docker start
#安装Docker Compose
curl -L https://github.com/docker/compose/releases/download/1.17.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

2、安装GDLIST

#Debian/Ubuntu系统
apt-get -y install git

#CentOS/RHEL系统
yum -y install git

#安装GDLIST
git clone https://github.com/reruin/gdlist.git
cd gdlist
docker-compose up -d

最后访问http://IP:33001即可。

添加域名SSL

如果想用域名查看的,可以用Caddy反代,并自动添加SSL证书。首先需要解析一个域名到服务器上。

安装Caddy

wget -N --no-check-certificate https://raw.githubusercontent.com/iiiiiii1/doubi/master/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh
#备用地址
wget -N --no-check-certificate https://www.moerats.com/usr/shell/Caddy/caddy_install.sh && chmod +x caddy_install.sh && bash caddy_install.sh

编辑配置文件

#以下全部内容是一个整体,修改域名、IP、邮箱后一起复制到SSH运行!
echo "https://xx.com {
 tls admin@moerats.com
 proxy / 111.111.111.111:33001 {
    header_upstream Host {host}
    header_upstream X-Real-IP {remote}
    header_upstream X-Forwarded-For {remote}
    header_upstream X-Forwarded-Port {server_port}
    header_upstream X-Forwarded-Proto {scheme}
  }
 log /var/log/caddy.log
 gzip
}" > /usr/local/caddy/Caddyfile

启动Caddy

/etc/init.d/caddy restart

最后就可以通过域名https访问了。

相关教程


版权声明:本文为原创文章,版权归 Rat's Blog 所有,转载请注明出处!

本文链接:https://www.moerats.com/archives/593/

如教程需要更新,或者相关链接出现404,可以在文章下面评论留言。