0424.html 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Install Web Based Download Utility with AriaNg 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="How To,Tutorial,i12bretro,Aria2,Web UI,Web Downloader,Web Based Utilities,AriaNg,FOSS">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Install Web Based Download Utility with AriaNg on Windows">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  12. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  13. <script type="text/javascript" src="includes/js/steps.js"></script>
  14. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  15. </head>
  16. <body>
  17. <div id="gridContainer">
  18. <div class="topMargin"></div>
  19. <div id="listName" class="topMargin">
  20. <h1>Install Web Based Download Utility with AriaNg on Windows</h1>
  21. </div>
  22. <div></div>
  23. <div id="content">
  24. <h2>Quick Setup</h2>
  25. <ol>
  26. <li>Download aria2 <a href="https://github.com/aria2/aria2/releases" target="_blank">Download</a></li>
  27. <li>Download the AriaNg AllInOne&nbsp;<a href="https://github.com/mayswind/AriaNg/releases/" target="_blank">Download</a></li>
  28. <li>Extract the downloaded AriaNg&nbsp;.zip file</li>
  29. <li>Extract the downloaded aria2 .zip file</li>
  30. <li>Rename the extracted folder aria2</li>
  31. <li>Copy the aria2 folder to a permanant location such as C:\Program Files</li>
  32. <li>Hold the SHIFT key and right click in the white space &gt; Open PowerShell windows here...</li>
  33. <li>Run the following command to start aria2 with the RPC server enabled
  34. <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>
  35. </li>
  36. <li>Navigate back to the extracted AriaNg folder</li>
  37. <li>Double click index.html to open it in the default web browser</li>
  38. <li>Select AriaNg Settings&nbsp;from the left navigation menu</li>
  39. <li>Select the automatically generated RPC connection in the top sub-navigation menu</li>
  40. <li>Scroll down to the&nbsp;Aria2 RPC Secret Token field and paste the rpc-secret string, SomethingSecure in this example</li>
  41. <li>Click the Reload AriaNg button on the notification popup</li>
  42. <li>The AriaNg 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 AriaNg 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>
  82. </div>
  83. </div>
  84. </body>
  85. </html>