Enable Plack with Koha and improve the performance

Plack is a performance booster for Perl web applications. Plack can enhance the speed of Koha while various operations. Plack requires Apache 2.4.10+ and can enable with Koha installed in Debian 8 (Jessie) / Ubuntu 16.04 LTS. 

Apply following commands after the installation of Koha:

sudo su
sudo koha-plack --enable library
sudo koha-plack --start  library
sudo service apache2 restart

Note: Plack creates cache for speed. Make sure the PC has good amount of RAM, if you are going to enable Plack.

References

Send messages in queue immediately

Koha user can send messages in queue due to various reasons. Certain messages in Koha set to send in midnight. Often libraries running Koha on desktop machine shut down PC after working hours. In this situation, messages can't send. If you are also hurry to send messages generated at once, apply following commands:

1. Load environmental variables

sudo su
export PERL5LIB="/usr/share/koha/lib" 
export KOHA_CONF="/etc/koha/sites/library/koha-conf.xml"

2. Push messages in queue

cd /usr/share/koha/bin/cronjobs
./process_message_queue.pl

Warning: When executing the process_message_queue.pl, the library personnel should ensure that no one is trying to check in / out items.

Configure Exim with Gmail to send notices from Koha

Exim is a Mail Transfer Agent suitable (MTA) with Linux operating systems. Koha user can install Exim to send email notices to library users. Exim can be used instead of Postfix.

An email from Koha.

Backup with time stamp and automatic deletion of old files

Scheduling Koha backup can save the time of the library staff. Know the backup date and time from the filename (e.g. koha_library-25-04-2017-20.08.sql.gz) is very convenient. Entry to delete old files remove backup files older than stated days (e.g. 5 days) and avoid the heap of files in the computer/cloud storage.

Cron is a utility available in Linux Operating system, which helpful to schedule various tasks (e.g. Backup Koha database in a particular time). User has to record the desired tasks in Crontab file with time to execute.

Install Koha on Ubuntu 16.04

Install Ubuntu 16.04 and update
Koha can install on various Ubuntu flavors like Ubuntu MATE/Xubuntu/Lubuntu. Xubuntu and Lubuntu are lightweight (fast performance) Ubuntu flavors. Download Linux iso file from the Ubuntu MATE/Xubuntu/Lubuntu websites. Burn in a DVD or pen drive. Install the Linux operating system. 

Open Terminal and get ready for installation
Open Applications > System Tools > Terminal and execute commands one by one mentioned in this page.

Update Ubuntu
This process will update the Linux operating system latest by downloading new packages.

sudo su
apt-get update
apt-get upgrade

Install Leafpad text editor
Leafpad is a lightweight text editor, which require to open configuration files while the installation process of Koha.

apt-get install leafpad

Data entry in regional languages using Google Chrome Input Tools extension

Google Input Tool is helpful to type various languages without any hassle. Google Input Tool now has Chrome browser extension. User can type regional languages without leaving Chrome browser. 

The Google Input Tools extension provides virtual keyboards for over 90 languages, full IMEs or direct transliteration for over 30 different scripts, and handwriting input for over 40 languages.

Use of borrowers-force-messaging-defaults script

This script create messaging preferences for all existing borrowers and set them to default values defined for the category they belong to. Otherwise staff user has to modify the messaging preferences of each patron one by one. Follow the instructions to run the borrowers-force-messaging-defaults script.

Load environment variables

sudo su
export PERL5LIB="/usr/share/koha/lib"
export KOHA_CONF="/etc/koha/sites/library/koha-conf.xml"

Run borrowers-force-messaging-defaults script.

cd /usr/share/koha/bin/maintenance
perl borrowers-force-messaging-defaults --doit

The script was useful when SMS notifications enabled.  After the installation SMS driver, new empty SMS notification option appeared in patron messaging prerences. The script can copy default messaging preferences of Patron categories to all patrons profiles.