Aria2: Difference between revisions

From James's Wiki
(Created page with "Compile, install, configure aria2 from scratch on a raspberry pi 3 (stretch) wget https://github.com/aria2/aria2/releases/download/release-1.33.1/aria2-1.33.1.tar.bz2")
 
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
Compile, install, configure aria2 from scratch on a raspberry pi 3 (stretch)
Compile, install, configure aria2 from scratch on a raspberry pi 3 (stretch)


wget https://github.com/aria2/aria2/releases/download/release-1.33.1/aria2-1.33.1.tar.bz2
you can check for the latest version here: https://aria2.github.io/
 
wget https://github.com/aria2/aria2/releases/download/release-1.33.1/aria2-1.33.1.tar.bz2
 
tar xvjf aria2-1.33.1.tar.bz2
 
cd aria2whatever
 
./configure
 
make
 
sudo make install
 
 
 
sudo adduser aria2c
 
==Create a systemd service to run in background on boot==
<code>
[Unit]
Description=Aria2 RPC Service
After=network.target
[Service]
Type=forking
User=aria2
ExecStart=/usr/local/bin/aria2c --conf-path=/home/aria2/.aria2/aria2.conf --daemon
[Install]
WantedBy=default.target
</code>
 
 
=References=
https://aria2.github.io/<br>
https://github.com/ziahamza/webui-aria2

Latest revision as of 02:29, 25 November 2017

Compile, install, configure aria2 from scratch on a raspberry pi 3 (stretch)

you can check for the latest version here: https://aria2.github.io/

wget https://github.com/aria2/aria2/releases/download/release-1.33.1/aria2-1.33.1.tar.bz2
tar xvjf aria2-1.33.1.tar.bz2
cd aria2whatever
./configure
make
sudo make install


sudo adduser aria2c

Create a systemd service to run in background on boot

[Unit]
Description=Aria2 RPC Service
After=network.target

[Service]
Type=forking
User=aria2
ExecStart=/usr/local/bin/aria2c --conf-path=/home/aria2/.aria2/aria2.conf --daemon

[Install]
WantedBy=default.target


References

https://aria2.github.io/
https://github.com/ziahamza/webui-aria2