[Openwrt擴展中篇]添加Aria2和webui

上一篇說了我構建了簡單的網絡硬盤,這一篇說的是我構造的aria2和webui,大概是這樣我以爲有了網絡硬盤,那麼我是否是能夠遠程下載呢,翻閱了網上資料發現迅雷的Xware貌似不更新了,而後我發現了aria2這個東西。php

借用那句話,沒錯,我也是受夠了迅雷....很少說咱們簡單些直接來乾貨。html

安裝nginx

使用網絡上的資源下載支持最多的一款編譯版本,連接:http://pan.baidu.com/s/1c1WRGyO 密碼:zlj8 web

編輯配置json

vim /etc/aria2/aria2.conf 

dir=/mnt/sda2/download

disable-ipv6=true

enable-rpc=true

rpc-allow-origin-all=true

rpc-listen-all=true

#rpc-listen-port=6800

continue=true

input-file=/etc/aria2/aria2.session

save-session=/etc/aria2/aria2.session

max-concurrent-downloads=3

file-allocation=none

continue=true

max-connection-per-server=5

min-split-size=10M

split=5

enable-dht=false

enable-peer-exchange=false

peer-id-prefix=-TR2770-

user-agent=Transmission/2.77

seed-ratio=0

bt-seed-unverified=true

bt-save-metadata=true

---
vim /etc/rc.local 

aria2c --conf-path=/etc/aria2/aria2.conf -D

鏈接設置:
http://66.66.66.60:6800/jsonrpc

使用webui vim

比較有名的有yaaw,AriaNg, Aria2 WebUI網絡

能夠到這裏找漢化 http://dy.ghostry.cn/session

順帶提一下,能夠用Openwrt自帶uhttpd這個webserver,也能夠用nginx作webserver。post

效果展現:優化

題外話,優化和使用還有一些插件你們能夠在下面的參考資料查找,最後建議加上動態域名這裏推薦changip和花生殼網上有資料你們能夠看,配置OK就能夠進行遠程下載了~~~~不過這還不是我想要的.....你們能夠看下篇文章[Openwrt 擴展下篇] Openwrt搭建私有云Owncloud 9

 

 

 

傳送:

[Openwrt 擴展上篇]USB掛載&U盤啓動&Samba共享

[Openwrt 擴展下篇] Openwrt搭建私有云Owncloud 9

參考資料:

  http://www.right.com.cn/forum/forum.php?mod=viewthread&tid=252652

  https://www.cnblogs.com/RhinoC/p/aria2.html

  http://dy.ghostry.cn/

  https://pub.la4ji.com/aria2-yaaw.html

相關文章
相關標籤/搜索