Search This Site

Prefer A Different Language? No problem!

Friday, October 27, 2017

How To Install Koha 17.05 Open Source Library in Debian 9

In this tutorial I show how to setup and install Koha Open Source Library on Debian 9.  I just focus on the server side not on the web interface, it is just a wizard and easy to set up.  We are busy moving to koha now, so I might make more videos about koha in the future.

I used the following sites to based this installation of.

Video Tutorials:
with voice-overs: https://youtu.be/sTlH5YO_mmc
with background music: https://youtu.be/L4pa1GOYZjs

the koha open source wiki: https://wiki.koha-community.org/wiki/Debian
check out this great guy's video and he also create great documenation of a previous release and a ready made virtual machine you can use! https://www.youtube.com/watch?v=gDEO1dWZfxc&t=1s and here is the documentation https://docs.google.com/document/d/1W4vUwEQK5alc474WEt0h38qQ5VOGJxPpnJiytxJSgu0/edit

Commands Used:
su

wget -q -O- http://debian.koha-community.org/koha/gpg.asc | apt-key add -

echo 'deb http://debian.koha-community.org/koha stable main' | tee /etc/apt/sources.list.d/koha.list

apt-get update

echo 'deb http://debian.koha-community.org/koha 17.05 main' | tee /etc/apt/sources.list.d/koha.list

apt-get update

apt-get install koha-common mysql-server apache2

Configure Apache

a2enmod rewrite
a2enmod cgi

Configure apache

nano /etc/apache2/ports.conf and add
Listen 8080
Listen 8081

/etc/init.d/apache2 restart

create library
koha-create --create-db libraryname

Retrieve the admin username and password

nano /etc/koha/sites/libraryname/koha-conf.xml


<config>
  <db_scheme>mysql</db_scheme>

<user>[system generated]</user>
<pass>[Some password generated by the system]</pass>

nano /etc/apache2/sites-enabled/namelibrary.conf

# OPAC
<VirtualHost *:8080>
# Intranet
<VirtualHost *:8081>

reboot your system

login ipaddress of server :8080 guest :8081 staff

No comments:

Post a Comment