低成本搭建网盘0.2.0 最新源码 v0.2.0
发布时间:2019-08-01
软件语言:简体中文
软件大小:0.88MB
软件授权:免费版
软件版本:v0.2.0
相关链接:软件官网
软件类型:国产软件
软件平台:Win All
软件类型: 编程软件  /  网页模板
关键字:低成本搭建网盘,低成本搭建网盘下载,低成本搭建网盘免费下载,低成本搭建网盘官方下载,低成本搭建网盘0.2.0最新源码
软件评分:
低老本搭建网盘【 离线下载】+【在线播放】是一款若何自建网盘,实现云播,离线下载等等性能源码以及教程,这个可能对于接迅雷离线下载、QQ旋风下载、baidu网盘下载、115网盘下载等软件的下载神器,在路由器中下载。

教程剖析

演示网站

前台:http://isbn.work/
网盘:http://isbn.work/Download
用户:guest
明码:guest

装置步骤装置 oneinstack

我的习气是装置 Nignx + Mysql(非必需) + PHP7.1

apt-getupdateapt-get-y install wget screen curl pythoncd /rootwget http://mirrors.linuxeye.com/oneinstack-full.tar.gztar xzf oneinstack-full.tar.gzcd /root/oneinstackscreen -S oneinstack#假如网路泛起中断,可能实施命令`screen -R oneinstack`重新衔接装置窗口./install.sh#注:请勿sh install.sh概况bash install.sh这样实施装置 AriaNG

经由 oneinstack 建树网站的虚机目录
我的目录是 /data/wwwroot/miku.buzz

cd/root/oneinstack./vhost.sh

下载文件

cd /data/wwwroot/miku.buzzwgethttps://github.com/mayswind/AriaNg/releases/download/0.2.0/aria-ng-0.2.0.zip# 概况#wget https://storage.liyuans.com/04.%E6%BA%90%E7%A0%81/aria-ng-0.2.0.zipunzip aria-ng-0.2.0.ziprm -rf aria-ng*

魔难:此时碰头你的网站理当是可能看到信息了,

经由 oneinstack 建树网站的虚机目录,务必以及下面的目录不要一再
我的目录是 /data/wwwroot/dl.miku.buzz

cd/root/oneinstack./vhost.sh

下载文件

cd/data/wwwroot/dl.miku.buzzwget https://release.larsjung.de/h5ai/h5ai-0.29.0.zipunzip h5ai-0.29.0.zipmkdir download

更正 Nginx 的配置装备部署文件

apt-getinstallnano -ynano /usr/local/nginx/conf/vhost/dl.miku.buzz.conf将 index 行削减一条记实 _h5ai/public/index.php(放在最后即可),更正之后的行理当是这个模样index index.html index.htm index.php /_h5ai/public/index.php;

重启 nginx

servicenginx restart

魔难:此时碰头你的网站理当是可能看到信息了,

装置 Aria2

装置
PS: 我运用的是 apt-get 装置,版本比力老,假如需要新版本,请自行编译装置吧。

apt-getupdate && apt-getinstall aria2 -yaria2c -v# 个别情景下理当返回 一大串的版本信息,假如返回 找不到命令,那末剖析装置失败。

更正配置装备部署文件

cd /root# 建树Aria2配置装备部署文件夹mkdir/root/.aria2 && cd /root/.aria2# 下载Aria2配置装备部署文件、DHT文件(BT有无速率就靠这个)wget --no-check-certificate -N"https://storage.liyuans.com/98.%E5%85%B6%E4%BB%96/aria2.conf"wget --no-check-certificate -N"https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/other/Aria2/dht.dat"# 备用下载,来自ZRJ766:http://dl.zrj766.com/zrj96/aria2.conf#备用下载:https://storage.liyuans.com/98.%E5%85%B6%E4%BB%96/dht.dat#备用下载:https://storage.liyuans.com/98.%E5%85%B6%E4%BB%96/aria2.conf# 建树一个空的 Aria2 下载使命保存文件echo''>/root/.aria2/aria2.session

更正下载道路
不用介意乱码,将 dir=/usr/local/caddy/www/aria2/Download 更正为 dir=/data/wwwroot/dl.miku.buzz/download
更正明码:由于是逗比的剧本,默认明码是 doub.io,可能自己更正: rpc-secret=doub.io 改为你要的明码,尽管也可能用 #诠释掉

nanoaria2.conf

布景运行
我用的 screen,实施下面的命令后,退出即可,就在布景实施了。

screen -S ariacd/root/.aria2aria2c -c

懒人专用
逗比的一键剧本,留意需要更正下载道路。

wget -N --no-check-certificate https://softs.fun/Bash/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留意事变

Aria 布景运行我用的是 Screen,相关命令并不难。有其余方式也请巨匠在品评区给出~

假如开启 Aria2 的时候揭示失败,请魔难如下两点:

请确认防火墙是否凋谢了运用的端口(艰深来说是 6800 以及 BT 的那个监听端口、80 端口、51413 端口),详细参考这篇文章开启端口吧

假如是端口占用,请魔难占用挨次(lsof -i:对于应的端口) 并封锁 (kill -9 对于应的pid)

假如仍是不能衔接,试验在 AriaNG 的配置概况,更正措施为 GET。
详细道路为:AriaNG Setting - RPC - Aria2 RPC HTTP Request Method

软件截图
最新更新
下载地址