<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>rajib.uk</title>
    <link>https://rajib.uk/</link>
    <description>Practical write-ups on self-hosted LLMs, RAG, AI agents, custom Linux ISO builds and DevSecOps by Senior Software Engineer Muhammad Rajib Hawlader.</description>
    <language>en</language>
    <item>
      <title>Serving LLMs in production with vLLM: a practical guide</title>
      <link>https://rajib.uk/blog/vllm-production-deployment/</link>
      <guid>https://rajib.uk/blog/vllm-production-deployment/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Deploy vLLM as an OpenAI-compatible server: Docker setup, the flags that control memory and concurrency, metrics to watch and mistakes to avoid.</description>
    </item>
    <item>
      <title>Writing systemd services: unit files, restarts and sandboxing</title>
      <link>https://rajib.uk/blog/systemd-service-units-guide/</link>
      <guid>https://rajib.uk/blog/systemd-service-units-guide/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Write a systemd service unit for your own program: service types, restart policy, dependencies, credentials, sandboxing options and debugging.</description>
    </item>
    <item>
      <title>How this site is built: a static Next.js blog with Markdown</title>
      <link>https://rajib.uk/blog/static-nextjs-blog-with-markdown/</link>
      <guid>https://rajib.uk/blog/static-nextjs-blog-with-markdown/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>The design of this site: Next.js static export, Markdown articles rendered at build time, a flash-free theme switch and build checks for thin pages.</description>
    </item>
    <item>
      <title>SSH hardening: keys, sshd_config and fail2ban done properly</title>
      <link>https://rajib.uk/blog/ssh-hardening-guide/</link>
      <guid>https://rajib.uk/blog/ssh-hardening-guide/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Set up SSH keys, harden sshd_config with a drop-in file, restrict who can log in and add fail2ban, with checks that prevent locking yourself out.</description>
    </item>
    <item>
      <title>Securing a self-hosted LLM API: auth, TLS and rate limits</title>
      <link>https://rajib.uk/blog/secure-self-hosted-llm-api/</link>
      <guid>https://rajib.uk/blog/secure-self-hosted-llm-api/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Protect a self-hosted LLM endpoint in layers: private binding, an nginx reverse proxy with TLS, per-client API keys, route allowlists and rate limits.</description>
    </item>
    <item>
      <title>Secrets management for small teams: from .env files to a vault</title>
      <link>https://rajib.uk/blog/secrets-management-guide/</link>
      <guid>https://rajib.uk/blog/secrets-management-guide/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>A staged path for handling passwords and API keys: stop leaks, encrypt secrets in Git with SOPS and age, deliver them safely, and know when a vault is worth it.</description>
    </item>
    <item>
      <title>How to run an LLM locally with Ollama: a complete setup guide</title>
      <link>https://rajib.uk/blog/run-llm-locally-with-ollama/</link>
      <guid>https://rajib.uk/blog/run-llm-locally-with-ollama/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Install Ollama on Linux, pull a model, call its API, tune context length and memory, run it as a hardened service and fix the usual problems.</description>
    </item>
    <item>
      <title>REST API design best practices: naming, errors and versioning</title>
      <link>https://rajib.uk/blog/rest-api-design-best-practices/</link>
      <guid>https://rajib.uk/blog/rest-api-design-best-practices/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Design an HTTP API that clients can rely on: resource naming, correct methods and status codes, a standard error format, pagination and safe versioning.</description>
    </item>
    <item>
      <title>RAG chunking strategies: how to split documents that retrieve well</title>
      <link>https://rajib.uk/blog/rag-chunking-strategies/</link>
      <guid>https://rajib.uk/blog/rag-chunking-strategies/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Compare chunking strategies for RAG, from fixed-size and recursive splitting to structure-aware and contextual chunks, and learn how to choose by measuring.</description>
    </item>
    <item>
      <title>Prompt injection: how it works and how to defend your app</title>
      <link>https://rajib.uk/blog/prompt-injection-defence/</link>
      <guid>https://rajib.uk/blog/prompt-injection-defence/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>How direct and indirect prompt injection work, why filters alone fail, and the layered controls that limit what an injected LLM app can do.</description>
    </item>
    <item>
      <title>Self-host a private ChatGPT with Open WebUI and Ollama</title>
      <link>https://rajib.uk/blog/open-webui-self-hosted-chatgpt/</link>
      <guid>https://rajib.uk/blog/open-webui-self-hosted-chatgpt/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Deploy Open WebUI with Ollama using Docker Compose, set up accounts, add documents, put it behind HTTPS and keep it backed up and updated.</description>
    </item>
    <item>
      <title>Ollama vs llama.cpp vs vLLM: which should you self-host with?</title>
      <link>https://rajib.uk/blog/ollama-vs-llama-cpp-vs-vllm/</link>
      <guid>https://rajib.uk/blog/ollama-vs-llama-cpp-vs-vllm/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>A practical comparison of Ollama, llama.cpp and vLLM: how each loads models, uses memory and handles concurrency, with commands to try all three.</description>
    </item>
    <item>
      <title>nftables for beginners: a practical Linux firewall guide</title>
      <link>https://rajib.uk/blog/nftables-firewall-guide/</link>
      <guid>https://rajib.uk/blog/nftables-firewall-guide/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Build a default-deny nftables firewall for a Linux server: tables, chains, sets, rate limits, safe testing over SSH and making rules persistent.</description>
    </item>
    <item>
      <title>Model Context Protocol (MCP) explained with a working server</title>
      <link>https://rajib.uk/blog/model-context-protocol-explained/</link>
      <guid>https://rajib.uk/blog/model-context-protocol-explained/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>How MCP connects AI applications to tools and data: the architecture, the messages on the wire, and a Python server you can run and test.</description>
    </item>
    <item>
      <title>One API for every model: setting up a LiteLLM gateway</title>
      <link>https://rajib.uk/blog/litellm-gateway-self-hosted/</link>
      <guid>https://rajib.uk/blog/litellm-gateway-self-hosted/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Set up a LiteLLM proxy in front of vLLM, Ollama and hosted models: config file, virtual keys, per-key limits, load balancing and fallbacks.</description>
    </item>
    <item>
      <title>Linux server hardening: a practical checklist with commands</title>
      <link>https://rajib.uk/blog/linux-server-hardening-checklist/</link>
      <guid>https://rajib.uk/blog/linux-server-hardening-checklist/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>A step-by-step hardening checklist for Debian, Ubuntu, RHEL and Rocky servers: updates, accounts, SSH, firewall, services, sysctl and auditing.</description>
    </item>
    <item>
      <title>Linux performance troubleshooting: what to check first</title>
      <link>https://rajib.uk/blog/linux-performance-troubleshooting/</link>
      <guid>https://rajib.uk/blog/linux-performance-troubleshooting/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>A repeatable first-ten-minutes routine for a slow Linux server: load, CPU, memory, disk and network checks, and how to read what the tools print.</description>
    </item>
    <item>
      <title>Hybrid search and reranking: better retrieval for RAG</title>
      <link>https://rajib.uk/blog/hybrid-search-and-reranking/</link>
      <guid>https://rajib.uk/blog/hybrid-search-and-reranking/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Combine keyword and vector search with reciprocal rank fusion, then rerank with a cross-encoder, using PostgreSQL, Qdrant and Python examples.</description>
    </item>
    <item>
      <title>Hardware for local LLMs: GPU, VRAM and RAM explained</title>
      <link>https://rajib.uk/blog/hardware-for-local-llms/</link>
      <guid>https://rajib.uk/blog/hardware-for-local-llms/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>How to size hardware for local LLMs: estimate memory from parameter count and quantization, and decide between GPU, CPU and Apple Silicon.</description>
    </item>
    <item>
      <title>GGUF and quantization explained: choosing Q4, Q5 or Q8</title>
      <link>https://rajib.uk/blog/gguf-quantization-explained/</link>
      <guid>https://rajib.uk/blog/gguf-quantization-explained/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>What GGUF files are, how to read names like Q4_K_M and IQ3_M, how much memory each level needs, and how to pick or build the right quantization.</description>
    </item>
    <item>
      <title>How to evaluate a RAG system: metrics, test sets and tooling</title>
      <link>https://rajib.uk/blog/evaluate-rag-system/</link>
      <guid>https://rajib.uk/blog/evaluate-rag-system/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Build a test set, measure retrieval with recall and MRR, score answers for faithfulness with an LLM judge, and run it all as a regression check.</description>
    </item>
    <item>
      <title>Dockerfile best practices: smaller, faster, safer images</title>
      <link>https://rajib.uk/blog/dockerfile-best-practices-small-images/</link>
      <guid>https://rajib.uk/blog/dockerfile-best-practices-small-images/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Write Dockerfiles that build quickly and ship small images: layer ordering, build cache, multi-stage builds, base image choice and build secrets.</description>
    </item>
    <item>
      <title>Docker security best practices: hardening containers properly</title>
      <link>https://rajib.uk/blog/docker-security-best-practices/</link>
      <guid>https://rajib.uk/blog/docker-security-best-practices/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Harden Docker at runtime: non-root users, dropped capabilities, read-only filesystems, resource limits, safer networking and daemon settings, with checks.</description>
    </item>
    <item>
      <title>Docker Compose in production: what to change before you deploy</title>
      <link>https://rajib.uk/blog/docker-compose-in-production/</link>
      <guid>https://rajib.uk/blog/docker-compose-in-production/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Turn a development Compose file into a production one: pinned images, restart policies, health checks, resource limits, log rotation, secrets and safe updates.</description>
    </item>
    <item>
      <title>A DevSecOps pipeline in GitHub Actions: test, scan, deploy</title>
      <link>https://rajib.uk/blog/devsecops-pipeline-github-actions/</link>
      <guid>https://rajib.uk/blog/devsecops-pipeline-github-actions/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Build a GitHub Actions pipeline that tests code, scans for secrets and vulnerabilities, builds and signs a container image, and deploys with approval.</description>
    </item>
    <item>
      <title>Deploy a static Next.js site to Cloudflare Pages, step by step</title>
      <link>https://rajib.uk/blog/deploy-nextjs-static-site-cloudflare-pages/</link>
      <guid>https://rajib.uk/blog/deploy-nextjs-static-site-cloudflare-pages/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Connect a Git repository to Cloudflare Pages, set the build for a Next.js static export, add a custom domain, headers and redirects, and fix failed builds.</description>
    </item>
    <item>
      <title>Container image scanning with Trivy: find and fix vulnerabilities</title>
      <link>https://rajib.uk/blog/container-image-scanning-trivy/</link>
      <guid>https://rajib.uk/blog/container-image-scanning-trivy/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Scan container images with Trivy, read the report, fix what matters, record accepted risks with expiry dates, and fail CI builds on fixable serious issues.</description>
    </item>
    <item>
      <title>pgvector vs Qdrant vs Chroma: choosing a vector database</title>
      <link>https://rajib.uk/blog/choosing-a-vector-database/</link>
      <guid>https://rajib.uk/blog/choosing-a-vector-database/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Compare pgvector, Qdrant and Chroma on indexing, filtering, operations and scale, with working setup commands and queries for each one.</description>
    </item>
    <item>
      <title>Build a RAG pipeline from scratch in Python, step by step</title>
      <link>https://rajib.uk/blog/build-rag-pipeline-from-scratch/</link>
      <guid>https://rajib.uk/blog/build-rag-pipeline-from-scratch/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Build retrieval-augmented generation in plain Python: load and chunk documents, embed them, search by similarity and generate answers that cite sources.</description>
    </item>
    <item>
      <title>How to build a custom Debian ISO with live-build</title>
      <link>https://rajib.uk/blog/build-custom-debian-iso/</link>
      <guid>https://rajib.uk/blog/build-custom-debian-iso/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Build a bootable, installable Debian ISO with live-build: configuration, package lists, files, hooks, the installer, testing in QEMU and rebuilds.</description>
    </item>
    <item>
      <title>Build an AI agent with tool calling from first principles</title>
      <link>https://rajib.uk/blog/build-ai-agent-with-tool-calling/</link>
      <guid>https://rajib.uk/blog/build-ai-agent-with-tool-calling/</guid>
      <pubDate>Sun, 15 Nov 2026 00:00:00 GMT</pubDate>
      <description>Write a working AI agent loop in plain Python: define tools, handle tool calls, feed results back and add the limits that keep it safe.</description>
    </item>
  </channel>
</rss>
