![]() 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 |