Guided installation
System, disk, network, and port pre-validation; installation and tuning of Koha, MariaDB, Apache, Memcached, and Plack, plus SWAP, NTP, and timezone.
koha.nexus is a smart, free, and easy-to-use assistant for installing, configuring, maintaining, and extending the Koha Integrated Library System via a friendly and guided dashboard.
$ wget https://raw.githubusercontent.com/PauloFBaldiFH/koha.nexus/refs/heads/main/installer $ sudo bash installer KOHA.NEXUS ✓ Validating server... ✓ Installing Koha ✓ Configuring database ✓ Preparing backups ✓ Configuring access → Dashboard ready: sudo config.sh
From the initial installation to backups, indexing, security, migration, cataloging, and web publishing, the core features are gathered in a single control point.
System, disk, network, and port pre-validation; installation and tuning of Koha, MariaDB, Apache, Memcached, and Plack, plus SWAP, NTP, and timezone.
Compressed SQL backups, MARC21 exports, manual copies, and optional integration with Google Drive via rclone.
Backups are validated and tested in a temporary database before any replacement of the current catalog.
Switch between Zebra and Elasticsearch 7, indexer watchdog, and tools for index repair and rebuild.
Cloudflare Tunnel without needing to open router ports, Certbot for SSL, and Google Search Console assistant.
Fail2ban, UFW firewall, options to restrict staff access on port 8080, and database password rotation.
Data import, SQL reports, catalog quality checks, GDPR/LGPD privacy tools, annual patron category rollover, and more.
CPF validation, Pimaco labels, catalog cards, holidays, official census reports, and ABNT bibliographic references.
Delivery of Koha notices through WhatsApp gateways or a Telegram bot, completely optional.
PHA or Cutter-Sanborn, DDC, Cutter calculator, safe MARC record replacement, and AI assistance.
Run Koha on a single Windows PC, complete with desktop shortcuts, notifications, system tray, and diagnostic tools.
Dashboard updates straight from GitHub with SHA-256 installer verification.
The project targets Debian 11/12/13 or Ubuntu 22.04/24.04 on amd64 or arm64 architecture, and can also run on Windows via WSL 2.
Download the current installer script and run it with administrative privileges.
wget https://raw.githubusercontent.com/PauloFBaldiFH/koha.nexus/refs/heads/main/installer sudo bash installer
You can also keep translation files alongside the script to work offline.
git clone https://github.com/PauloFBaldiFH/koha.nexus.git cd koha.nexus sudo bash installer
http://SERVER-IP:8080http://SERVER-IP:80sudo config.shThe Windows edition is designed for small libraries, training, and evaluation, keeping Koha services inside Debian on WSL 2 while offering native Windows tools.
Open PowerShell normally and run:
[Net.ServicePointManager]::SecurityProtocol='Tls12'; irm https://raw.githubusercontent.com/PauloFBaldiFH/koha.nexus/main/windows/install.ps1 | iex
Install-Koha.cmd. No need to open PowerShell manually.
Restart your PC and repeatedly press the setup key as soon as the screen turns on:
Inside the BIOS, find Intel Virtualization Technology (VT-x) or AMD SVM / AMD-V (under Advanced, CPU Configuration, or Overclocking), switch it to Enabled, and press F10 to save.
Can't access BIOS via keys? In Windows, go to Settings → System → Recovery → Advanced startup (Restart now) → Troubleshoot → Advanced options → UEFI Firmware Settings.
Verifies a compatible Windows version, 64-bit architecture, memory, free space, and BIOS virtualization.
Installs WSL 2, prepares Debian, and configures the administrative user and systemd.
Installs Koha inside Debian and creates Windows shortcuts, scheduled tasks, and control tools.
Configures access for other computers on the local network and tests ports 80 and 8080.
Start, Stop, Restart, status, diagnostics, index rebuild, and safe shutdown are accessible without opening a console.
Crashes, recoveries, backups, low disk space, and unclean shutdowns trigger native Windows alerts.
Exports logs and useful information for support, securely removing passwords, tokens, and keys.
Koha is shut down in stages before WSL and Windows power off to prevent data corruption.
The dashboard tools utilize Koha's own mechanisms and follow a strict protection flow with locking, previewing, confirmation, and verified backups before any data is altered.
A single entry point for spreadsheets, MARC files, compressed archives, collections, items, patrons, and circulation data.
CSV • TSV • XLSX • ODS • DBF • MARC21 • MARCXMLAllows reverting a batch import in a controlled manner, preserving catalog integrity.
Read-only reports for loans, overdues, acquisitions, missing barcodes, items never borrowed, and lost items.
Moves patrons between categories using criteria defined by the library, with a dry run before execution.
Runs catalog inconsistency checks without altering the actual records.
Anonymizes old borrowing histories and securely deletes expired patrons that meet defined criteria.
PRE-* copy before making changes.
The project brings together helper tools for classification, author notation, Cutter calculation, and safe MARC record replacement, without removing the professional review step.
Uses the library's own PHA or Cutter-Sanborn table and highlights numbers already used in the catalog.
Searches by number or subject from a local copy of the library's DDC, integrated with the cataloging form.
Calculates notation, suggests classes based on the catalog, and can auto-fill 090, 092, or the item call number field.
Replaces a record via MARC or XML through preview, transactional lock, and saving the previous version.
Receives photos of the cover, title page, and verso, generating a record proposal applying cataloging rules before human review.
Supports OpenAI-compatible services and local models via Ollama or LM Studio, without storing tokens in the dashboard.
The Brazilian localization features are opt-in: nothing is applied automatically during installation or by schedule.
| Feature | What it offers | Protection |
|---|---|---|
| CPF Validation | Audits CPF (National ID) using check digits and identifies shared numbers. | Read-only until confirmation |
| Pimaco Labels | Templates for A4 and Letter sheets, including spine, barcode, and title. | PRE-LABELS |
| Catalog Card | Generates catalog cards in the style used by Brazilian libraries, integrated into the record view. | PRE-FICHA |
| Brazilian Calendar | National holidays and floating dates, with an option for municipal holidays. | PRE-CALENDAR |
| Census Reports | Reports for indicators related to MEC, INEP, IBGE, and SNBP based on Koha data. | PRE-CENSO |
| ABNT NBR 6023:2018 | Generates references and bibliographies from MARC21 records in HTML and plain text. | Read-only |
The dashboard centralizes recurring tasks and highlights important points for maintenance, diagnostics, and recovery.
| When | Task |
|---|---|
| Daily 23:00 | Compressed SQL backup and optional cloud upload |
| Sundays 03:00 | MARC21 export |
| Daily 01:30 | Session and Zebra queue cleanup |
| Daily 05:00 | Plack restart |
| Every 2 min | Zebra indexer watchdog |
| Every 5 min | Elasticsearch watchdog, when used |
/root/koha_credentials.txt — initial credentials/var/backups/koha_sql — SQL backups/var/backups/koha_marc — MARC backups/etc/koha-easy-install/ — dashboard settings/var/log/koha-easy-install/ — dashboard and validation logs~/importar — input folder for the Magic Import ToolThe dashboard gathers status, health checks, Apache logs, deep database maintenance, and ready-to-use reports for support.
The project includes verification after an unclean reboot, creates a new backup, and updates the index when necessary. On Windows, the safe shutdown routine attempts to stop Koha gracefully before the system shuts down.
uninstall.sh script permanently removes Koha, databases, local backups, and configurations. Backup your data off-server before using it.
Explore the public catalogs maintained by our partner institutions. Search engines follow these links to automatically discover and index their collections.
The project includes tests, translations, collaboration tools, and installer checksum verification for automatic updates.
Bats test suite for backup/restore, indexing, library tools, WSL, and Windows components.
Versioned dictionaries by language, coverage validation, and automatic rejection of translations missing variables.
The installer uses SHA-256 to securely validate its own updates.
GNU General Public License v3.0 or later (GPL-3.0-or-later). The project can be used, studied, shared, and modified. Modified distributions must remain under GPL and make the corresponding source code available. The software is provided without warranty.