Calibre is a free and open source ebook management system for Windows, Mac, and Linux. The Calibre Server component can be run as a Windows Service using FireDaemon, which allows you to have the application start automatically at boot prior to login, start multiple instances of the application and more. This HOWTO will show you how to set it up. You can also use FireDaemon Fusion to manage FireDaemon and other Windows services via a web browser.
Calibre Setup Under FireDaemon Pro
Download the Calibre installer from the official website.
Run the installer and configure Calibre to fit your preferences. Click Connect/Share from the top menu. You may have to click the double arrows on the right side of the menu to show the full menu. Select Start Content Server to start the Calibre server. Click Connect/Share again to obtain the address of your server.
Now click Preferences in the menu. Again, you may have to click the double arrows in order to show the full menu. From the Preferences menu, select Sharing over the Net. Here you can configure your Calibre server settings. Make a note of the port, username, and password (optional), and change them if you wish. Also make sure that "Run server automatically when Calibre starts" is unchecked. Once you've set up your preferences, click Stop Server on this screen; FireDaemon will take care of managing the Calibre server now.
Download and install FireDaemon Pro into the directory of your choice, typically C:\Program Files\FireDaemon.
Next start the FireDaemon Pro GUI from the desktop shortcut. Click on the "Create a new service definition" button in the toolbar (or type Ctrl+N) and enter the information into the fields as you see below. Adjust the paths to suit your installation. Note the required parameters.
Executable: The path to your calibre-server.exe file. For the purposes of this HOWTO, that path is C:\Program Files (x86)\Calibre2\calibre-server.exe.
- Working Directory: The directory containing your calibre-server.exe file. For the purposes of this HOWTO, that path is C:\Program Files (x86)\Calibre2.
- Parameters: -p 8080 --with-library "C:\path\to\library" --password PASSWORD
Replace C:\path\to\library with the path to your Calibre library and PASSWORD with your server password, if you have set one.
Now click on the Settings tab. If you DON'T want to see Calibre running, uncheck the Interact with Desktop check box & select “Hidden” from the “Show Window” dropdown. You can optionally run Calibre as the user you installed it as. In the Logon Account field type your username (eg. Administrator) and then enter the user's password twice in the Password and Confirm fields. You can change the Process Priority to allocate more CPU time to Calibre or specify which CPU or core Calibre will run on (in the case of multi-processor, hyperthreaded or multi-core CPUs).
Now click on the OK button to finish setup and start your Calibre server!