Marlon's Wiki

it's better when it's simpler

User Tools

Site Tools


start:software:calibre

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
start:software:calibre [2024/09/21 14:05] – [Installation] marlonivostart:software:calibre [2024/12/14 16:33] (current) – [Creating the Server with Nginx] marlonivo
Line 17: Line 17:
 </code> </code>
  
-Upload your local library (using rsync) to /opt/calibre/ and save the command somewhere.+Upload your local library (using rsync) to ''%%/opt/calibre/%%'' and save the command somewhere. 
  
 <code> <code>
-rsync -avuP --delete-after ~/Library root@example.org:/opt/calibre/+rsync -avuP --delete-after ~/local_library/ root@example.org:/opt/calibre/server_library/
 </code> </code>
  
Line 31: Line 31:
 ==== Creating a service ===== ==== Creating a service =====
  
-Create a new file /etc/systemd/system/calibre-server.service and add the following:+Create a new file ''%%/etc/systemd/system/calibre-server.service%%'' and add the following:
  
 <code> <code>
Line 42: Line 42:
 User=root User=root
 Group=root Group=root
-ExecStart=/usr/bin/calibre-server --enable-auth --enable-local-write /opt/calibre/Library --listen-on 127.0.0.1+ExecStart=/usr/bin/calibre-server --enable-auth --enable-local-write /opt/calibre/library --listen-on 127.0.0.1
  
 [Install] [Install]
Line 75: Line 75:
 </code> </code>
  
-Then symclinc it to sites-enabled:+Then symlink to sites-enabled:
 <code> <code>
-ln -s /etc/nginx/sites-available/mywebsite /etc/nginx/sites-enabled+ln -s /etc/nginx/sites-available/library /etc/nginx/sites-enabled
 </code> </code>
  
Line 93: Line 93:
 ------ ------
  
-Now just go to library.example.org, the server will request the username and password you've set above, then you are FINISHED!+Now just go to library.example.org, the server will request the username and password you've set above.  
 + 
 +ENJOY! 
 + 
 +==== You might wanna See ==== 
 + 
 +[[start:software:calibre:revert|Reverting]] Calibre Installation
  
  
start/software/calibre.1726927515.txt.gz · Last modified: 2024/09/21 14:05 by marlonivo

Donate Marlon Ivo's Webpage