0619.html 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Installing Plex Media Server on Armbian</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Install Plex On Armbian,Plex Media Server,Armbian,Plex,Plex Server,Media Server,Linux,Raspberry Pi Alternative,Single Board Computer,SBC,Debian,Ubuntu,Install Guide,Self-Hosted,Home Lab,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Installing Plex Media Server on Armbian">
  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>Installing Plex Media Server on Armbian</h1>
  21. </div>
  22. <div></div>
  23. <div id="content">
  24. <h2>Install Plex Media Server</h2>
  25. <ol>
  26. <li>Log into the Armbian device</li>
  27. <li>Run the following commands in terminal
  28. <div class="codeBlock"># update software repositories<br />
  29. sudo apt update<br />
  30. # install software updates<br />
  31. sudo apt upgrade -y<br />
  32. # install some prerequisites<br />
  33. sudo apt install apt-transport-https ca-certificates<br />
  34. # get the latest .deb download URL<br />
  35. regex=&#39;&quot;build&quot;:&quot;linux-aarch64&quot;,&quot;distro&quot;:&quot;debian&quot;,&quot;url&quot;:&quot;(https:\/\/downloads\.plex\.tv\/plex-media-server-new\/[^/]*\/debian\/[^/]*_arm64\.deb)&quot;,&#39; &amp;&amp; response=$(curl -s https://plex.tv/api/downloads/5.json) &amp;&amp; [[ $response =~ $regex ]] &amp;&amp; downloadURL=&quot;${BASH_REMATCH[1]}&quot;<br />
  36. # download latest plex version<br />
  37. wget -O ./plexmediaserver.deb $downloadURL<br />
  38. # install plex media server<br />
  39. sudo dpkg -i ./plexmediaserver.deb<br />
  40. # run plexmediaserver service on system boot<br />
  41. sudo systemctl enable plexmediaserver.service</div>
  42. </li>
  43. </ol>
  44. <h2>Configuring Plex Account</h2>
  45. <ol>
  46. <li>Open a web browser and navigate to http://DNSorIP:32400/web</li>
  47. <li>Log in with one of the available options or click sign up with email</li>
  48. <li>Give the Plex server a name &gt; Click Next</li>
  49. <li>Click the Add Library button &gt; Select the media type</li>
  50. <li>Select Add folders from the left navigation &gt; Click Browse for media folder &gt; Select the folder to add to the media &gt; Click Add Library</li>
  51. <li>Click Next</li>
  52. <li>Click Done to complete the server setup</li>
  53. <li>Welcome to Plex Media Server</li>
  54. </ol>
  55. </div>
  56. </div>
  57. </body>
  58. </html>