Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto
Cloud and hosting

What to install on a new VPS: a baseline, then the workload

What every new VPS needs (updates, SSH keys, firewall, monitoring, backups), then what to add for websites, apps, game servers, AI, remote desktops and CI.

CloudSat teamNovember 18, 20266 min read
Abstract illustration of an empty server frame being filled layer by layer with small blocks, from a solid base upward
On this pageThe baseline for every server

A new VPS arrives as a minimal operating system, and the temptation is to install everything a "must-have tools" list mentions. Resist it. Every package is something to patch, configure and understand when it breaks. A better approach has two layers: a small baseline that every server gets in its first hour, then only the stack its actual job requires. The examples use Debian and Ubuntu commands, with RHEL-family equivalents where they differ.

The baseline for every server

Updates that install themselves

Bring the system up to date, then make security updates automatic:

sudo apt update && sudo apt full-upgrade -y
sudo apt install -y unattended-upgrades
sudo dpkg-reconfigure -plow unattended-upgrades

On AlmaLinux or Rocky Linux, install dnf-automatic, set apply_updates = yes in /etc/dnf/automatic.conf, and enable the timer with sudo systemctl enable --now dnf-automatic.timer. Kernel updates still need a reboot to take effect, so plan one every few weeks.

SSH keys and a firewall

Log in with a key, then switch password logins off in a drop-in file so package updates never overwrite your change:

echo 'PasswordAuthentication no' | sudo tee /etc/ssh/sshd_config.d/10-no-passwords.conf
sudo sshd -t && sudo systemctl reload ssh

On the RHEL family the service is called sshd. Keep your current session open and test a new login before you close it. Then allow only the ports you use:

sudo apt install -y ufw
sudo ufw allow OpenSSH
sudo ufw enable

The RHEL family ships firewalld; open services with sudo firewall-cmd --permanent --add-service=https followed by sudo firewall-cmd --reload. With key-only SSH, brute-force attempts are noise rather than danger, but fail2ban still trims the logs. Check that its SSH jail is running with sudo fail2ban-client status sshd.

Time, swap and everyday tools

timedatectl should report System clock synchronized: yes; TLS, logs and two-factor codes all depend on it. Small plans benefit from a swap file, which turns an out-of-memory crash into a slowdown:

sudo dd if=/dev/zero of=/swapfile bs=1M count=2048
sudo chmod 600 /swapfile && sudo mkswap /swapfile && sudo swapon /swapfile
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
sudo apt install -y htop tmux curl git ncdu jq

htop shows what is using CPU and memory, ncdu finds what is filling the disk, and tmux keeps long jobs alive when your connection drops (see keeping processes running after logout).

Monitoring and backups

Decide now how you will learn that the server is down, and how you would rebuild it:

  • An outside check. An uptime monitor running somewhere else, such as Uptime Kuma on a second machine, pings your site or port and alerts you. A server cannot report its own outage.
  • Resource graphs. Netdata or a Prometheus node exporter shows CPU, memory, disk and network history, which turns "it was slow yesterday" into a cause.
  • Backups off the server. Snapshots for quick rollbacks and an encrypted off-site copy for disasters. The backup and restore plan walks through it with restic.

CloudSat's deploy wizard accepts a startup script, so this whole baseline can run on first boot instead of by hand (startup scripts).

Then add only what the job needs

Workload Core software Worth knowing
Website or blog Nginx or Caddy, PHP-FPM, MariaDB or PostgreSQL, or WordPress on top Caddy obtains HTTPS certificates on its own; with Nginx, add Certbot
Web app (Node.js, Python, Go) The runtime from its official repository, a reverse proxy, a systemd unit Run the app as its own unprivileged user
Self-hosted team tools Docker Engine with Compose, plus a reverse proxy One Compose file per app keeps upgrades and backups simple
Game server The game's dedicated server, often installed with SteamCMD; a panel such as Pterodactyl for several games Many game servers lean on single-core speed more than core count
Local AI models NVIDIA driver and CUDA, then Ollama or vLLM, with Open WebUI for a chat interface GPU memory decides which models fit
Remote desktop xrdp with a light desktop such as Xfce on Linux, or a Windows server over RDP Never leave RDP open to the whole internet with a weak password
CI and builds A Git server such as Gitea or Forgejo, a CI runner, Docker Build caches grow quietly; prune them on a schedule
Bots and automation A Python or Node.js runtime, systemd timers, or n8n for visual workflows Run bots as services, not in a forgotten terminal
Trading terminals The platform your broker supports, such as MetaTrader 5, on a Windows server Choose a region close to the broker's servers
Media server Jellyfin with enough storage for the library Transcoding is CPU or GPU heavy; direct play is not

Most of these are ready-made on CloudSat, where 395 one-click apps install the stack on a fresh server (browse the apps).

Windows servers: a shorter list

A Windows VPS needs a different baseline. Set a schedule for Windows Update rather than leaving restarts to chance (controlling Windows Update). Microsoft Defender Antivirus is built into Windows Server, so keep it on and up to date instead of adding a second antivirus. Lock down Remote Desktop: Network Level Authentication on, long unique passwords, an account lockout policy, and port 3389 restricted to known IP addresses at the firewall. Add PowerShell 7 if you script a lot, and a backup tool that leaves the server, such as Windows Server Backup to another machine or restic.

What to leave out

  • A full desktop environment on a small Linux server. It eats memory and adds hundreds of packages to patch. Use a light desktop only when remote GUI access is the point.
  • Two control panels on one server. They fight over web, mail and DNS configuration. Pick one, or none.
  • Install scripts piped straight into a root shell without reading them first.
  • Databases listening on a public IP. Bind them to 127.0.0.1 or a private network, and connect through an SSH tunnel when you need remote access.
  • "Optimization" scripts that disable security features or SELinux to make problems disappear.
  • Every monitoring agent at once. One metrics tool and one outside uptime check beat five dashboards nobody reads.

FAQ

Do I need a control panel?

Only if you want a web interface for jobs you would otherwise do over SSH. Webmin is free and general-purpose (installing and locking down Webmin); commercial hosting panels make sense when you host many sites for other people.

Docker or native packages?

Docker suits a server running several self-hosted apps, because each one carries its own dependencies and upgrades independently. Native packages suit one or two long-lived services, such as a database or a web server, that you want managed by the system's updates. Avoid running two copies of the same service, one in each world.

How big does the server need to be for the baseline?

The baseline itself is light and fits on the smallest plans. The workload decides the size: a database, a game world or an AI model sets the memory you need, and the baseline just rides along.

Run it on CloudSat. Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. See plans or deploy a server.