Notes and Documentation
Setting up a Calibre server
Documenting the steps I took to get a Calibre server up and running on a Raspberry Pi.
Requirements
A Raspberry Pi that’s accessible from devices in the network and that’s optionally set up with a static IP and a custom domain.
Setting up calibre
Install calibre. The latest version of calibre doesn’t seem to be available in the repos.
sudo apt install calibre
Create a calibre library.
mkdir /mnt/elements/media/ebooks/
cd /mnt/elements/media/ebooks/
wget http://www.gutenberg.org/ebooks/1342.kindle.noimages -O pride.mobi
calibredb add /mnt/elements/media/ebooks/* --library-path /mnt/elements/media/ebooks/
Make sure everything works
…Set up Rapsberry Pi as a public server with a domain
Documenting the steps I took to set up a custom domain that points to a Raspberry Pi server.
Requirements
- You have a Raspberry Pi that’s accessible via other devices on the network
- You own a domain that you can use to point to the Raspberry Pi server e.g www.mydomain.com
Static IP
Setting up a static IP makes things a bit easier. Follow a
guide. You basically have to add the
following lines to /etc/dhcpcd.conf
. This is just an example