Categories
Virtualization

Proxmox PVE – first steps

Install updates See here. -> “Updates” -> “Repositories“ Disable these repositories: Instead add the PVE “No-Subscription” version, if needed also add “Ceph Squid No-Subscription“. Go back to “Updates” and press “Refresh“, then “>_ Upgrade“. Terminal will show – confirm updates when requested. When finished you may need to reboot the machine (press “Reboot” button in […]

Categories
IdP Keycloak Linux OIDC OpenID Connect SingleSignOn SSO Ubuntu

Adding keycloak OIDC client via CLI

First: Store credentials for future kcadm.sh calls: Now we can use kcadm.sh without entering passwords every time (at least for some time): Lessons learned For security reasons I had TOTP activated for my (master realm) admin account. When trying to add credentials for kcadm.sh usage I always got: So I had to dig a little […]

Categories
Linux Ubuntu

Basic litellm setup

Basic config file Install and create postgres database Install postgres, create litellm user and database: Problems while setting up postgres See bug report: In case you get some error on litellm startup mentioning “prisma generate” (path to schema.prisma may vary on your installation): Creating API keys Once a database is configured and working, creating API […]

Categories
Linux Ubuntu

Running multiple ollama instances on one machine

While ollama does handle multiple different LLMs quite nicely (loading/unloading on demand) there are situations where you may want to run multiple instances of the same model at the same time (e.g. to increase throughput). Here’s how you can do so with minimal changes to your zero effort ollama installation. Let’s assume you just did […]

Categories
Dovecot Mail Postfix

Things you might wanna know about Thunderbird

While trying to get OAUTH2 working with thunderbird, I tried and documented some things that may still be of interest (even if they didn’t give me the solution for my problem). If you’re only interested in the solution, you’d better look here. Otherwise keep reading 😉 Enforce auth type (thunderbird) So I tried to enforce […]

Categories
Artificial Intelligence Large Language Model (LLM) Programming python

How does MCP work?

In the last months MCP (Model Context Protocol) became one of the hot topics in the field of AI. While it is promoted for connecting tools/agents to LLM workflows there’s very little information about how things work on a technical basis. On most places So here’s my quest to answer those questions by writing a […]

Categories
Database Postgresql

JSON data in postgres

While playing around with open-webui I managed to mess up the configuration more than once. In some situations this even led to an unresponsive system with even the configuration pages (to revert the latest changes) was no longer accessible. So I went for the database (postgres in my case) to revert those settings only to […]

Categories
Filesystem Linux Microsoft Samba Ubuntu

Fun with Samba and group policies

Where (and why) it all began While trying to join an Ubuntu client to my Samba domain, I got this error that most likely prevented a successful login. From the sssd’s log files I got this as a first hint: So it looks like we got a problem with my Samba domain not serving GPO […]

Categories
Container Docker Linux Network Ubuntu

Docker network problem

While creating new docker instances I recently often got the following error message: In the beginning it helped to prune old network configs: But now I’m at a point where this does no longer help. Maybe the number of subnets is limited? So I currently got 33 subnets configured for docker … sounds close enough […]

Categories
Dovecot Linux Mail Postfix Ubuntu

OAuth2 for dovecot and postfix?

Currently I’m using Nextcloud with snappymail as mail client. While this works nicely, I do have a “comfort problem” since I switched my Nextcloud authentication to SAML/SSO: I can no longer use the Nextcloud credentials to log into my mail account (as Nextcloud does not know about my password when using SSO). There’s two things […]