Git Product home page Git Product logo

aria2's Introduction

Linux上搭建Aria2

Ubuntu/Debian系统

sudo apt-get install aria2

Centos

sudo yum install aria2

下载配置文件

git clone https://github.com/AienH/aria2.git

修改aria2.conf内的:

  • dir:通过Aria2下载的文件,存放地址(绝对路径)
  • on-download-stop:指向配置文件内deleteAria2.sh
  • on-download-complete:同样指向配置文件内deleteAria2.sh
  • dht-file-path:指向配置文件内dht.dat
  • dht-file-path6:同样指向配置文件内dht.dat
  • rpc-secret:设置Aria2验证远程码

启动aria2

sudo sh aria2.sh

如果不喜欢命令交互(问你是否要进入aria2后台窗口,把启动脚本的整段命令行交互注释掉)

关闭aria2

sudo sh shutdown_aria2.sh

一键脚本安装可参考这个:

aria2's People

Contributors

aienh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.