VPS Init logo

VPS Init

Bootstrap script generator by

royz.dev

GitHub

Configure your server

Toggle the features you need. A ready-to-review Bash script updates live on the right.

System

Initial package update, hostname, and timezone

Create Sudo User

A non-root user with sudo privileges - required

One public key per line. Supports ssh-rsa, ssh-ed25519, ecdsa-sha2-nistp*, ssh-dss

SSH Hardening

Restrict SSH access to reduce attack surface

Default is 22

Security

Firewall, intrusion prevention, and automatic updates

Add ports to open (e.g. 8080/tcp, 5432/tcp)

System Tuning

Swap memory and kernel tweaks

Swap size

Baseline Utilities

curl, git, htop, tmux, jq, ripgrep, and more

Installs: curl wget git vim nano htop btop tmux screen build-essential jq ripgrep unzip zip net-tools dnsutils ncdu tree mtr

Node.js

Install via fnm (Fast Node Manager)

Version

Python

Install uv - the fast Python package and project manager

Docker

Install Docker Engine from the official repository

Reverse Proxy

Caddy auto-manages TLS; Nginx gives manual control

Choose reverse proxy

Tailscale

Zero-config VPN for secure private networking

Shell

Zsh, Oh My Zsh, autosuggestions, and zoxide

ZSH_THEME in .zshrc

Doppler

Secrets manager CLI for environment variable management