Installing Koha

{I live-blogged this and have not yet checked for typos for all the commands below — will check later today; apologies in advance, until then}

Aaron Williams, Mercyhurst University, {awilliams@mercyhurst.edu}

Link to slides coming soon

Works as a web developer at Mercyhurst

  • responsible for main website at the university
  • Full stack developer
  • Linux experience; installing and maintaining various software stacks (Apache MySQL PERL PHP)
  • Polygot (know multiple languages)

Installing Koha — overview

  • Minimum hardware requirements
    • it works on a raspberry pi (runs slow):
      • 700mhz ARM processor
      • 512 MB of memory
      • 3.5 watts of power
      • SD card storage
    • Better hardware recommended for speed

Koha minimum software requirements

  • Linux — usually Debian or Ubuntu but other Linux distros are supported
  • Apache web server
  • MySQL
  • PERL Programming language: lots of Perl dependencies

Installation methods

  • From source/git
  • apt-get and pre-built packages [make everything easy]

Installing Koha [can use VirtualBox on your own computer to set up a virtual host]

Ubuntu/Debian package commands:

  • Add community repository
    • echo deb http://debian.koha-community.org/koha stable main | sudo tee /etc/apt/sources.list.d/koha.list
  • Add trusted repository key
    • wget -O- http://debian.koha-community.org/koha/gpc.asc | sudo apt-key add -
  • Update Ubuntu or Debian using apt-get
    • sudo apt-get update
    • sudo apt-get upgrade
  • Clear the apt-get packager manager cache
    • sudo apt-get clean
  • Install Koha and dependencies
    • sudo apt-get install koha-common
    • [takes 5 mins on a reasonably fast internet connection]
  • Problem with Apache itk (errors on install; usually happens)
    • sudo a2dismod mpm_event
    • sudo a2enmond mpm_prefork
    • sudo service apache2 restart
    • sudo apt-get install -f
  • Edit initial config file
    • sudo nano /etc/koha/koha-sites.conf
    • Edit intraport, opacport, domain, and memcache [for database, makes Koha faster] settings depending on install
  • Install mysql-server dependence
    • sudo apt-get install mysql-server
  • Ensure rewrite and cgi are enabled
    • sudo a2enmod rewrite && sudo a2enmod cgi && sudo service apache2 restart
  • Setup the database for Koha
    • sudo koha-create --create-db library
  • Secure mysql installation (follow onscreen wizard)
    • sudo mysql_secure_installation
  • Add new 8080 port (for IP based install) to Apache
    • sudo nano /etc/apache2/ports.conf
    • need to add listen on 8080 (missed the details)
  • Enable vhost on Apache
    • sudo a2enmod deflate && sudo a2ensite library && sudo service apache2 restart
  • Test to ensure everything is working
    • In web browser, visit localhost or 127.0.0.1 {Koha maintenance message}
    • In web browser, visit localhost:8080 or 127.0.0.1:8080
  • Visiting localhost:8080 or 127.0.0.1:8080
    • should prompt for username or password
    • username –> koha_library
    • password –>
      • sudo xmlstarlet sel -t -v 'yazgfs/config/pass' /etc/koha/sites/library/koha-conf.xml
    • Follow onscreen instructions/wizard

Resources: Ubuntu: wiki.koha-community.org/wiki/Koha_on_ubuntu_-_packages Debian: http://wiki.koha-community.org/wiki/Koha_on_Debian

Open Source at Meadville Public Library

John Brice, Meadville Public Library Director

Meadvillelibrary.org/os
–33 separate FOSS (free and open source software) packages being used
–1000 sq miles
–175 plus clients
–3.5 FTE IT dept

Instead of spending money in packaged software license, we use FOSS and invest the savings in staff training and higher quality equipment.

Participation Strategy: we want to be a big fish in a small pond

  • we have limited resources
  • Every FOSS project deserves support
  • Active involvement is in two projects: Koha & LibKi

Development of MPL FOSS guidelines

  • We have small budgets: select FOSS if available (it’s cheap); host the software ourselves (reduces costs)
  • Test drive everything first through a proof concept (old hardware first)
  • DIY Library (we like to tinker) — build own furniture, lay own carpet, renovate building themselves
  • Leverage our knowledge of FOSS

Selection of OSS criteria

  • Technical details: programming language; packages used; what license does it use?
  • What is the community like? Single developer in mom’s basement vs Multiple developers for the Fortune 500

Passive Participation in FOSS

  • Do nothing (or small, donations)
  • Contribute to the project along prescribed guidelines

Active participation

  • develop documentation
  • answer support questions
  • sign off on quality assurance
  • submit bug fixes
  • finding bugs and reporting them
  • participate in development
  • participate in community discussions
  • submit new features

Active Participation — Financial

  • Attend community meetings/hackfests (travel around the world!)
  • Hire a developer/company to add a feature

FOSS Community members

  • lead programmer
  • independent developers
  • library developers
  • hosting companies
  • library management types
  • librarians

Community influence

  • influence in FOSS community is based on participation and supported development
  • You do not have to do both
  • The more you work with a FOSS community the more the community will listen to your needs

Active participation staff requirements

  • a good communicator
  • or good writer
  • or good administrator
  • or good IT support person
  • or good programmer

All can contribute to a FOSS community — all types are needed. You don’t have to be technical and know code to participate in the community.

Where to implement FOSS in a library?

  • Hire a host company
  • Support the software yourself <– Meadville’s approach
  • Self support and hire a company

MPL FOSS Development routine

  • Proof of concept — IT Plays
  • Alpha version — IT modifies/demos/approvals
  • Purchase hardware — best available and overspec, because not also paying for licenses and software. Investment goes into redundancy and specs. Pays off in liability down the road
  • Beta version — installed software/staff tests
  • production — go live with use
  • Debugging

Own FOSS customized version of Koha (starting 2007)

  • needed features: fines; clubs and services; rotating collection; different page layouts

Custom software disadvantages

Difficult to upgrade (missed the rest of his points)

Now, community Koha version for last three years, easier to manage

Expect the unexpected

  • no matter how much you test production setting can produce unexpected results
  • Need feedback system for staff (Mantis)
  • Need support of management when things go wrong

Support issues

Many channels of support available

  • Start with the idea: you’re probably not first one with the problem; search available FAQs/past questions
  • Community channels — usually responsive for help

Courage is being scared to death but saddling up anyway. –John Wayne — Meadville’s mantra

Library isn’t using the proven method that is taught in library school. But from John’s experience it is possible to do it, possible to succeed, and is possible to do it yourself, and have the courage to do it yourself.

Your mileage may vary

  • No hard and fast rules
  • Be flexible
  • Being stubborn also helps 🙂

Learning at Your Library presentation

I presented yesterday at the 2015 NEKLS Innovation Day, “Learning @ Your Library: Empowering your community to learn”. It was a new presentation, expanding on the Open Education Resources introductory sessions I’ve led over the last few years for school librarians and teachers.

The presentation focused on the idea that libraries (public, particularly) are the perfect organization to be facilitating learning for all ages, Continue reading “Learning at Your Library presentation”

Top 10 Things You Need to Know to Stay Sane & Work Smarter

Maurice Coleman

About his library system: Hartford has been circulating video games for over 10 years; {more info on kids services} sneak in the learning (educational games and puzzles); American Girl Dolls (phantom collection — 113 of them; are always all out); STEM, Little Leapers take home science kits; Learn, Explore and Play kits (LEAP); Give them a robot (programming) — Finch robots; Innovation Lab; a lot of new things are being done at HCPL. Guinea pig, test a lot of projects for companies.

“All work and no play makes Jack a dull boy”

Continue reading “Top 10 Things You Need to Know to Stay Sane & Work Smarter”

Playing with Collaboration Tools

virtual presentation by Paul Signorelli (assisted virtually by Maurice Coleman)

Google Hangouts, Skype

Don’t always work perfectly, but when they work, they work great!

Google Hangouts: 1) regular video hangout (what was used in this session); need a google account of some kind, initiate hangout in the moment. Downside is technical issues. 2) Hangout “on air”. Scheduled in advance, system generates invite, recorded, and auto-archived, and generated on YouTube channel.

Continue reading “Playing with Collaboration Tools”