User manual

Koha's Web Installer, Crontab, and Other Server Configurations
Setting up PERL5LIB environment variable
The
PERL5LIB
environment variable points to the
kohaclone
folder. To set up this
variable, we use the export command as follows:
koha @ linux: /home /koha /kohaclone# export PERL5LIB= /home /koha /kohaclone
Let us test to make sure the variable is set correctly:
koha @linux: /home /koha /kohaclone# echo $PERL5LIB
/home /koha /kohaclone
Setting up persistent environment variables
To make sure the variables are persistent across sessions, we will need to export
these variables in a
bash configuration file.
On Debian, we set these up in the
/etc / bash .bashrc
file:
koha @linux: /home /koha # vi /etc /bash.bashrc
On openSuSE, we use the
/etc / bash.backrc. local
file:
koha @linux: /home /koha # vi /etc /bash.bashrc.local
We add these lines to the file:
export KOHA CONF = /etc /koha -dev /etc /koha -conf.xml
export PERL5LIB = /usr /share /kohaclone
To test if the configuration is successfully setup, we open a new terminal session and
run the
echo
command:
koha @ linux: -> echo $KOHA CONF
/etc /koha -dev /etc /koha -conf.xml
koha @koha @linux: -> echo $PERL5LIB
/home /koha /kohaclone
koha @linux: ->
[64]