User manual
Chapter 4
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
chkconf ig
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 server
reboot. In openSuSE, we use
chkconf ig
to configure it to auto -start on reboot:
koha @koha @linux: -> sudo chkconfig mysql on
To test the configuration, we use
chkconf ig
as follows:
koha@koha@linux:-> sudo chkconfig mysql
mysgl on
Auto -starting Zebra server
We need to configure the service koha- zebra - daemon
to start up automatically on
server reboot.
On Debian, we use the chkconfig
equivalent command-
update -rc . d to
accomplish this:
koha @koha @ linux: -> sudo update -rc.d koha- zebra - daemon defaults
On openSuSE, we use chkconfig
as follows:
koha @koha @linux: -> sudo chkconfig koha- zebra - daemon on
On openSuSE, if you are not using the
koha- zebra-daemon
service, you can setup
the zebrasry
command in the
/etc /init .d/boot . local file.
Edit the
boot . local file:
koha @koha @linux: -> sudo vi /etc /init.d /boot. local
[61]