Video coming soon…
🤖 Setup llama.cpp — Lightweight LLM Inference Server
Deploy llama.cpp server on Ubuntu with Docker — run GGUF language models locally with an OpenAI-compatible API, efficient enough to work on CPU, on port 8283.
⚠️ This script is provided for demo and testing purposes only. Not intended for production use.
📦 Resources & Setup Scripts
Grab the automated bash script from GitHub to follow along with the video.
Quick Install:
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/ai/llamacpp/llamacpp-ubuntu.sh
chmod +x llamacpp-ubuntu.sh
./llamacpp-ubuntu.sh
Tutorial Steps
1 Download the Script
wget https://raw.githubusercontent.com/mhmdali94/Docker/main/ai/llamacpp/llamacpp-ubuntu.sh
2 Make it Executable
chmod +x llamacpp-ubuntu.sh
3 Run the Installer
./llamacpp-ubuntu.sh
4 Add a GGUF Model and Restart
docker restart llamacpp
Ports Used
| Port | Purpose |
|---|---|
| 8283 | OpenAI-compatible API (mapped from container port 8080) |