0751.html 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Running Ubooquity eBook Manager and Reader Using Docker</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,Docker Made Easy,Home Lab,Home Lab Ideas,Install Guide,Web Based Tools,Web Based,Self-Hosted,Containerize,Containers,Docker,Docker Container,Docker Host,Docker How To,Docker Made Simple,Docker Setup Tutorial,Docker Simplified,Linux,Ubuntu,UBooquity,Self-Hosted EBook Manager,EBook Manager,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Running Ubooquity eBook Manager and Reader Using Docker">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="12/11/2022 10:17:07 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>Running Ubooquity eBook Manager and Reader Using Docker</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>What is Ubooquity?</h2>
  26. <blockquote><em>Ubooquity is a free, lightweight and easy-to-use home server for your comics and ebooks. Use it to access your files from anywhere, with a tablet, an e-reader, a phone or a computer. -<a href="https://github.com/linuxserver/docker-ubooquity" target="_blank">https://github.com/linuxserver/docker-ubooquity</a></em></blockquote>
  27. <h2>Installing Docker</h2>
  28. <ol>
  29. <li>Log into the Linux based device</li>
  30. <li>Run the following commands in the terminal
  31. <div class="codeBlock"># install prerequisites<br />
  32. sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y<br />
  33. # add docker gpg key<br />
  34. curl -fsSL https://download.docker.com/linux/$(awk -F&#39;=&#39; &#39;/^ID=/{ print $NF }&#39; /etc/os-release)/gpg | sudo apt-key add -<br />
  35. # add docker software repository<br />
  36. sudo add-apt-repository &quot;deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(awk -F&#39;=&#39; &#39;/^ID=/{ print $NF }&#39; /etc/os-release) $(lsb_release -cs) stable&quot;<br />
  37. # install docker<br />
  38. sudo apt install docker-ce docker-compose containerd.io -y<br />
  39. # enable and start docker service<br />
  40. sudo systemctl enable docker &amp;&amp; sudo systemctl start docker<br />
  41. # add the current user to the docker group<br />
  42. sudo usermod -aG docker $USER<br />
  43. # reauthenticate for the new group membership to take effect<br />
  44. su - $USER</div>
  45. </li>
  46. </ol>
  47. <h2>Running Ubooquity</h2>
  48. <ol>
  49. <li>Continue with the following commands in a terminal window
  50. <div class="codeBlock"># list current uid and gid, note these for later<br />
  51. id $user<br />
  52. # create a working directory<br />
  53. mkdir ~/docker/ubooquity/{config,books,comics,files} -p<br />
  54. # run the ubooquity docker image<br />
  55. # replace PUID, GUID with the output of the id $user command above<br />
  56. docker run -d --name=ubooquity -e PUID=1000 -e PGID=1000 -e TZ=America/New_York -p 2202:2202 -p 2203:2203 -v ~/docker/ubooquity/config:/config -v ~/docker/ubooquity/books:/books -v ~/docker/ubooquity/comics:/comics -v ~/docker/ubooquity/files:/files --restart unless-stopped lscr.io/linuxserver/ubooquity:latest</div>
  57. </li>
  58. <li>Open a web browser and navigate to http://DNSorIP:2203/ubooquity/admin</li>
  59. <li>Enter and confirm an administrative password</li>
  60. <li>Navigate to http://DNSorIP:2202/ubooquity</li>
  61. <li>Welcome to Ubooquity</li>
  62. </ol>
  63. <p>Documentation: <a href="https://hub.docker.com/r/linuxserver/ubooquity" target="_blank">https://hub.docker.com/r/linuxserver/ubooquity</a></p> </div>
  64. </div>
  65. </body>
  66. </html>