Aria2 Download Manager through Debian

Aria2 is a file sharing program.

When you run a torrent, its data will be made available to others by means of upload.

Any content you share is your sole responsibility.

1a - For Mipsel devices install Debian from here

1b - For Arm devices install Debian from here

2 - Setup Lighttpd Web Server from here

3 - Enter Debian

debian enter

4 - Install Aria2

apt-get install aria2 procps wget zip

5 - Download startup script

wget -c -O /etc/init.d/S81aria2-debian http://goo.gl/BAAWpo
chmod 755 /etc/init.d/S81aria2-debian

6 - Download configuration file

mkdir -p /etc/aria2
wget -c -O /etc/aria2/aria2.conf http://goo.gl/vmjTVI
chmod 755 /etc/aria2/aria2.conf

7 - Download WebUi for Aria2

wget -c -O /var/tmp/webui-aria2.zip https://github.com/ziahamza/webui-aria2/archive/master.zip
unzip /var/tmp/webui-aria2.zip -d /var/tmp/ && rm /var/tmp/webui-aria2.zip
mv /var/tmp/webui-aria2-master /var/www/aria2

8 - To enable startup script we need to exit debian

exit

- Add Aria2 to chrooted services list

echo "" >>/opt/etc/chroot-services.list
echo "S81aria2-debian" >>/opt/etc/chroot-services.list
chmod 755 /opt/etc/chroot-services.list

10 - Start Aria2

debian restart

11 - Open in web browser 192.168.1.1:81/aria2 and modify Settings as you wish (settings like authentification and password can be added/changed by editing /opt/etc/aria2/aria2.conf file)

aria2-dp

 

Downloads are stored in aria2 folder under EXT_DIR mounted in S99debian script file edited when installed Debian, ex. /mnt/sda1/Media/aria2

12 - Happy downloading...

  • Matt S

    The WebUI keeps spamming me this message:

    "Oh Snap! Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings"

    EDIT: Fixed

    • TeHashX

      How did you fix this error?

      • Matt S

        Not entirely sure. I just fooled around with some settings until it worked- I think the settings relating to the host, an port of the RPC server are the relevant settings that I changed.

        WebUI Connection settings:

        Host: Always defaults to the address I accessed the WebUI from (Router's local IP, WAN IP) - Not sure how that works

        Port: 6800

        And here's my aria2.conf : http://pastebin.com/hWPgm80i Also I'm missing icons on the website.

        • Matt S

          Fixed the missing icons. Just needed a "debian restart"

  • prinny

    weird: downloads are not saving to resume it later on.

    and then I google for solutions and none were found, and then in aria2 sourceforge site, it says that it's a download utility, not a download manager. So it functions like a wget but with more features. Even with save session enabled, it doesnt work that great, it only save my download session if your gracefully exit aria2 which is bad if you were downloading over bt and power interruption is occured, transmission and rtorrent doesnt have this issue. Much worst with direct downloads.

  • Fixed aria2.conf

Get Email Notification When a Server or Port is Unreachable
SoftEther VPN Running on AsusWRT Routers
Minidlna UPnP Media Server through Debian Jessie Arm
How to Mount Samba Shares inside Chrooted Debian
Minidlna UPnP Media Server through Debian Jessie Arm
How to Mount Samba Shares inside Chrooted Debian
Spreed WebRTC server and web client
Asterisk VoIP Server running on AsusWRT Routers
Get Email Notification When a Server or Port is Unreachable
SoftEther VPN Running on AsusWRT Routers
NZBGet through Entware
Minidlna UPnP Media Server through Debian Jessie Arm

SUBSCRIBE

To be notified by email when a new tutorial is posted :)

Thanks for Subscribing! I'll keeping you up-to-date with latest tutorials!

Something went wrong, try again...