dayeah

网盘目录列表filerun+离线下载器aria2+web界面ariang安装

时间:2019-12-17   阅读:2611

centos(67都可以)+宝塔mysql5.6(内存够装5.7不够装5.5) + php7.3(7.2以上最低最好是7.4)

宝塔软件管理中php7.3设置 安装扩展 ionCube必装,可选装:OPcache imagemagick exif  fileinfo

然后再php“配置文件”314行左右中找到 disable_functions=  这一行代码里,删掉 exec,  这一步就是启用exec函数。

找到open_basedir,大概在293行,记得替换成你的域名open_basedir = /www/wwwroot/yourdomain.com/:/tmp/:/proc/

顺便修改PHP最大上传50M限制

修改后保存,重启PHP后生效。

建站建数据库

1下载安装filerun   https://filerun.com/download

直链下载 

debian

https://filerun.com/download-latest-ubuntu-ngin

centos

https://filerun.com/download-latest-centos-nginx

访问首页输入数据库信息后进行filerun设置.一定要在用户 修改 权限 路径里创建一个目录地址填上路径/www/wwwroot/www.xx.com/filerunxxx否则不能上传文件(最好不要在网站目录下文件不能直接访问更安全)

下载中文语言包https://github.com/filerun/translations ftp上传到system/data/translations目录即可切换中文

开启mmpeg(可以预览视频亲测成功)

https://johnvansickle.com/ffmpeg/

wget  
tar xJf ffmpeg-release-amd64-static.tar.xz
cd ffmpeg-5.1.1-amd64-static
mv ffmpeg ffprobe manpages model qt-faststart /usr/bin/
然后进后台启用 路径默认即可或者填/usr/bin/ffmpeg

支持office文件开libreoffice

apt install libreoffice -y


短网址配置

https://docs.filerun.com/advanced_configuration

新建文件customizables/config.php

<?php
$config['app']['weblinks']['custom_url_shortener'] = 'http://xk.al/yourls-api.php?signature=xxxxxxxxxx&action=shorturl&format=simple';
?>

xxxxxxxxxx换成自己的token

最后可以这样登录网盘

http://aaa.com/?username=superuser&password=888888

手机nplayer等连接WebDAV http://youdomain.com/dav.php/@Home


一定要在宝塔放行6800端口!!!(这样就不会重启后连不上了,不行再关掉centos防火墙试试)

带网页NG登录的一键aria2脚本(最好用!20221222)

https://github.com/P3TERX/aria2.sh


修改配置失效了换端口什么的话进服务器运行 ./aria2.sh 


2安装aria2 一键脚本 如果装最新版提示核心太低就装默认老版本号即可

大佬备份可安装脚本 教程:https://blog.iszoc.com/2785.html

wget -N --no-check-certificate http://cloud.iszoc.com/Aria2/aria2.sh && chmod +x aria2.sh && bash aria2.sh

安装好后启用.并修改密码 目录 


大佬原脚本失效

wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/aria2.sh && chmod +x aria2.sh && bash aria2.sh

装好后记下密码 目录等.目录改成/www/wwwroot/xxx.com/filerunxxx/ariaNGxxx/downxxx

centos6 一键安装 Aria2 &管理脚本

逗比大佬的一键脚本,很方便,而且速度快。项目地址:https://github.com/ToyoDAdoubi/doubi

3下载ariang上传到网站新建个目录可以下载地址

安装目录/www/wwwroot/xxx.coml/filerunxxx/ariaNGxxx/

解压访问目录网站第一次使用需要在 AriaNG设置 RPC 中 添加 RPC 密钥 就是装好aria2的密码输入即可连接成功。服务器记得放行6800端口

宝塔 安全 里 放行6800端口


最后在ariang中基本设置 下载路径 的目录为filerun下载的一个目录即可/www/wwwroot/www.xx.com/xxx/XXX

done.


debian8以上可以用一键脚本教程https://www.zjwiki.com/15029/.htm

Linux实用一键脚本,含BBR、rclone/fclone/6pan-cli/aria2cli/youtube-dl、aria2、

bash <(curl -sL git.io/cg_toolbox)

-----------

一键Aria2+文件管理

要求debian8以上:wget https://www.moerats.com/usr/shell/Aria2_Rc_D.sh && bash Aria2_Rc_D.sh


上一篇:宝塔反代加统计代码

下一篇:一键DD windows

网友评论