Ensuring Koha starts automatically on server reboot

To make sure that Koha runs smoothly after a server reboot, we need to make sure that Apache2, MySQL, and Zebra server start up automatically. In this section, we demonstrate how to set this on Debian and openSuSE.

Auto-starting Apache2

On Debian, Apache2 is configured by default to start automatically on server reboot. In openSuSE, however, this is not the case. We use the chkconfig program to configure Apache2 to auto-start on reboot:

koha@koha@linux:~> sudo chkconfig apache2 on

Let us test if the command was successful; we run the command as follows:

koha@koha@linux:~> sudo chkconfig apache2
apache2  on

Auto-starting MySQL

Again on Debian, MySQL is already configured to start automatically on ...

Get Koha 3 Library Management System now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.