Calibre - Online E-Book Bibliothek

Calibre PrintScreen

calibre is a powerful and easy to use e-book manager. Users say it’s outstanding and a must-have. It’ll allow you to do nearly everything and it takes things a step beyond normal e-book software. It’s also completely free and open source and great for both casual users and computer experts.

nach oben

1) Installation

1.1) Client

Installation erfolgt in /opt/calibre

sudo -v && wget -nv -O- | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(; main(install_dir='/opt')"

1.2) Server

Vieles Infos hier auf aber ich empfehle aktuell den OPDS Server zu verwenden.

nach oben

2) Aktuelle Fehler

nach oben

3) Konfiguration

3.1) Start/Stop Script

#!/bin/bash cd /home/user/calibre if [ "$1" == "start" ]; then echo "Start Calibre-Server..." /home/user/calibre/calibre-server --pidfile=/home/user/var/ --daemonize --url-prefix=/library elif [ "$1" == "stop" ]; then echo "Stop Calibre-Server..." kill -INT $(cat /home/user/var/ wait pkill -9 -U user calibre-server wait elif [ "$1" == "restart" ]; then echo "Restarting Calibre-Server..." /home/user/bin/calibre-standalone stop wait /home/user/bin/calibre-standalone start else echo "Use calibre-standalone stop|start" fi

3.2) Crontab

@hourly python2.6 /home/user/bin/ calibre-server 128000 /home/user/bin/calibre-restart >> /home/user/var/logs/crontab.log 2>&1 @reboot /home/user/bin/calibre-restart

3.3) Sync library from local to server

#!/bin/bash rsync -q -rtze ssh /home/user/Calibre-Bibliothek/ ssh "/home/user/bin/calibre-restart"
nach oben