Find a command/
中文
☰

01 / SERVER ESSENTIALS

Start with a useful foundation.

For a fresh Debian, Ubuntu, RHEL-family, or Alpine VPS. Eight essentials by default. Opt in to a sudo user, key-only SSH, a firewall, security updates, swap, and a time zone, each with lockout checks.

New machine, not reinstalled yet? Consider reinstalling a clean official system first. Coming from the reinstall page selects the system for you.

01 Choose your tools→02 Review the commands→03 Run in your own terminal

Your essentials

Requires root or a user with sudo. Package names are translated for the system you choose.

Server system

Debian 12/13, Ubuntu 22.04–26.04; Rocky / AlmaLinux 8–10, CentOS Stream 9/10, RHEL (dnf, some tools from EPEL); Alpine 3.x (apk + OpenRC). The script checks the host first and stops on a mismatch.

Package manager (Debian / Ubuntu only)

apt ships with your system. Choosing nala installs it through apt first. RHEL-family systems use dnf; Alpine uses apk.

Base
Session and sync
Files and JSON
Network
Meters
Login & security (recommended, opt in)
Optional system settings
Output & execution identity
How to use it

Paste mode stops on errors inside a subshell, preserving your SSH session. Script mode is for reviewing and saving a file.

Run as

A fresh reinstall is root, so the default commands have no sudo. Choose sudo when you are a normal user and sudo is already installed.

YOUR SETUP / GENERATED COMMANDS

bootstrap.txt
(set -eu. /etc/os-releasecase "$ID" in debian|ubuntu) ;; *) echo "This script is for Debian or Ubuntu." >&2; exit 1 ;; esacapt-get updateapt-get install -y curl ca-certificates gnupg git tmux rsync jq htop)

Generated here, executed by you. Check the target host, take a snapshot, and run one block at a time.

Ready? Find your next tool →