Today we are looking at how to install Koha on Debian 9. When I made this video a year or so ago, the university where I worked was busy moving to Koha. I recently moved to another city, but we got Koha up and running and fully working and they are still using it today. I installed Koha 17.05 then, but newer versions are already available, so I updated the instructions for your convenience. Enjoy!
In these blogs and in the videos, I only focus on setting up the server-side, as the GUI side has a good setup wizard. If you need additional help, please let me know!
Instructions:
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 18.11 main' | sudo 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
For more information:
Official Guide:
https://wiki.koha-community.org/wiki/Debian
A very helpful video:
https://www.youtube.com/watch?v=gDEO1dWZfxc&t=1s
Subscribe to our weekly Linux Round-Up: SUBSCRIBE
For a Video With Voice-Overs look here: https://youtu.be/sTlH5YO_mmc
Curios about Chromebooks have a look at our Chromebook Comparison Chart!
Want to buy us a cup of coffee, thank you!
Do you want an ad-free, secure web experience, that pays you? Look here for more information!
Follow us on Facebook: https://www.facebook.com/linuxmadesimple
Comments
Post a Comment