banner
阿凯

阿凯的生活记录

日拱一卒,对生活充满热爱!

Aria2 One-Click Installation Management Script

Aria2 Installation Tutorial on CentOS 7

System Requirements
CentOS 7+ / Debian 6+ / Ubuntu 14.04 +

Recommended Debian 7 x64, the script has the lowest error rate on this system.

Installation Steps#

Execute the following code to download and run the script.
wget -N --no-check-certificate https://softs.fun/Bash/aria2.sh && chmod +x aria2.sh && bash aria2.sh

If the above script cannot be downloaded, try using the alternative download:#

wget -N --no-check-certificate https://raw.githubusercontent.com/ToyoDAdoubi/doubi/master/aria2.sh && chmod +x aria2.sh && bash aria2.sh
After running the script, a script operation menu will appear. Select and enter 1 to start the installation.

Usage Instructions#

Enter the directory where the download script is located and run the script:

./aria2.sh
Then select the option you want to execute.

Aria2 One-Click Installation Management Script [vx.x.x]
-- Toyo | doub.bid/shell-jc4 --

  1. Upgrade Script
    ————————————
  2. Install Aria2
  3. Uninstall Aria2
    ————————————
  4. Start Aria2
  5. Stop Aria2
  6. Restart Aria2
    ————————————
  7. Modify Configuration File
  8. View Log Information
    ————————————

Current Status: Installed and Started

Please enter a number [0-7]:

Other Operations#

Start: service aria2 start

Stop: service aria2 stop

Restart: service aria2 restart

View Status: service aria2 status

Configuration File: /root/.aria2/aria2.conf (The configuration file contains Chinese comments, but some systems may not support displaying Chinese)

Default Key: doub.bid

Download Directory: /usr/local/caddy/www/aria2/Download

Tips for wget: command not found error#

This is because the system is too cleanly stripped down, and wget is not installed, so you need to install wget.

CentOS System:#

yum install -y wget

Debian/Ubuntu System:#

apt-get install -y wget

Upgrade Script#

To upgrade the script, simply run the script, then select and enter 0 and press enter. It will automatically detect the latest version and download it. Of course, you can also re-download the script file, which will automatically overwrite the original file.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.