Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
home_server:home_server_setup:other_services:calibre_server [2021-06-06 Sun wk22 19:37] – [Calibre Server] baumkphome_server:home_server_setup:other_services:calibre_server [2023-04-30 Sun wk17 17:43] (current) – external edit 127.0.0.1
Line 1: Line 1:
-{{tag>Calibre server ebook}}+{{tag>linux Calibre server ebook}}
 =====Calibre Server===== =====Calibre Server=====
 [[https://calibre-ebook.com/|Calibre]] is a comprehensive book library package.   [[https://calibre-ebook.com/|Calibre]] is a comprehensive book library package.  
Line 7: Line 7:
 I recently looked at my local library again because I wanted to reread some of my favorite books. I spent some time to clean the library up, but still need to spend more time. I recently looked at my local library again because I wanted to reread some of my favorite books. I spent some time to clean the library up, but still need to spend more time.
  
-The best solution is on the Calibre website [[https://calibre-ebook.com/download_linux|Download for Linux]] +The best solution is on the Calibre website [[https://calibre-ebook.com/download_linux|Download for Linux]] \\ 
-I took the advise and loaded the recommended dependences from [[https://www.digitalocean.com/community/tutorials/how-to-create-a-calibre-ebook-server-on-ubuntu-20-04|How To Create a Calibre Ebook Server on Ubuntu 20.04]] first: ''sudo apt update && sudo apt install -y libfontconfig libgl1-mesa-glx''+I took the advise and loaded the recommended dependencies from [[https://www.digitalocean.com/community/tutorials/how-to-create-a-calibre-ebook-server-on-ubuntu-20-04|How To Create a Calibre Ebook Server on Ubuntu 20.04]] first: ''sudo apt update && sudo apt install -y libfontconfig libgl1-mesa-glx''\\ 
 +After this I ran the command as recommended by [[https://calibre-ebook.com/download_linux|Calibre Download for Linux]] : ''sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin'' As expected the installer came up with:  
 +  * *Setting up completion failed with error:   
 +  * *Setting up desktop integration failed with error: 
 +As the installation was on a server that does not have the desktop installed.\\ 
 + 
 +I tested the installation with the terminal command: ''calibre-server '/mnt/disk1/KarlData/Karl Data 2/Calibre_library''' 
 +Testing with ''http://your_server_ip:8080'' in a browser on my LAN. 
 + 
 +Next setup the systemd service as follows sudo vim ''sudo vim /etc/systemd/system/calibre-server.service''
 +<code>## startup service 
 +[Unit] 
 +Description=calibre content server 
 +After=network.target 
 + 
 +[Service] 
 +Type=simple 
 +User= user 
 +Group= group 
 +ExecStart=/opt/calibre/calibre-server '/mnt/disk1/KarlData/Karl Data 2/Calibre_library' --enable-local-write 
 + 
 +[Install] 
 +WantedBy=multi-user.target 
 +</code> 
 +Where for user and group I just used my normal user and group values.\\ 
 +Run ''sudo systemctl daemon-reload'' to configure the new systemd service.  After this the usual systemctl commands on the new service can be used, e.g.: 
 +   * ''sudo systemctl enable calibre-server'' 
 +   * ''sudo systemctl start calibre-server'' 
 + 
 +Since I got Wireguard running to allow secure remote access to my LAN I can not be bothered trying to put my Calibre library on my public access web.  This is just for my personal use.  I access it using the command noted earlier: ''http://your_server_ip:8080'' This also means that I do not need to bother with password protecting access to the Calibre on-line server, as it is only accessible on my LAN. If some one gains unauthorised access to my LAN, their access to my Calibre Library is the least of my problems! \\
  
 In any case some links to setup as a Linux server are as follows:  In any case some links to setup as a Linux server are as follows: 
-  *From Calibre: [[https://manual.calibre-ebook.com/server.html#id2|The calibre Content server]]+  *From Calibre: 
 +    * [[https://manual.calibre-ebook.com/server.html#id2|The calibre Content server]] 
 +    * [[https://calibre-ebook.com/download_linux|Calibre Download for Linux]]
   *A bit dated from DigitalOcean: [[https://www.digitalocean.com/community/tutorials/how-to-create-a-calibre-ebook-server-on-ubuntu-20-04|How To Create a Calibre Ebook Server on Ubuntu 20.04]]   *A bit dated from DigitalOcean: [[https://www.digitalocean.com/community/tutorials/how-to-create-a-calibre-ebook-server-on-ubuntu-20-04|How To Create a Calibre Ebook Server on Ubuntu 20.04]]
   *A personal source on Github: [[https://gist.github.com/plembo/337f323e53486cbdb03100692ae8c892|Calibre Server on Linux]], based upon Nginx, but still OK.   *A personal source on Github: [[https://gist.github.com/plembo/337f323e53486cbdb03100692ae8c892|Calibre Server on Linux]], based upon Nginx, but still OK.
  
-When installing a Calbre server a key point seems to be that you install the full software package and ignore the warning / errors related to the client interface aspects of the install. 
  
 ---- ----
  
 <- home_server:home_server_setup:other_services:tripwire|Prev ^ home_server:home_server_setup:other_services:index|Start page ^ home_server:home_server_setup:other_services:ipmi|Next -> <- home_server:home_server_setup:other_services:tripwire|Prev ^ home_server:home_server_setup:other_services:index|Start page ^ home_server:home_server_setup:other_services:ipmi|Next ->