Local LLM Setup on Linux: From Environment to Running

๐Ÿ“˜ Tutorials 2026-07-19 1 min read

Local LLM Setup on Linux: From Environment to Running

💡 What You Will Learn

Local LLM Setup on Linux: From Environment to Running

📜 Table of Contents

nvidia-smi  # 
# GPU 0: RTX 4090 (24GB) | Driver: 550.120 | CUDA: 12.4

nvcc --version  # CUDA
free -h         # 
nproc           # CPU

Step 2InstallationOllama

curl -fsSL https://ollama.com/install.sh | sh
ollama --version
# ollama version 0.5.3

ollama run qwen2.5:7b
# systemdConfiguration
sudo tee /etc/systemd/system/ollama.service << 'EOF'
[Unit]
Description=Ollama Service
After=network-online.target

[Service]
ExecStart=/usr/local/bin/ollama serve
User=ollama
Restart=always
RestartSec=3
[Install]
WantedBy=default.target
EOF

sudo systemctl daemon-reload
sudo systemctl enable --now ollama

ConfigurationComparison

|:----|:---:|:--------|:-------:|:-----:| | RTX 3060 12GB | 32GB | 7B Q4 | ~40 t/s || | RTX 3090 24GB | 64GB | 14B Q4 | ~60 t/s || | RTX 4090 24GB | 64GB | 30B Q4 | ~100 t/s ||

Related Articles
2026-07-26
AI Code Review Agents for PRs
2026-07-16
AI Agent CORS Setup 2026
2026-07-17
AI Agent Canary Deployment 2026

Written by our editorial team; tools listed here are tested or verified against public sources. Links point to official sites or GitHub repos for reference only โ€” no paid placements.

๐Ÿ’ฌ Comments (0)

No comments yet. Be the first!

Login to comment