- Installing Koha : Introduction
- Installing Koha: Create a User Account on Debian
- Installing Koha: Update Debian packages
- Installing Koha: Download koha and install required packages
- Installing koha: Create MySQL database
- Installing Koha: Configure the installer and install koha
- Installing Koha: Configure apache2 web server and run koha web installer
- Installing Koha: Configure and start Zebra
Koha relies on many other packages to run. These include MySQL database, Apache2 web server and zebra for indexing among others. We therefore need to set-up our new operating system so that it can access, download and install all these packages.
To begin, open and add apt sources for Zebra packages in sources.list file.
sudo nano /etc/apt/sources.list
At the bottom of the file, paste these lines
# Zebra/indexdata sources deb http://ftp.indexdata.dk/debian jessie main deb-src http://ftp.indexdata.dk/debian jessie main #apt repository for koha's debian dependencies deb http://debian.koha-community.org/koha stable main
Then add indexdata* signing key to your Debian system to avoid PGP errors during installation.
wget -O- http://ftp.indexdata.dk/debian/indexdata.asc | sudo apt-key add -
During this step, look out for the word OK, otherwise an error occurred that you need to resolve.
Then add Debian signing key to your system as well.
wget -O- http://debian.koha-community.org/koha/gpg.asc | sudo apt-key add -
Update the Debian apt cache to get the latest packages for your system. Basically, you are re-synchronizing your local package index files with their sources as specified in /etc/apt/sources.list file
sudo apt-get update
Upgrade the packages. This actually downloads the updated packages from the remote repository and updates the local ones on your system.
sudo apt-get upgrade
And finally remove any packages installed but no longer required. These include those packages installed for use only during installation.
sudo apt-get clean