Koha Installation On Debian
Koha Installation On Debian
Steps to be followed:
1. Add debian packages repository
2. Add koha debian repository
3. Install koha
4. Disable the default virtual host (Strongly recommended)
5. Web installer
Before the start: Start the root terminal. To start root terminal
Go to applications
Select root terminal
Give the root password
Enter into the root terminal
Add the koha repository (Choose the stable release repository)
Koha needed some packages to work correctly. We are going to install koha automatically with
required packages. This is suitable for the end users. As we are not from technical education
background, simple installation is the best solution for us.
apt-get update
To configure your server for use with DNS names: After install, edit /etc/koha/kohasites.conf with details about your site. You may need to create this file.
If you don't need DNS configuration and want to access Koha via IP only
(often done for test installations), you can skip creating this file and you
will get default values (OPAC on port 80 and Staff client on port 8080).
Some example content would be:
DOMAIN=".mydomain.co.nz" # Any library instance will be a subdomain of this string.
INTRAPORT="80" # TCP listening port for the administration interface
INTRAPREFIX="" # For administration interface URL: Prefix to be added to the instance name.
INTRASUFFIX="-intra" # For administration interface URL: Suffix to be added to the instance name.
DEFAULTSQL="/usr/share/koha/defaults.sql.gz" # only needed if you're pre-populating from another
Koha database
OPACPORT="80" # TCP listening port for the users' interface (if you skip this, the apache default of
80 will be used)
OPACPREFIX="" # For users' interface URL: Prefix to be added to the instance name.
OPACSUFFIX="" # For users' interface URL: Suffix to be added to the instance name.
ZEBRA_MARC_FORMAT="marc21" # Specifies format of MARC records to be indexed by Zebra.
Possible values are 'marc21', 'normarc' and 'unimarc'
ZEBRA_LANGUAGE="en" # Primary language for Zebra indexing. Possible values are 'en', 'fr' and
'nb'
If you are planning to run MySQL on the same server as you are running Koha
on, then make sure you install it:
sudo apt-get install mysql-server
[Define root password(diul123)]
And find the line near bottom . Database name and password. Preserve it. It will be
needed to koha web installer