0253.html 5.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install Web Based Download Utility with Aria2 WebUI on Windows</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Browser Based,Home Lab,Home Lab Ideas,Install Guide,Self-Hosted,Web Based,Web Based Tools,Aria2,FOSS,Web Based Utilities,Web Downloader,Web UI,Aria2 Web UI,RPC,Browser Based Download Manager,Download Manager,Windows,Microsoft Windows,Centralized Download Server,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install Web Based Download Utility with Aria2 WebUI on Windows">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="02/03/2024 01:38:30 PM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Install Web Based Download Utility with Aria2 WebUI on Windows</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>Quick Setup</h2>
  26. <ol>
  27. <li>Download aria2 <a href="https://github.com/aria2/aria2/releases" target="_blank">Download</a></li>
  28. <li>Download webui-aria2 <a href="https://github.com/ziahamza/webui-aria2" target="_blank">Download</a></li>
  29. <li>Extract the downloaded webui .zip file</li>
  30. <li>Extract the downloaded aria2 .zip file</li>
  31. <li>Rename the extracted folder aria2</li>
  32. <li>Copy the aria2 folder to a permanant location such as C:\Program Files</li>
  33. <li>Hold the SHIFT key and right click in the white space &gt; Open PowerShell windows here...</li>
  34. <li>Run the following command to start aria2 with the RPC server enabled
  35. <div class="codeBlock">.\aria2c.exe --dir=C:\Downloads --enable-rpc=true --rpc-allow-origin-all=true --rpc-listen-all=true --rpc-listen-port=6800 --rpc-secret=SomethingSecure -D</div>
  36. </li>
  37. <li>Navigate back to the extracted webui-aria2 folder and into the docs directory</li>
  38. <li>Double click index.html to open it in the default web browser</li>
  39. <li>Select Settings &gt; Connection Settings from the top navigation menu</li>
  40. <li>Scroll down to the&nbsp;Enter the secret token field and paste the rpc-secret string, SomethingSecure in this example</li>
  41. <li>Scroll down and click the Save Connection configuration button</li>
  42. <li>The webui will now be able to communicate with aria2 over RPC</li>
  43. </ol>
  44. <h2>Starting Aria2 on System Boot</h2>
  45. <ol>
  46. <li>Open File Explorer and navigate to C:\Program Files\Aria2 (or wherever Aria2 is installed)</li>
  47. <li>Right click in the white space &gt; New &gt; Text Document</li>
  48. <li>Name the new doucment aria2.conf</li>
  49. <li>Edit the new aria2.conf file in a text editor</li>
  50. <li>Paste the following basic configuration into the file
  51. <p>dir=C:\Downloads<br />
  52. enable-rpc=true<br />
  53. rpc-allow-origin-all=true<br />
  54. rpc-listen-all=true<br />
  55. rpc-listen-port=6800<br />
  56. rpc-secret=SomethingSecure</p>
  57. </li>
  58. <li>Save the aria2.conf file</li>
  59. <li>Click on the Start Button &gt; Type task &gt; Launch Task Scheduler</li>
  60. <li>Right click the Task Scheduler Library folder in the left pane &gt; Create Basic&nbsp;Task...</li>
  61. <li>Set the name to Aria2 and optionally set a Description &gt; Click Next</li>
  62. <li>For the Trigger, select When the computer starts &gt; Click Next</li>
  63. <li>For the Action, select Start a program&nbsp;&gt; Click Next</li>
  64. <li>In the Program/script field, paste the following, editing the path if Aria2&nbsp;is installed somewhere else
  65. <p>&quot;%ProgramFiles%\aria2\aria2c.exe&quot;</p>
  66. </li>
  67. <li>In the Add Arguments field, paste the following, again editing the path if necessary
  68. <p>--conf-path=&quot;%ProgramFiles%\aria2\aria2.conf&quot; -D</p>
  69. </li>
  70. <li>Click Next</li>
  71. <li>Click Finish</li>
  72. <li>In the Properties dialog, click the Change User or Group... button</li>
  73. <li>Type System in the Object name field &gt; Click OK</li>
  74. <li>Check the Run with highest privileges box</li>
  75. <li>Click OK to create the scheduled task</li>
  76. <li>Right click the Aria2 scheduled task &gt; Run</li>
  77. <li>Right click the task bar &gt; Task Manager</li>
  78. <li>Select the Details tab and aria2c.exe should be running</li>
  79. <li>Open the aria2-webui page to very it has connected</li>
  80. </ol>
  81. <p>Additional Aria2 documentation, including how to setup SSL,&nbsp;can be found at&nbsp;<a href="https://aria2.github.io/manual/en/html/aria2c.html#options" target="_blank">https://aria2.github.io/manual/en/html/aria2c.html#options</a></p> </div>
  82. </div>
  83. </body>
  84. </html>