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.
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
Again on Debian, MySQL is already configured to start automatically on server reboot. In openSuSE, we use chkconfig
to configure it to auto-start on reboot:
koha@koha@linux:~> sudo chkconfig mysql on
To test the configuration, we use chkconfig
as follows:
koha@koha@linux:~> sudo chkconfig mysql mysql on