NodexVPS
Deploy VPS
Back to All Guides
Getting Started13 min read•Updated 2026-11-09

CentOS Stream VPS Setup Guide

Set up CentOS Stream as a build and test server, and handle continuous updates without surprises.

CentOS Stream receives changes before they reach Red Hat Enterprise Linux. This guide treats it as what it is best at: a server for building and testing.

  • Works on: CentOS Stream 10 and 9
  • Recommended server: 2 GB of RAM, 4 GB or more for builds
  • Important: CentOS Stream 9 reaches end of life on May 31, 2027
1

Choose Stream 10 for anything lasting

Pick CentOS Stream at checkout. Version 10 is supported until May 2030. Use 9 only for short-term testing, because it reaches end of life in May 2027.

2

Log in and check your stream

Confirm the release after connecting.

ssh root@YOUR_SERVER_IP
cat /etc/centos-release
3

Review updates before applying

Updates arrive continuously here, so look at what is coming, especially on a server that other people depend on.

dnf check-update
dnf upgrade -y
4

Install a build environment

CRB and EPEL provide libraries and tools that many builds need, and the Development Tools group adds compilers.

dnf install dnf-plugins-core epel-release -y
dnf config-manager --set-enabled crb
dnf groupinstall "Development Tools" -y
5

Add a user for your work

Build as a normal user, and keep root for system changes.

useradd -m -G wheel deploy
passwd deploy

# on your own computer
ssh-copy-id deploy@YOUR_SERVER_IP
6

Protect SSH and open only what you need

Even a test server is on the public internet.

Test your key login in a second terminal first.

sudo tee /etc/ssh/sshd_config.d/10-hardening.conf > /dev/null <<'EOF'
PermitRootLogin no
PasswordAuthentication no
EOF
sudo sshd -t && sudo systemctl restart sshd

sudo dnf install firewalld -y
sudo systemctl enable --now firewalld
sudo firewall-cmd --permanent --add-service=ssh
sudo firewall-cmd --reload
7

Keep a way back

Because the base changes often, record what you had before larger updates.

dnf history
sudo dnf history info last
rpm -qa | sort > ~/packages-$(date +%F).txt
8

Compare against RHEL behaviour

If you ship software for Enterprise Linux, make the most of this server:

  1. Run your test suite after each significant update
  2. Report anything that breaks to the CentOS Stream project
  3. Keep a separate AlmaLinux or Rocky Linux server to represent what customers run today
  4. Plan your move off Stream 9 before May 2027

Get a server for this guide

CentOS Stream plans run everything in this guide, from $10.99/mo.

See CentOS Stream plans

CentOS Stream VPS Setup Guide: Frequently Asked Questions

Quick answers to common questions.

Should I choose CentOS Stream 10 or 9 for a new server?

Choose CentOS Stream 10 for anything that needs to last, because it is supported until May 2030. Use CentOS Stream 9 only for short-term testing, since it reaches end of life on May 31, 2027. Both are available at checkout and work with this guide.

How do I create a sudo user on CentOS Stream?

Run useradd -m -G wheel deploy to create the user in the wheel group, which gives sudo access, then set a password with passwd deploy. From your own computer, copy your SSH key with ssh-copy-id. This CentOS Stream guide builds software as that normal user and keeps root for system changes, so a mistake in a build script cannot damage the whole server.

How do I review updates before applying them on CentOS Stream?

Run dnf check-update to see what is coming before you run dnf upgrade -y. Updates arrive continuously on CentOS Stream, so a quick look matters most on a server other people depend on. Before larger updates, also save your package list so you know what you had.

How do I see what changed after a CentOS Stream update?

Run dnf history to list every package transaction, and sudo dnf history info last for the details of the most recent one. Because the CentOS Stream base changes often, also save a sorted package list with rpm -qa before larger updates, for example to a dated file in your home folder. That gives you a record to compare against if something breaks.

Why use CentOS Stream to test software for RHEL?

CentOS Stream receives changes before they reach Red Hat Enterprise Linux, so it shows how your software will behave on upcoming RHEL releases. Run your test suite after each significant update and report anything that breaks to the CentOS Stream project. Keep a separate AlmaLinux or Rocky Linux server to represent what customers run today.

How do I secure SSH and the firewall on CentOS Stream?

Put PermitRootLogin no and PasswordAuthentication no in a file under /etc/ssh/sshd_config.d/, check it with sshd -t and restart sshd, after confirming key login in a second terminal. Then install and start firewalld and allow only ssh until you need more. Even a CentOS Stream test server is on the public internet, so do both.

How much RAM does a CentOS Stream build server need?

This CentOS Stream guide recommends 2 GB of RAM for general use and 4 GB or more for builds. Compilers and test suites use a lot of memory, so pick a larger plan if you build big projects. The guide works on CentOS Stream 10 and 9.

Start Your NodexVPS Today

Save 50% with yearly billing.