Koha/Post-Installation

From Libopedia
Jump to navigation Jump to search

Step 1 - Setup automated tasks using the cron daemon

See: https://github.com/Koha-Community/Koha/blob/master/misc/cronjobs/crontab.example

Add the above to "koha" user crontab. Change all instances of "__KOHA_USER__" to "koha".

Step 2 - Enable system backup and monitor

See: https://github.com/Koha-Community/Koha/blob/master/misc/cronjobs/backup.sh

Also see links below for further information.

Step 3 - Setup system email delivery

  • Install mail delivery agent
sudo apt-get install postfix

When asked for type of configuration, select Internet with smarthost. The smarthost is your campus email server, for example at Stellenbosch University that server is: mail.sun.ac.za

  • Deliver koha user email to designated recipients
sudo nano /etc/aliases

See example below. Replace the example email addresses with your email addresses.

# Added by installer for initial user
root:	me@my.edu
koha:   me@my.edu, you@my.edu

After saving the file, run the following command.

sudo newaliases

Enable command line email utils

sudo apt-get install mailx

Send a test email to yourself, by typing and pressing enter.

mail -s "Test from KOHA server" root, me@my.edu

Type in some content for the email, then press CTL+d to deliver the email.

You can check the log at /var/log/mail.log for more info of delivery.

Help

Return to Koha wiki page