Install Calibre-Web: $ sudo pip3 install -target vendor -r requirements.txt Download the lastest Calibre-Web:ĭownload, unzip and rename the calibre-web directory: $ cd ~ To verify the change: $ python -version 11. Then, back at your command line type: $ source ~/.bashrc Type alias python=python3 on to a new line at the top of the file then save the file with ctrl+o and close the file with ctrl+x. Update pip if necessary like this: $ sudo -H pip install -upgrade pip If it outputs Python 2.7.x.x then we need to change the default to python3. Check your python version: $ python -version Make sure that we have a python version greather than python2.7 installed. Make sure you are logged in as the user calibre. Install Calibre-Web (Optional but recommended)Ĭalibre-Web is a web app providing a clean interface for browsing, reading and downloading eBooks using an existing Calibre database. 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. $ 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. A newer version of this tutorial for Ubuntu 22.04 is available here: How To Install Calibre Server & Calibre Web On Ubuntu 22.04Ĭalibre is a free, open source and easy to use e-book manager.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |