Docker installs Aria2 and AriaNg for offline download

Aria2 Yes linux The more common multi protocol open source download engine on the AriaNg Is commonly used Aria2 Web administration panel. By combining Aria2 with AriaNg, you have an offline download program that can be accessed through the web.

Preview

 Preview of Aria2

install

This article uses colinwjd The integrated Aria2+AriaNg Dockerfile.

Github address of project author is https://github.com/colinwjd

  1. Pull Warehouse
     git clone  https://github.com/colinwjd/aria2-ariang.git
  2. Build Docker Image
     cd aria2-ariang docker build -t colinwjd/aria2-ariang .
  3. Create download directory and configuration file directory
     #Create on demand mkdir ~/downloads ~/config
  4. Start Container
     docker run --name aria2-ariang \ -p 6800:6800 -p 6880:80 -p 6888:8080 \ -v /DOWNLOAD_DIR:/aria2/downloads \ -v /CONFIG_DIR:/aria2/conf \ -e SECRET=YOUR_SECRET_CODE colinwjd/aria2-ariang

    Description of several ports and fields( -PHost port: internal port ):

    • 6800:6800 : aria2 RPC port
    • 6880:80 : ariaNg access port
    • 6888:8080 : Web download file directory access port
    • /DOWNLOAD_DIR : Host download directory (~/absolute address of downloads)
    • /CONFIG_DIR : Host configuration file directory (~/config)
    • YOUR_SECRET_CODE : Aria2 access password. Use this password to connect to Aria2 in the future
  5. visit ariaNg Panel and configuration aria2 connect

    Browser Open http://ip:6880 , if you can, you will enter ariaNg Web administration panel.

    stay Setting -> AriaNgSetting -> Global The panel language can be set to Chinese in.

    stay Setting -> AriaNgSetting -> RPC Set the aria2 connection parameters as required at.

  6. be accomplished
    Visit the WEB management page and try to add a download task.

References

  1. [Github] colinwjd aria2-ariang
Zimiao haunting blog (azimiao. com) All rights reserved. Please note the link when reprinting: https://www.azimiao.com/5830.html
Welcome to the Zimiao haunting blog exchange group: three hundred and thirteen million seven hundred and thirty-two thousand

Comment

*

*