ollama

All posts tagged ollama by Linux Bash
  • Posted on
    Featured Image
    Learn to build a fully local, private RAG pipeline on Linux using only Bash, curl, jq, and Ollama: install prerequisites, index your docs by chunking and embedding with nomic-embed-text, retrieve top chunks via cosine similarity in jq, and query a local LLM (e.g., llama3.1). Includes setup commands, example scripts, tips, and use cases—no Python, no cloud.
  • Posted on
    Featured Image
    Guide to pairing the Model Context Protocol (MCP) with Ollama to run fast, private local LLMs that access files, terminals, and services with consent and auditability. Covers installing Ollama, building a tiny MCP bridge, configuring an MCP client, practical Linux workflows (doc Q&A, coding, air-gapped, batch), troubleshooting, and next steps to extend with more tools and models.
  • Posted on
    Featured Image
    Hands-on guide to enable fast, private local LLMs with Ollama on Linux: install via apt/dnf/zypper, confirm NVIDIA or AMD/ROCm drivers (nvidia-smi/rocminfo), pull and run models, watch GPU activity, tune gpu_layers and num_ctx to fit VRAM, optionally run in Docker (NVIDIA --gpus all, AMD /dev/kfd,/dev/dri), and apply env vars and troubleshooting to avoid OOM, CPU fallback, and container GPU access issues.
  • Posted on
    Featured Image
    Build a fast, private, reproducible AI documentation workflow with Ollama and Bash: install tools, run models locally, and use four recipes to auto-generate READMEs, 1-page CLI cheat sheets, and Bash API references, then codify it in Make for CI. Covers model choice, low temperatures for consistency, saving prompts in scripts, trimming inputs, and optional remote hosts so teams ship clear docs without sending code off-box.
  • Posted on
    Featured Image
    Practical guide to speed up Ollama on Linux: store models on NVMe and keep them hot (OLLAMA_KEEP_ALIVE, OLLAMA_MAX_LOADED_MODELS), pick sensible quantization (q4_K_M/q5_1/q8_0/f16), offload layers to GPU and tune num_gpu_layers, num_batch, num_ctx, set sane concurrency and OLLAMA_MAX_QUEUE, warm favorite models, and benchmark tokens/sec via the HTTP API. Yields snappier first tokens and higher throughput.
  • Posted on
    Featured Image
    Step-by-step guide to build a local, privacy-first AI CLI agent on Linux with Ollama and Bash. Learn why local agents matter, install Ollama on major distros or Docker, pull models, and create a Bash agent that calls safe, read-only tools (list_dir, read_file, whitelisted shell) via the chat API using curl/jq. Includes runnable script, examples, performance/security knobs, troubleshooting, and ideas for extensions and UIs.
  • Posted on
    Featured Image
    A practical guide to running private, offline AI on Linux with Ollama: install on Debian/Ubuntu, Fedora, or openSUSE; pull and chat with models like llama3; integrate via Bash pipelines; use the local HTTP API for generation and embeddings; safely expose on LAN; customize with a Modelfile; manage GPUs and storage; and apply it to log triage, coding help, documentation, and local RAG—your AI, on your machine.
  • Posted on
    Featured Image
    A practical Linux guide to running local LLMs with Ollama: why it’s private, fast, and scriptable; how to install on Debian/Ubuntu, Fedora/RHEL, and openSUSE (or Docker); run and manage models like Llama 3; call via Bash and the HTTP API; configure systemd, ports, and storage; use CPU/GPU; build a custom model with a Modelfile; and troubleshoot performance, disk space, and networking.
  • Posted on
    Featured Image
    Run powerful local LLMs from your terminal with Ollama on Linux: this hands-on guide explains why local wins (privacy, cost, speed), shows installation and required CLI tools, and builds four pure-Bash projects: a one-liner assistant, an AI conventional commit generator, a mini RAG for your docs via embeddings, and a cron-ready log summarizer, with scripts, model picks (llama3, CodeLlama, nomic-embed-text), and troubleshooting tips.
  • Posted on
    Featured Image
    Hands-on guide to running local LLMs with Ollama on Linux: why it is private, fast, and cost-controlled; step-by-step install for Debian/Ubuntu, Fedora/RHEL, and openSUSE; pull and manage models (e.g., llama3); chat, one-off prompts, and pipe shell data; practical Bash automations; local HTTP API with curl; troubleshooting for PATH, service, and GPU; and next steps to explore more models and integrate into workflows.
  • Posted on
    Featured Image
    Guide shows Linux users how to run private, token-free AI assistants locally with Ollama and Bash: install via script or packages, talk to models from stdin or the REST API, build a reusable aichat CLI with chat history, define consistent personas with Modelfiles, integrate AI into logs/diffs/docs workflows, manage models and performance, and troubleshoot common issues - turning your terminal into a secure AI workstation.
  • Posted on
    Featured Image
    Practical Linux guide to speed up Ollama: explains why tuning matters and gives copy-paste steps to boost tokens/sec and cut latency - pick the right model/quant, enable CUDA/ROCm GPU offload and adjust num_gpu, set threads and context (num_thread/num_ctx), keep models warm, store GGUFs on fast NVMe via OLLAMA_MODELS, benchmark with curl+jq and monitor with htop/nvtop - plus quick CPU/GPU recipes and common pitfalls.
  • Posted on
    Featured Image
    A practical guide to using Ollama for local LLMs in Bash: install and verify the service, call models via CLI or curl, and adopt actionable patterns—helper prompt function, log summarizer, Conventional Commit generator, strict JSON with jq, and streaming tokens. Covers tuning (options, timeouts), model/version management, privacy and performance best practices, troubleshooting, and how to combine Unix tools with AI for fast, reproducible automation.
  • Posted on
    Featured Image
    Hands-on guide to a private, low-latency, all-Linux AI homelab with Ollama: install the daemon, pull/run local LLMs via CLI and HTTP API, optionally accelerate with NVIDIA GPUs, and script Bash automations for logs, man pages, and code; includes copy-paste setup for major distros, secure LAN sharing, maintenance tips, and real-world use cases to cut costs and keep data on‑prem.
  • Posted on
    Featured Image
    Practical guide for Linux engineers to run fast, private, scriptable AI with Ollama: why local models win (privacy, latency, cost), how to install and pull Llama 3, call via CLI/HTTP, and pipe into Bash for log triage, config review, and code assist; build an ops-tuned Modelfile, run air-gapped with managed storage, tune CPU/GPU and determinism, and follow a 20-minute rollout plan.
  • Posted on
    Featured Image
    Hands-on guide to running AI locally on Linux with Ollama: benefits (privacy, cost, low latency), quick installs (one-liner, apt/dnf/zypper), pull/run Llama 3 or Phi‑3, Bash and REST API commands for chat, summaries, and automation, practical CLI workflows, model management and performance tuning (GPU, options), troubleshooting, and a call to integrate local LLMs into everyday tooling.