通过Rclone及Oneindex实现Onedrive离线下载教程

CokeMineCokeMine CokeMine265文章437评论2018年5月4日20:01:47各种教程评论23.7K views阅读模式

文章目录[隐藏]

一、挂载(不需要离线下载就不需要这一步)二、安装OneIndex

Rclone大家都很熟悉了,就不在介绍了

重点介绍Oneindex,它可以实现不用服务器空间,不走服务器流量,直接列onedrive目录,文件直链下载。及在线播放,文件加密功能,这样哪怕是空间,都不用耗流量进行下载(本质来说是一个将OneDrive中文件提取分享链接的原理)。

一、挂载(不需要离线下载就不需要这一步)

安装Rclone

apt-get install fuse
wget https://downloads.rclone.org/rclone-current-linux-amd64.zip
unzip rclone-current-linux-amd64.zip
chmod 0777 ./rclone-*/rclone
cp ./rclone-*/rclone /usr/bin/
rm -rf ./rclone-*

配置

rclone config

(和Gdrive不同的是)需要本地电脑点一下Key,具体百度

二、安装OneIndex

1、Github地址   https://github.com/donwa/oneindex

2、设置权限,直接上传到空间目录即可

3、伪静态配置:

location / {
index index.html index.php;
if (-f $request_filename/index.html){
rewrite (.*) $1/index.html break;
}
if (-f $request_filename/index.php){
rewrite (.*) $1/index.php;
}
if (!-f $request_filename){
rewrite (.*) /index.php;
}
}

然后修改 config/base.php:

‘root_path’ => ‘?’ 改为 ‘root_path’ => ”

图片测试速度:

点赞 登录收藏 https://legacy.cokemine.com/rclone-onedrive-oneindex.html复制链接复制链接Line 群组阔乐博客 Line 群了解一下weinxinTelegram 群组Telegram 群组了解一下weinxin

广告位招募               加入TG群组

各种教程最后更新:2019-1-29


比丘资源网 » 通过Rclone及Oneindex实现Onedrive离线下载教程

发表回复

提供最优质的资源集合

立即查看 了解详情