Aria2
Aria2支持***多种下载方式,相比transmission只支持种子,显得更为实用。
sudo apt-get install -y aria2#安装失败,可按照提示,修复源:sudo apt-get update --fix-missing#配置文件,***/acgotaku/BaiduExporter/master/aria2c/aria2.confsudo mkdir /etc/aria2sudo touch /etc/aria2/aria2.sessionsudo sh -c 'echo "daemon=true#rpc-user=user#rpc-passwd=passwd#设置加密的密钥rpc-secret=your_secretenable-rpc=truerpc-allow-origin-all=true#rpc-secure=true#rpc-certificate=/home/pi/aria2.crt#rpc-private-key=/home/pi/aria2.keyrpc-listen-all=true#rpc-listen-port=6800max-concurrent-downloads=5cOntinue=truemax-connection-per-server=5min-split-size=10Msplit=3max-overall-download-limit=0max-download-limit=1Mmax-overall-upload-limit=1Mmax-upload-limit=0#lowest-speed-limit=0#referer=*dir=/home/pi/Downloads#disk-cache=0#enable-mmap=truefile-allocation=noneinput-file=/etc/aria2/aria2.sessionsave-session=/etc/aria2/aria2.sessioncheck-certificate=false#bt加速用种子服务器,***/ngosang/trackerslist#bt-tracker=">/etc/aria2/aria2.conf'
#设置开机启动sudo sh -c 'echo "[Unit]Description=Aria2 ServiceAfter=network.target[Service]User=piType=forkingExecStart=/usr/bin/aria2c --conf-path=/etc/aria2/aria2.conf[Install]WantedBy=multi-user.target">/lib/systemd/system/aria2.service'
#重新载入并启动sudo systemctl daemon-reloadsudo systemctl enable aria2sudo systemctl status aria2sudo systemctl restart aria2
Aria-NG
#下载Aria-NGaria2c ***/mayswind/AriaNg/releases/download/1.0.0/AriaNg-1.0.0.zip -d /home/pi#解压cd /home/piunzip AriaNg-1.0.0.zip -d /var/www/html/aria#需事先安装好web服务器,比如nginx#sudo systemctl enable nginx
浏览器中输入地址及路径,出现界面,如图:
此时,设置在“Aria2 RPC密钥”一栏出填入配置在/etc/aria2/aria2.conf的配置项rpc-secret的值即可正确连接。
PT
sudo sh -c 'echo "# PT一般对分享率有要求,不限制分享时间和分享率。避免达到其中一条,停止做种seed-ratio=0# 模拟utorrentpeer-id-prefix=UT341-user-agent=uTorrent/341(109279400)(30888)# 避免tracker怀疑节点作弊,禁用本地发现enable-dht=falseenable-dht6=false# 载入种子让下载完成的任务继续做种force-save=true">>/etc/aria2/aria2.conf'
本网页内容旨在传播知识,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。E-MAIL:dandanxi6@qq.com