chiwent / blog

个人博客,只在issue内更新
https://chiwent.github.io/blog
8 stars 0 forks source link

威联通NAS的使用 #20

Open chiwent opened 2 years ago

chiwent commented 2 years ago

Docker篇

安装aria2和ariaNg

安装aria2:

docker run -d \
--name aria2 \
--restart unless-stopped \
--log-opt max-size=1m \
-e PUID=$UID \
-e PGID=$GID \
-e UMASK_SET=022 \
-e RPC_SECRET=shSdxjZJDNdfd \
-e RPC_PORT=6800 \
-e LISTEN_PORT=6888 \
-p 16800:6800 \
-p 16888:6888 \
-p 16888:6888/udp \
-v /share/aria2Download/config:/config \
-v /share/aria2Download/aria2Download:/downloads \
-v /share/aria2Download/log:/log \
p3terx/aria2-pro

其中RPC_SECRET-v配置项按个人需求进行变更

安装aria2Ng

docker run -d \
--name ariang \
--log-opt max-size=1m \
--restart unless-stopped \
-p 16880:6880 \
p3terx/ariang

安装完毕后,访问 http://192.168.31.178:16880/#!/downloading即可打开页面

推荐配置参考:github - aria2.conf