Publish: 2017-12-08 | Modify: 2018-04-03
aria2 is a lightweight command-line download tool that supports multiple protocols and sources. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent, and Metalink. aria2 can be operated through its built-in JSON-RPC and XML-RPC interfaces.
YAAW is a web interface for managing aria2. By combining the two, offline downloading can be easily achieved. In the article "CentOS Installation of aria2 + yaaw for Offline Downloading", a manual configuration method was shared, and a one-click script was provided to simplify the process.
Features and Highlights:
Installation: Copy and execute the following commands, one line at a time, and follow the prompts.
yum -y install wget unzip
apt-get install -y wget unzip
wget https://github.com/helloxz/aria2/archive/master.zip unzip master.zip && cd aria2-master && chmod u+x *.sh && ./install_aria2.sh
Please select the appropriate options based on your system. Make sure not to select the wrong system, otherwise it may not work properly. For example, if my system is CentOS 7, I would choose option 1.
Follow the prompts to enter the required information. Note: It is recommended to use a combination of letters and numbers for the Aria2 authorization token, and avoid special characters, especially symbols like @, to avoid unnecessary issues.
After the installation is completed, you will see the following information. It is recommended to save this information in a secure location, as you will need it later.
Getting Started: After the installation is complete, enter http://IP:6080 to access YAAW. Enter the username and password you just set, and you will be able to see YAAW.
Click on the "Setting" button in the upper right corner, enter the RPC address displayed after the installation in the JSON-RPC Path field: http://token:abc123@IP:6800/jsonrpc, and then save.
Adding Download Tasks: If the configuration is correct, click the "Add" button to add a download task and enjoy the convenience.
Managing Files: Enter http://IP:6080/admin to access FileManager and view all files. Downloaded files are saved in the "download" directory. Please do not modify other files to avoid any issues.
Retrieving Locally: It is recommended to use IDM or EagleGet as multi-threaded download tools. After copying the download address, make sure to fill in the username and password, otherwise the download will not be possible.
Related Commands: Start: /data/aria2/aria2.sh start Stop: /data/aria2/aria2.sh stop Restart: /data/aria2/aria2.sh restart Uninstall: cd aria2-master && ./uninstall.sh Caddy server configuration file: /data/aria2/caddy.conf Aria2 configuration file: /data/aria2/aria2.conf Offline download directory: /data/aria2/download
Common Questions:
Please refer to the original article for more details and troubleshooting tips.
I come from China and I am a freelancer. I specialize in Linux operations, PHP, Golang, and front-end development. I have developed open-source projects such as Zdir, ImgURL, CCAA, and OneNav.