~/courses$
Free courses, from basic to advanced
Pick a course, start at lesson 1 and follow the numbers to the end. Every lesson is one real task, run on a fresh Ubuntu server, with the output it printed.
~/courses/dspace$ls lessons/
DSpace server course
DSpace is the open-source repository many universities use for theses, articles and research data. This course takes you from a bare Ubuntu server to a DSpace you can run for years, one tested lesson at a time.
4 of 20 lessons ready
Set it up: From a fresh server to a DSpace people can use.
- 1How to install DSpace 10 on Ubuntu 26.04 and 24.04PostgreSQL, Solr, the backend and the web interface as services.
- 2Put DSpace behind Nginx with HTTPS Coming soonA real name, a free certificate, and the REST API on the same address.
- 3Your first community, collection and item Coming soonThe structure every repository needs, in the web interface.
- 4Send DSpace email Coming soonRegistration and workflow mail through an SMTP relay, and how to test it.
Run it: The jobs a repository manager does every month.
- 5Bulk import items (Simple Archive Format) Coming soonHundreds of items from the command line, with the import report.
- 6Turn on OAI-PMH and check what it serves Coming soonSo Google Scholar and library systems can harvest your records.
- 7Back up and restore DSpace Coming soonDatabase, assetstore and Solr, restored on a new server to prove it works.
- 8Upgrade DSpace to the next version Coming soonBackend and web interface, with the database migration and a way back.
- 9DSpace cron jobs: the scheduled tasks DSpace 10 needs, testedThe crontab for the search index, thumbnails, statistics and email alerts, and how to check each ran.
- 10DSpace command-line reference Coming soonEvery /dspace/bin/dspace command a server admin uses, with the output it prints.
Connect it: DSpace next to the other systems a library or a journal runs: each lesson tests both ends.
- 11Get DSpace items into Google Scholar Coming soonThe citation tags Scholar reads, the sitemaps, and how to check what it sees.
- 12Receive OJS articles in DSpace (SWORD) Coming soonTurn on DSpace’s SWORD v2 endpoint and accept deposits from an OJS journal.
- 13Harvest another repository or journal into DSpace Coming soonA collection that pulls records from an OAI-PMH source such as OJS, on a schedule.
- 14Show DSpace items in Koha’s search: the DSpace side Coming soonThe OAI-PMH feed and records Koha harvests, checked from outside.
Fix it: The errors DSpace servers show, each reproduced on a test server and fixed. Titled with the message as DSpace prints it.
- 15Reset a forgotten DSpace admin password from the command lineFrom the command line, when nobody can sign in.
- 16DSpace “Expected mime type application/octet-stream but got text/html”: the Solr fixSolr is not answering where DSpace looks: the causes, in order, and the fix for each.
- 17“No _links section found” Coming soonThe web interface and the REST API disagree on the address: find which setting.
- 18“Access is denied. Invalid CSRF token” Coming soonWhy sign-in fails with 403, and the HTTPS and host settings that fix it.
- 19DSpace shows “500 Service unavailable” Coming soonThe browser cannot reach the REST API: backend down, port closed or proxy wrong.
- 20“Flyway migration error” after a DSpace upgrade Coming soonRead the Caused by line, database info, and the safe way through.
~/courses/moodle$ls lessons/
Moodle server course
Moodle is the open-source learning platform schools and universities use for their courses. This course covers the server side: setting Moodle up, keeping it fast and safe, and fixing it when it breaks, one tested lesson at a time.
0 of 22 lessons ready
Set it up: The server every other lesson builds on.
- 1Install Moodle Coming soonNginx, PHP-FPM, PostgreSQL, moodledata outside the web root, the command-line installer.
- 2Moodle behind Nginx with HTTPS Coming soonA certificate, the right wwwroot, and the redirect loop it prevents.
- 3Run Moodle’s cron every minute Coming soonAnd clear “The admin/cli/cron.php script has never been run”.
- 4The PHP settings Moodle asks for Coming soonmax_input_vars, upload size, memory and OPcache, until the environment check passes.
- 5Send Moodle email through SMTP Coming soonAnd find out why mail is not sent.
- 6Install Moodle with MariaDB Coming soonThe differences from PostgreSQL that the runs show.
Run it: Keep it fast, safe and up to date.
- 7Redis for sessions and the cache Coming soonMeasured before and after.
- 8Size PHP-FPM and OPcache for Moodle Coming soonFrom a load test on the server, not rules of thumb.
- 9Back up and restore Moodle Coming soonDatabase, moodledata, code and config, restored on a new server.
- 10Upgrade Moodle to the next version Coming soonMaintenance mode, the command-line upgrade, and rolling back.
- 11Upgrade PHP for a new Moodle Coming soonTwo PHP versions side by side, then switch.
- 12Install and remove plugins from the command line Coming soonWithout clicking through the web installer.
- 13Move Moodle to a new server or domain Coming soonDatabase search-and-replace from the command line.
- 14Secure a Moodle server Coming soonFile permissions, dataroot, and the Security checks report passing.
- 15Moodle maintenance from the command line Coming soonMaintenance mode, caches, one scheduled task, a password reset.
- 16Monitor a Moodle server Coming soonmoodledata disk, cron health, PHP-FPM status and an uptime check.
Fix it: The errors Moodle servers show, reproduced and fixed.
- 17“Error reading from database” Coming soonDatabase down, wrong password, or connections full.
- 18Moodle stuck in maintenance mode Coming soonAfter a failed upgrade.
- 19A large course backup or restore fails Coming soonTimeouts, upload limits and a full disk.
- 20“Invalid permissions” on moodledata Coming soonAfter a move or an upgrade.
- 21Scheduled tasks stuck or failing Coming soonThe task queue and its locks.
- 22Moodle is slow: find the cause Coming soonSlow queries, the cache, and cron overlap.
~/courses/ojs$ls lessons/
OJS server course
Open Journal Systems (OJS) is the open-source platform thousands of university journals publish with. This course covers running it on your own server, one tested lesson at a time.
0 of 15 lessons ready
Set it up: From a fresh server to a journal that accepts submissions.
- 1Install OJS Coming soonNginx, PHP-FPM, the database, and the files folder outside the web root.
- 2OJS behind Nginx with HTTPS Coming soonA certificate and the base URL settings that go with it.
- 3Send OJS email through SMTP Coming soonSo submission and review mail arrives.
- 4Run OJS scheduled tasks Coming soonReminders, statistics and the job queue, from cron or a systemd timer.
- 5PHP limits for large submissions Coming soonUpload and post size, and how to check them.
Run it: Keep the journal safe and current.
- 6Back up and restore OJS Coming soonDatabase, files folder and config, restored on a new server.
- 7Upgrade OJS to the next version Coming soonThe command-line upgrade, and rolling back.
- 8Move OJS to a new server or domain Coming soonAnd the settings that must follow it.
Connect it: OJS next to a repository: each lesson tests both ends.
- 9Deposit OJS articles in DSpace Coming soonThe SWORD plugin, the DSpace collection it fills, and the deposit checked on both sides.
- 10OJS OAI-PMH: what harvesters see Coming soonThe endpoint, the records it serves, and a repository harvesting them.
Fix it: The errors OJS servers show, reproduced and fixed.
- 11“The directory specified for uploaded files does not exist or is not writable” Coming soonThe installer’s files-folder error: three causes and the fix.
- 12OJS email is not sent Coming soonWhere OJS writes why, each cause with its log line, and DMARC.
- 13A file upload fails Coming soonSize limits, Nginx’s 413, permissions and a full disk, each with its message.
- 14HTTP ERROR 500 or a blank page Coming soonThe one log line that names the cause, and six causes fixed.
- 15Reset the admin password Coming soonFrom the server, with no email, and why the old SHA1 answer fails.
~/courses/ollama-open-webui$ls lessons/
Self-hosted AI server course
Ollama runs AI language models on your own server, and Open WebUI gives people a chat page for them in the browser. This course takes you from a bare Ubuntu server with no graphics card to a private chat behind HTTPS, then on to backups, your own models and the API, from basic to advanced.
0 of 17 lessons ready
Basics: From a fresh server to a chat page with HTTPS. Start here if you have never run a model.
- 1Install Ollama as a service Coming soonThe service, a first small model, the settings drop-in, updates, and the speed on a CPU.
- 2The Ollama commands you use every day Coming soonPull, run, list, show, stop and remove models, with what each one prints.
- 3Choose a model that fits your server Coming soonMemory, disk and words per second of several models, measured on the same CPU server.
- 4Open WebUI behind Nginx with HTTPS Coming soonDocker Compose, a certificate, the WebSocket headers, the 60-second timeout and sign-in.
Everyday use: Let other people in, and get better answers.
- 5Users, roles and sign-up in Open WebUI Coming soonWho may create an account, who approves it, and which models each person sees.
- 6Make your own model with a Modelfile Coming soonA system prompt, a longer context, and what the longer context costs in memory.
- 7Ask questions about your documents Coming soonUpload files to Open WebUI, what it stores, and how well a small model answers from them.
Safe and maintained: What a server that people depend on needs.
- 8Keep the Ollama API off the internet Coming soonPort 11434 closed, an SSH tunnel, or HTTPS with a key for other programs.
- 9Free the disk space models use Coming soonWhere the models are, removing them, and moving the folder to another disk.
- 10Back up and restore Open WebUI Coming soonChats, accounts and settings, restored on an empty server.
- 11Update Open WebUI and Ollama Coming soonA safe order, a check after it, and the way back.
Advanced: Build on it, and make it serve more people.
- 12Call Ollama from your own scripts Coming soonThe API with curl and Python: one answer, a stream, and JSON you can use in a program.
- 13Several people at once: parallel requests and the queue Coming soonWhat OLLAMA_NUM_PARALLEL, OLLAMA_MAX_QUEUE and OLLAMA_KEEP_ALIVE change, measured.
- 14Use your own model in n8n workflows Coming soonn8n in Docker reaching Ollama on the same server, and a workflow that answers with it.
Fix it: The errors people meet, each reproduced on a test server and fixed.
- 15“could not connect to ollama server” Coming soonFour commands that find the cause, and the fix for each one.
- 16Open WebUI could not connect to Ollama Coming soonFive causes in order, each with its log line, when Open WebUI runs in Docker.
- 17“model requires more system memory” Coming soonWhy a model that fits on disk does not load, and what to change.
~/courses/n8n$ls lessons/
n8n server course
n8n connects programs to each other and runs the steps between them by itself. This course takes you from a bare Ubuntu server to an n8n you can back up, update and grow with workers, from basic to advanced.
0 of 8 lessons ready
Basics: From a fresh server to your own n8n.
- 1Install n8n with Docker Compose Coming soonPostgreSQL, a task runner, secrets you never type, and a workflow run as the proof.
- 2n8n behind Nginx with HTTPS Coming soonA certificate, the public address in webhooks, and live updates in the editor.
- 3Send n8n email through SMTP Coming soonInvitations and password resets that arrive.
Safe and maintained: Before you depend on it.
- 4Back up and restore n8n Coming soonThe database, the data volume and the encryption key, restored after losing everything.
- 5Update n8n Coming soonOne line to change, what the database migration does, and the way back.
- 6Stop old executions from filling the disk Coming soonWhat n8n keeps, for how long, and the space it gives back.
Advanced: When one process is not enough.
- 7Queue mode with Redis and workers Coming soonTurn an existing n8n into a main process and two workers, measured before and after, and the way back.
Fix it: The errors people meet, each reproduced on a test server and fixed.
- 8“Your n8n server is configured to use a secure cookie” Coming soonWhy the sign-in page refuses plain http, and the safe ways round it.
~/courses/deploy-docker$ls lessons/
Deploy your project with Docker
A three-tier application has a front (Nginx), the app itself, and a database, each in its own container. This course takes your project from source code to a server where only HTTPS is open, one tested lesson at a time.
5 of 11 lessons ready
Before you start: Docker and Compose on a fresh server.
- 1How to install Docker on Ubuntu 26.04 and 24.04Docker Engine from Docker’s own repository, and a first container.
- 2Docker Compose on Ubuntu 26.04 and 24.04: run an app with a databaseTwo containers, one file, and data that survives a restart.
Your project in containers: From source code to three tiers on one server.
- 3Put your app in an image Coming soonA Dockerfile with a multi-stage build and a non-root user, and the image size before and after.
- 4Deploy a three-tier app with Compose Coming soonNginx, the app and PostgreSQL on private networks, health checks, secrets kept out of the file.
- 5Add HTTPS in front of the stack Coming soonA free certificate in Nginx, and the renewal tested.
- 6Docker ports and the firewall Coming soonWhy a published port ignores UFW, and how to close it.
Run it for years: Updates, rollback and backups.
- 7Update the app and roll back Coming soonTagged images, a new version live, and the old one back in one command.
- 8Back up and restore the database Coming soonA nightly dump from the container, restored on a new server.
Fix it: The errors people meet, each reproduced on a test server and fixed.
- 9Docker container keeps restarting: how to stop the loop and fix itRead why it stops, and break the loop.
- 10Docker logs filling the disk: limit container log sizeFind the big log and cap the size for every container.
- 11Fix “permission denied” on /var/run/docker.sockThe group that fixes it, and why it is as strong as root.
Lessons marked “Coming soon” are not published yet. Each is run on a fresh Ubuntu 26.04 server and a fresh 24.04 server first. How we test