One-click Installation of Caddy + Aria2 + AriaNg on Linux for Offline Download

Publish: 2018-10-01 | Modify: 2020-03-09

This script has been updated to version 2.0. Please go to "CCAA Update to 2.0, Linux One-click Installation of Aria2 + AriaNg + Filebrowser for Offline Download and Online Playback".

xiaoz has rewritten and written a one-click installation script for Aria2 based on "Linux One-click Installation of Aria2 + YAAW for Offline Download". It supports CentOS/Ubuntu/Debian systems and mainly solves the previous problem of unable to download BT/magnet links. At the same time, it replaces YAAW with AriaNg for easier management, referred to as CCAA below.

Main Features

  • Supports offline downloading of HTTP/HTTPS/FTP/BT/magnet links, resumable downloads, etc.
  • File management and online video playback.

Environment Requirements

  • CentOS 6+/Debian 8+/Ubuntu 14+
  • 64-bit operating system required

Install CCAA

Copy the following commands, one per line:

# Common command
bash <(curl -Lsk https://raw.githubusercontent.com/helloxz/ccaa/master/ccaa.sh)

Enter 1 to install CCAA

Follow the prompts to set the download path, RPC key, username, and password, which will be needed later.

After the installation is complete, you will see the following prompt. Please remember the RPC key, username, password, and other information.

Follow the prompts to enter http://IP:6080/ to open the AriaNg interface, and enter the Caddy username and password set in the previous step.

Open AriaNg Settings - RPC, fill in the Aria2 RPC key, then refresh the page. At this point, it is already complete and you can start downloading movies.

File Management

Click the file management button in the upper right corner to jump to Caddy file manager for file management, or manually enter the address http://IP:6080/admin to enter Caddy file manager.

Common Commands

# Check CCAA status
ccaa status
# Start CCAA
ccaa start
# Stop CCAA
ccaa stop
# Restart CCAA
ccaa restart

Notes

  • If the server has security groups enabled, please make sure to open the following ports: 6080/6800/6998/51413
  • Most service providers prohibit downloading BT. I do not assume any responsibility for any server being blocked due to violation of regulations.

Other Notes


Comments