finalnax.blogg.se

Set up user login calibre server
Set up user login calibre server




set up user login calibre server

You can uninstall Calibre by running: $ sudo calibre-uninstall 10. To stop calibre-server: $ sudo systemctl stop rvice If you have make any changes to rvice, reload: $ sudo systemctl daemon-reload Then to start at boot: $ sudo systemctl enable rvice More Then start the server with: $ sudo systemctl start rviceĬheck the status with: $ sudo systemctl status rvice userdb="/home/calibre/.config/calibre/server-users.sqlite"\ Starting Calibre server at boot $ sudo nano /etc/systemd/system/rviceĪdd the code below changing User, Group, port and the location to the calibre-library directory (in this case /home/calibre/calibre-library): Add / Manage Calibre Users $ sudo calibre-server -userdb /home/calibre/.config/calibre/server-users.sqlite -manage-users $ sudo chown -R calibre:calibre ~/calibre.log 8. Add a log fileĪdd a log file and change its ownership permissions: $ sudo touch ~/calibre.log When you are satisfied everything works, go back to the command line and Ctrl+C to exit. or if using a local LAN, (replace ‘XX' with the coorect IP Address) To test the server, launch with the following command (you can substitute the port 8081 with something else): $ sudo calibre-server -port=8081 -enable-local-write ~/calibre-library Then add the e-book to the library: $ sudo xvfb-run calibredb add ~/calibre-upload/* -library-path ~/calibre-library 6.

set up user login calibre server

$ sudo chown -R calibre:calibre calibre-uploadĭownload a sample e-book to load into the upload directory: $ cd calibre-upload $ sudo mkdir calibre-libraryĬhange ownership permissions of the directories: $ sudo chown -R calibre:calibre calibre-library Then make a directory for the Calibre library and uploads. Log out and log back in with the new user you just added. Create a new Calibre userĬreate a new user for Calibre and give it superuser privileges: $ sudo adduser calibre You may notice some warnings about failed desktop integration, but these are safe to ignore, since you are installing Calibre on a remote server. Download and install Calibre-server $ sudo -v & wget -nv -O- | sudo sh /dev/stdin $ sudo apt install python python3 $ sudo apt install xvfb Install Python and dependencies $ sudo apt update Editing books is supported for EPUB and AZW3 formats. Calibre supports organizing existing e-books into virtual libraries, displaying, editing, creating and converting e-books, as well as syncing e-books with a variety of e-readers. Calibre is a free, open source and easy to use e-book manager.






Set up user login calibre server