laqa.blogg.se

Calibre server login
Calibre server login










calibre server login calibre server login

It wants you to copy an existing Calibre database (metadata.db), here is a few pointers to help with that.īy default your Calibre Library is made in your home directory unless you specified elsewhere during the first launch setup for Calibre. Enable calibre-web to start at boot, and start it now so you can continue with setup then begin using it.Īt this point installation is done and you can now access it, however there is a rather important configuration step left before you can actually use it.Make the rc file able to execute by adding the execute bit.# $OpenBSD: calibre,v 1.0 3 18:49:00 rpe Exp $ĭaemon="/usr/local/bin/python3 /usr/local/share/calibre-web/cps.py" We need an rc file to start calibre-web, create /etc/rc.d/calibre-web with vi or install nano and use that.Now that everything is installed, lets change the ownership of these files.Ĭhown -R _calibre-web:_calibre-web /usr/local/share/calibre-web.Useradd -s /sbin/nologin -d /nonexistent -L daemon -u 447 _calibre-web For security purposes instead of using the nobody user or the www user, lets make a separate user that is designated for only running Calibre-web and only able to access its own files.Pip install -target vendor -r requirements.txt Change directory into the new calibre-web directory.Clone the calibre-web repo into /usr/local/share/, this will create a directory named calibre-web in that directory.Ln -sf /usr/local/bin/pip3.7 /usr/local/bin/pip Create a link so you do not need to remember to type pip3 instead of pip.It perhaps may not be the most secure project around, but why not host all the things on OpenBSD anyway? Calibre-web is a simple Python project and uses a self contained web server even.

calibre server login

I go over how to setup a Calibre-web server on OpenBSD.












Calibre server login