0370.html 3.0 KB

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