Browse Source

0751: Running Ubooquity eBook Manager and Reader Using Docker

i12bretro 2 years ago
parent
commit
33a8bdcfed
1 changed files with 73 additions and 0 deletions
  1. 73 0
      0751.html

+ 73 - 0
0751.html

@@ -0,0 +1,73 @@
+    <!DOCTYPE html>
+    <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
+      <head>
+        <title>Running Ubooquity eBook Manager and Reader Using Docker</title>
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+        <meta charset="UTF-8">
+        <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">
+        <meta name="author" content="i12bretro">
+        <meta name="description" content="Running Ubooquity eBook Manager and Reader Using Docker">
+        <meta name="viewport" content="width=device-width, initial-scale=1.0">
+        <meta name="revised" content="12/11/2022 10:17:07 AM" />
+				          <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
+				  <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
+				        <script type="text/javascript" src="includes/js/steps.js"></script>
+        <link href="css/steps.css" rel="stylesheet" type="text/css" />
+      </head>
+      <body>
+        <div id="gridContainer">
+          <div class="topMargin"></div>
+          <div id="listName" class="topMargin">
+            <h1>Running Ubooquity eBook Manager and Reader Using Docker</h1>
+          </div>
+          <div></div>
+          <div id="content">
+          <h2>What is Ubooquity?</h2>
+
+<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>
+
+<h2>Installing Docker</h2>
+
+<ol>
+	<li>Log into the Linux based device</li>
+	<li>Run the following commands in the terminal
+	<div class="codeBlock"># install prerequisites<br />
+	sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y<br />
+	# add docker gpg key<br />
+	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 />
+	# add docker software repository<br />
+	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 />
+	# install docker<br />
+	sudo apt install docker-ce docker-compose containerd.io -y<br />
+	# enable and start docker service<br />
+	sudo systemctl enable docker &amp;&amp; sudo systemctl start docker<br />
+	# add the current user to the docker group<br />
+	sudo usermod -aG docker $USER<br />
+	# reauthenticate for the new group membership to take effect<br />
+	su - $USER</div>
+	</li>
+</ol>
+
+<h2>Running Ubooquity</h2>
+
+<ol>
+	<li>Continue with the following commands in a terminal window
+	<div class="codeBlock"># list current uid and gid, note these for later<br />
+	id $user<br />
+	# create a working directory<br />
+	mkdir ~/docker/ubooquity/{config,books,comics,files} -p<br />
+	# run the ubooquity docker image<br />
+	# replace PUID, GUID with the output of the id $user command above<br />
+	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>
+	</li>
+	<li>Open a web browser and navigate to http://DNSorIP:2203/ubooquity/admin</li>
+	<li>Enter and confirm an administrative password</li>
+	<li>Navigate to http://DNSorIP:2202/ubooquity</li>
+	<li>Welcome to Ubooquity</li>
+</ol>
+
+<p>Documentation: <a href="https://hub.docker.com/r/linuxserver/ubooquity" target="_blank">https://hub.docker.com/r/linuxserver/ubooquity</a></p>          </div>
+        </div>
+      </body>
+    </html>
+