A Server-Admin Agent That Runs Shell Safely
Build a server-admin agent that never gets a raw shell: allowlisted binaries, a cwd jail, timeouts, and no pipes, on a Linux VPS in Lucknow.
NetBay journal
Practical guides for Linux, containers, CI/CD, self-hosting, and running VPS infrastructure from Netbay Engineering.
499 articles · 24 topics
Build a server-admin agent that never gets a raw shell: allowlisted binaries, a cwd jail, timeouts, and no pipes, on a Linux VPS in Lucknow.
Probe llama-server with /health, stop nginx from sending new work, and SIGTERM the GGUF process only after in-flight CPU generates finish safely.
Run checks concurrently and use build matrices to test many configurations without exploding your pipeline.
Snapshot vector indexes, prompt packs, and router YAML on a Lucknow VPS, skip re-downloadable weights, and rehearse a restore before the disk fills.
Void with runit and Artix with OpenRC or runit give enthusiasts systemd-free control of a hobby server. Compare init systems, package managers, and cadence.
Scan dependencies for known vulnerabilities in every build and gate on blocking findings to keep supply-chain risk out of production.
Defend SQLite or Postgres with host count, writer count, and ops load, not fashion, so a VPS app does not outgrow the wrong engine by surprise.
Harden a Linux kernel against network abuse and privilege escalation by tuning the sysctl knobs that matter most for a public-facing internet VPS.
Have systemd hold your ports open: start listeners instantly, spawn services on first connection, and drop privileges without touching the socket.
A restore drill you run to a clean directory, against a real copy, catches corruption and missing dependencies before production depends on them.
Use ss to inspect sockets and connections and ethtool to read NIC statistics for diagnosing Linux server networking problems.
Put token buckets and nginx limit_req in front of a local CPU inference API so one client cannot OOM the box or stall every other RAG query.