When a container fails or gets stuck, it is better to check its logs first and restart only the affected service, not the whole application.
Continue reading “View logs and restart a service with Docker Compose”
When a container fails or gets stuck, it is better to check its logs first and restart only the affected service, not the whole application.
Continue reading “View logs and restart a service with Docker Compose”
Ollama lets you run local AI models on the machine itself or expose its API so other computers on the network can use it.
Continue reading “Install Ollama on Ubuntu and allow connections from another machine”
To use an NVIDIA GPU inside a VM, Proxmox must be able to pass the whole card through to the guest by using PCI passthrough.
Continue reading “Pass an NVIDIA GPU to a VM in Proxmox 9 for local AI”
If you are going to run AI models locally on Ubuntu 22.04, 24.04 or 26.04, the first step is making sure the system detects the NVIDIA card correctly.
Continue reading “Prepare Ubuntu 22.04, 24.04 and 26.04 with NVIDIA for local AI”
How to add a temporary static route with ip route and a persistent route with netplan in Ubuntu 18.04, 20.04, 22.04 and 24.04.
In this post we see how to add a static route in Ubuntu using ip route and netplan.
The ip route command is useful for adding a temporary route. To keep the route configured persistently in Ubuntu 18.04, 20.04, 22.04 and 24.04, we will use netplan.
In this short post, we are going to learn how to list all columns of every table in a MySQL database.
We want to get the name of the column, the name of the table it belongs to and the type of date for that column. Continue reading “Listing all columns from a MySQL database”