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

推荐订阅源

The Last Watchdog
The Last Watchdog
博客园 - 司徒正美
L
LangChain Blog
P
Proofpoint News Feed
阮一峰的网络日志
阮一峰的网络日志
V
V2EX
L
LINUX DO - 热门话题
Google DeepMind News
Google DeepMind News
Security Latest
Security Latest
Microsoft Security Blog
Microsoft Security Blog
Cyberwarzone
Cyberwarzone
Project Zero
Project Zero
M
MIT News - Artificial intelligence
NISL@THU
NISL@THU
C
CERT Recently Published Vulnerability Notes
Engineering at Meta
Engineering at Meta
T
Tenable Blog
C
Cybersecurity and Infrastructure Security Agency CISA
T
Troy Hunt's Blog
月光博客
月光博客
大猫的无限游戏
大猫的无限游戏
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Scott Helme
Scott Helme
Recent Announcements
Recent Announcements
S
Secure Thoughts
H
Hackread – Cybersecurity News, Data Breaches, AI and More
量子位
aimingoo的专栏
aimingoo的专栏
MyScale Blog
MyScale Blog
云风的 BLOG
云风的 BLOG
Hacker News - Newest:
Hacker News - Newest: "LLM"
雷峰网
雷峰网
Attack and Defense Labs
Attack and Defense Labs
A
About on SuperTechFans
Last Week in AI
Last Week in AI
T
Tailwind CSS Blog
Martin Fowler
Martin Fowler
V2EX - 技术
V2EX - 技术
S
Securelist
Microsoft Azure Blog
Microsoft Azure Blog
N
Netflix TechBlog - Medium
B
Blog RSS Feed
C
CXSECURITY Database RSS Feed - CXSecurity.com
D
DataBreaches.Net
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 叶小钗
T
The Blog of Author Tim Ferriss
PCI Perspectives
PCI Perspectives
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
H
Hacker News: Front Page

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,可以在文章下面评论留言。