You just bought a cheap VPS Linux. You log in for the first time, and it’s a bare terminal with nothing installed. No panel. No guidance. Just a blinking cursor.
This is the moment most beginners get stuck. You might think you need to be a sysadmin to move forward. You don’t.
This checklist walks you through the exact steps to take your cheap VPS Linux from a blank slate to a secure, usable server. No fluff. No skipped steps.
Step 1: Choose the Right Linux Distribution for Your Needs
Your VPS provider offers a list of OS images. Pick one and stick with it. Do not overthink this.
- Ubuntu 22.04 LTS – Best for beginners. Largest community, most tutorials.
- Debian 11 – Stable, lightweight, slightly steeper learning curve.
- AlmaLinux or Rocky Linux – If you need RHEL compatibility. Not necessary for most first projects.
My recommendation: Choose Ubuntu 22.04 LTS. You will find a tutorial for almost anything you want to do.
Step 2: Connect via SSH (the Right Way)
You will receive an IP address and a root password from your provider. Do not log in as root yet.
Open your terminal (Linux/macOS) or use PowerShell (Windows). Run:
ssh root@your-server-ip
Enter the password when prompted. You are now in. This is your server’s command line.
Step 3: Update Everything Immediately
A fresh install includes outdated packages. Run these two commands one after the other:
apt update && apt upgrade -y
This updates the package list and upgrades all installed software. It takes a few minutes. Do not skip it.
Step 4: Create a Non-Root User with Sudo Access
Logging in as root is dangerous. One wrong command can break your entire system. Create a regular user instead.
adduser yourusername
Follow the prompts to set a password. Then give this user sudo privileges:
usermod -aG sudo yourusername
Now log out (exit) and log back in as your new user:
ssh yourusername@your-server-ip
Step 5: Set Up a Basic Firewall (UFW)
UFW (Uncomplicated Firewall) is simple and effective. Install it and allow only what you need.
sudo apt install ufw -y
sudo ufw allow OpenSSH
sudo ufw enable
Check the status with sudo ufw status. It should show OpenSSH is allowed. Everything else is blocked by default.
Step 6: Disable Root Login and Password Authentication
This step hardens your server against automated attacks.
Edit the SSH configuration file:
sudo nano /etc/ssh/sshd_config
Find these lines and change them:
PermitRootLogin→ change tonoPasswordAuthentication→ change tono(only if you have set up SSH keys)
Save the file (Ctrl+O, then Ctrl+X). Restart SSH:
sudo systemctl restart ssh
Now only your non-root user can log in, and only with SSH keys (if you set them up).
Common Mistakes Beginners Make
- Skipping updates. An outdated server is an insecure server. Run updates first.
- Using root for everything. A typo as root can wipe your system. Use sudo instead.
- Opening too many ports. Only allow what you need. Start with SSH, then add ports for your web server or application later.
- Forgetting the firewall. Without UFW, your server is exposed to the entire internet.
Mini Example: A $5 VPS Running a Personal Blog in 20 Minutes
I bought a $5/month cheap VPS Linux from a budget provider. I chose Ubuntu 22.04 LTS. I followed the steps above: updated packages, created a non-root user, enabled UFW, and disabled root login.
Then I installed Nginx and a static site generator. Total time from login to seeing my blog live: 20 minutes. No issues. No security breaches. The server has been running for six months without a single problem.
Final Practical Takeaway
A cheap VPS Linux is not a toy. It is a real server that can run real projects. But you must set it up correctly from the start.
Follow this checklist every time you spin up a new VPS. It takes 15 minutes and saves you hours of troubleshooting later.
Your next step: pick a project. A personal website, a small API, a bot, or a file sync server. The setup is the same. The possibilities are yours.
FAQ
Q: Do I need to know Linux commands to use a cheap VPS Linux?
A: Basic command-line knowledge helps, but you can learn as you go. Start with the commands in this checklist. Most tasks are one-liners.
Q: Is Ubuntu or Debian better for a cheap VPS Linux?
A: Ubuntu is easier for beginners due to more tutorials. Debian is slightly more stable and uses fewer resources. Both work fine.
Q: Can I install a control panel like cPanel or Webmin on a cheap VPS Linux?
A: Yes, but control panels consume RAM and CPU. For a $5 VPS, avoid cPanel. Webmin or CyberPanel are lighter options.
Q: How do I access my cheap VPS Linux from Windows?
A: Use PowerShell (built-in) or install an SSH client like PuTTY. The commands are the same once you connect.
Q: What if I lock myself out after disabling root login?
A: If you forgot to create a non-root user or set up SSH keys, contact your VPS provider’s support. They can boot your server into rescue mode to fix the config.





