Koha News

KohaCon10: Debian Packaging for Koha

Presented by Robin Sheat

These packages are what Catalyst uses (pretty much) for deploying their MyKoha service in the cloud.

To get the packages:

  • sudo nano /etc/apt/sources.list.d
    add “deb http://debian.koha-community.org/koha squeeze main”
    add “deb http://debian.koha-community.org/koha squeeze-dev main”
  • sudo aptitude update
  • sudo aptitude install koha-common
    # plain ‘koha’ package not quite ready yet

Does a ‘dev’ install, but set up like a production install. Does not run off Git, since building packages is so straightforward. Once installed, you’ve got a ton of commands you can run. To show valid commands:

  • sudo koha-

Creating a new instance of Koha with the database on the same machine:

  • sudo koha-create –create-db mylibrary

Navigate to mylibrary.domain.tld to view OPAC, mylibrary-intra.domain.tld to staff client. Staff client login is ‘staff’, and password is generated by script (don’t share it!)

Email is deactivated by default. To activate:

  • sudo koha-email-enable mylibrary

(disable works similarly)

Automatically handles backups for every instance running (in /var/spool/koha/mylibrary). Does mysqldumps into sql.gz and non-database preferences (including Zebra index!!) into tar.gz. Command koha-restore to reload.

koha-foreach to loop through every library on a server, and do a command (as that library user). Good for cronjobs. Has options to filter.

One warning: No UNIMARC option at this time! Also, Zebra is not ICU. Both are pretty easy to fix.

[tag]kohacon10[/tag]

[Originally posted by Ian Walls]

Read more by ByWater Staff

Tags kohacon10
https://bywatersolutions.com/news/kohacon10-debian-packaging-for-koha
bywatersolutions.com
crawl=CC-MAIN-2018-47
18002
application/http; msgtype=response
sha1:4UGU5OWHAHYPNBHS3F7L5BFNVUFQWZMA
<urn:uuid:be367113-b1d9-407e-a4ac-f85f13087788>
2018-11-21T14:43:09Z
172.98.64.84
text/html
sha1:FHU53ZSJXYSRM4URGSCBYOZ6E2N5IYP4
<urn:uuid:0d349d5f-b517-44eb-bbff-1dc0636cee7b>
https://bywatersolutions.com/news/kohacon10-debian-packaging-for-koha
response
<urn:uuid:af445c22-29c8-4b0c-8bd4-5fb8b072de25>
isPartOf: CC-MAIN-2018-47
publisher: Common Crawl
description: Wide crawl of the web for November 2018
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-144-127-200.ec2.internal
software: Apache Nutch 1.15 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 0.11-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/