0164.html 4.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Installing Airsonic on Windows, Free Self-Hosted Music Streamer</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Airsonic,Subsonic,Music,Streaming,Self-Hosted,Apache Tomcat,Microsoft,Windows,Web Based,Browser Based,Home Lab,Home Lab Ideas,Install Guide,Web Based Tools,Apache,Tomcat,Airsonic Music Streaming Server,Open Source Software,Free Software,Freeware,Media Server,Media Streamer,Music Streamer,Music Streaming,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Installing Airsonic on Windows, Free Self-Hosted Music Streamer">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="04/09/2022 10:02:42 AM" />
  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>Installing Airsonic on Windows, Free Self-Hosted Music Streamer</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>Downloads and Pre-requisites</h2>
  26. <ol>
  27. <li>Download OpenJDK <a href="https://jdk.java.net/" target="_blank">Download</a></li>
  28. <li>Download Apache Tomcat <a href="https://tomcat.apache.org/download-90.cgi" target="_blank">Download</a></li>
  29. <li>Download Airsonic.war <a href="https://github.com/airsonic/airsonic/releases" target="_blank">Download</a></li>
  30. <li>Extract the OpenJDK archive to C:\program files\OpenJDK</li>
  31. <li>Click the Start button and search Control Panel</li>
  32. <li>Navigate to System &gt; Advanced System Settings</li>
  33. <li>Click the Environment Variables button</li>
  34. <li>Under System Variables, click New</li>
  35. <li>In the Variable Name field enter JAVA_HOME</li>
  36. <li>In the Variable Value field enter the full path to C:\program files\OpenJDK</li>
  37. <li>Click OK to close all the open dialog windows</li>
  38. </ol>
  39. <h2>Installing Tomcat</h2>
  40. <ol>
  41. <li>Double click the Apache Tomcat installer executable</li>
  42. <li>Click Next and then I Agree</li>
  43. <li>On the Choose Components screen, uncheck everything except Core, Service Startup and Native &gt; Click Next</li>
  44. <li>Set the port to 8000 and Service Name &gt; Click Next</li>
  45. <li>At the Java Virtual Machine screen, input C:\program files\OpenJDK &gt; Click Next</li>
  46. <li>Verify the install location &gt; Click Install</li>
  47. <li>After the installation completes, open a web browser and navigate to http://DNSorIP:8000</li>
  48. <li>An Apache Tomcat splash screen should display with the version of Tomcat that is currently running</li>
  49. </ol>
  50. <h2>Installing Airsonic</h2>
  51. <ol>
  52. <li>Copy the airsonic.war file downloaded earlier to the Apache Tomcat/webapps directory</li>
  53. <li>Within a few moments Apache Tomcat should see the .war file and extract it to a /airsonic sub-directory
  54. <ol start="1" style="list-style-type: lower-alpha;">
  55. <li>If this doesn&#39;t occur automatically, try right clicking the Start button &gt; Run &gt; services.msc and restarting the Apache Tomcat service</li>
  56. </ol>
  57. </li>
  58. <li>Once the .war file has extracted itself to a directory, open a web browser and navigate to http://DNSorIP:8000/airsonic</li>
  59. <li>Login with username: admin, password: admin</li>
  60. <li>Click the Change administrator password link</li>
  61. <li>Check the Change password box</li>
  62. <li>Input the new password twice and click the Save button</li>
  63. <li>Select Media folders from the top navigation</li>
  64. <li>Add one or more media folders and click the Save button</li>
  65. <li>Click the Scan media folders now link for Airsonic to begin importing your music library</li>
  66. <li>Click the Home button in the top navigation</li>
  67. <li>Scanning files should show in the top right of the screen to indicate the import progress</li>
  68. <li>Click the Refresh link on the left navigation to watch as artists are scanned and added</li>
  69. </ol>
  70. <h2>Optional Steps</h2>
  71. <ol>
  72. <li>To remove the need to navigate to /airsonic, navigate to the Apache Tomcat/webapps directory in Explorer</li>
  73. <li>Delete the ROOT directory if it exists</li>
  74. <li>Rename the airsonic directory ROOT</li>
  75. <li>Open a web browser and navigate to http://DNS-or-IP:8000/ to reach the Airsonic</li>
  76. </ol>
  77. </div>
  78. </div>
  79. </body>
  80. </html>