8/6/2023 0 Comments Calibre server![]() using HTTP and no Authentication: able to read books. ![]() Removed some settings from the howto, mainly due to problems with apache reverse proxy to a subdirectory (/calibre/) after the server address: convert from/to many formats (most problematic is PDF which might be missing some library, occasionally had problems converting some big epub to other formats).books upload (testing each supported file type and small/big files).http(s) with and without authentication.Consider other e-book management options.Consider an import script or, IF it’s even possible, append some action to user create/modify events (only for local accounts provider, won’t work with remote providers). https access (current howto settings are not secure).Use a Reverse Proxy (no additional port exposed).To log out you have to either clean session and cookies or close the browser. You can browse the library, upload e-books (if user have no restrictive permissions), read/convert/download them. Prepare log files: touch /var/log/calibre-server.log /var/log/calibre-server-access.logĬhown calibre:calibre /var/log/calibre-server*.logĮnable a port for calibre-server: config set fw_calibreserver service status enabled TCPPort 8008 access greenĮnable and start calibre-server service: systemctl enable -now calibre-serverĪccess calibre server from a web browser going to or and login with any user created through calibredb command. More options for calibre-server command are described in the manual.Īs we have set the service to run as calibre user, we create that user: useradd -r -s /sbin/nologin -d /var/lib/nethserver/calibre -c "Calibre User" calibreīefore we forget, set permissions for calibre’s database, libraries and e-books: chown -R calibre:calibre /var/lib/nethserver/calibre userdb=/var/lib/nethserver/calibre/users.sqlite \ access-log=/var/log/calibre-server-access.log \ To auto-start calibre-server you can create a service unit: cat /etc/systemd/system/rvice ![]() You can add users and set permissions using: #add users and set permissions (interactive)Ĭalibre-server -userdb "/var/lib/nethserver/calibre/users.sqlite" -manage-users For simplicity here we create an empty book: calibredb add -empty "test.epub" -title "Test" -with-library "/var/lib/nethserver/calibre/library"Ĭalibre can be set to work in read-only mode and open access, or work with user credentials. Calibre identifies file types by its extension, make sure the uploaded e-books have the appropriate file extension. ![]() You can upload some e-books to your server, or download them form Project Gutenberg, for example. mkdir -p /var/lib/nethserver/calibre/libraryĪdd books to the library. For simplicity here we will use a single library. If you want to use more than one library a better naming would be /var/lib/nethserver/calibre/libraries/default and so on. To use a different location check the installation options.Ĭreate a directory to store a library. Install Calibre Server: sudo -v
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |