5 Essential Things Every Beginner Should Do After Getting a VPS

โ„น๏ธ

Disclosure: This article may contain affiliate links. If you purchase through these links, we may earn a small commission at no additional cost to you. All reviews are independently written and opinions remain unbiased.Learn more โ†’

๐Ÿš€ Managed Cloud Hosting โ€” Try Cloudways for Free Trial(No Credit Card)! Get Started โ†’

๐Ÿ’ก Summary

  • Deploy your business directly after buying a new VPS? Not me.
  • Every time I get a new server, I first go through five steps: machine inspection, system reinstallation, security hardening, environment initialization, and network optimization.
  • Only when Iโ€™m sure the server is problem-free, the system is clean, and the security configurations are in place do I truly put it into use.
  • This article outlines my complete process, based on the Debian 12 system.
๐Ÿ’ก
๐Ÿ’ก

Vultr โ€” Editor's Pick

Get the best price through our exclusive link and support our reviews.

Explore Vultr โ†’

I have a strict personal rule: no matter what I buy a new VPS for โ€” building websites, running projects, or anything else โ€” I never rush into deploying my actual workload right away. The reason is simple: some providersโ€™ pre-installed images are far from clean. A few even come with hidden monitoring tools or unwanted background processes. If you start using it without proper testing and later run into performance or network issues, youโ€™ll never know whether itโ€™s due to overselling or just bad configuration.

Spending one or two hours following this checklist can save you dozens of hours of painful troubleshooting later.


Step 1: Benchmark the Server โ€” Know What You Actually Bought

Once you SSH into the server, donโ€™t install anything yet. The first thing you should do is run a few test scripts. There are three main goals:

  • Verify the specs: Check whether the CPU model, RAM amount, and disk performance match what the provider advertised. If the Geekbench 5 single-core score is suspiciously low, itโ€™s very likely oversold. Disk read/write speeds below 100MB/s usually mean youโ€™re getting a low-quality drive โ€” not suitable for databases or high-load applications.
  • Network inspection: Test the return route quality. Is it true CN2 GIA or just regular 163? Late-night packet loss tells you much more about real-world experience than the advertised bandwidth. Some providers hide their routing or treat small and large packets differently โ€” good test scripts will expose this.
  • Streaming unlock check: If you bought a residential or โ€œunlockedโ€ IP, youโ€™ll want to confirm whether Netflix, Disney+, and other streaming services actually work.

I usually run one of these two scripts:

Option A (Quick & Clean): NQ test script โ€” simple output, great for a fast hardware overview:

bash <(curl -sL https://run.NodeQuality.com)

Option B (Most Comprehensive โ€” my personal favorite): The โ€œFusion Monsterโ€ script, which includes CPU benchmarking, disk speed, streaming unlock detection, and more:

bash <(wget -qO- --no-check-certificate https://gitlab.com/spiritysdx/za/-/raw/main/ecs.sh)

Benchmarks arenโ€™t perfect, but theyโ€™re excellent at revealing obvious overselling or garbage hardware.


Step 2: Reinstall a Clean Operating System

Even if the provider offers a โ€œDebian 12โ€ image, I always reinstall it myself. The goal is to get a completely stock kernel and remove any pre-installed monitoring agents or junk processes. Some Chinese providersโ€™ images come with all kinds of background services โ€” youโ€™ll never know whatโ€™s running unless you wipe it clean.

I usually use the popular Kejilion (็ง‘ๆŠ€Lion) reinstall script. Itโ€™s reliable, well-maintained, and supports most mainstream systems:

bash <(curl -sL kejilion.sh)

Choose reinstall and select Debian 12.

Important: After reinstallation, SSH will disconnect. Wait 5โ€“10 minutes, then reconnect. The very first thing you should do is change the default root password. The script usually sets a known default password (e.g. LeitboGi0). Leaving it unchanged is asking to get brute-forced:

passwd

Step 3: Basic Security Hardening

The public internet is brutal. Iโ€™ve seen fresh servers get hit with hundreds of brute-force attempts within minutes if left unprotected. These three steps are non-negotiable on every machine I set up:

1. Change the SSH port (move it to a high port between 20000โ€“65535 to avoid 99% of automated scans):

nano /etc/ssh/sshd_config
# Change #Port 22 to Port [your chosen port]
systemctl restart sshd

2. Set up SSH key authentication and disable password login

Generate the key pair locally:

ssh-keygen -t ed25519 -C "[email protected]"

Copy it to the server (using the new port):

ssh-copy-id -p [your_port] root@your_server_ip

Once key login works, disable password authentication:

nano /etc/ssh/sshd_config
# Change PasswordAuthentication yes โ†’ no
systemctl restart sshd

3. Configure UFW firewall + Fail2Ban

# Allow necessary ports
ufw allow [your_ssh_port]/tcp
ufw allow 80/tcp
ufw allow 443/tcp
ufw enable

# Install Fail2Ban
apt install fail2ban -y
systemctl enable fail2ban
systemctl start fail2ban

Step 4: System Initialization

After securing the server, do some basic housekeeping:

Update packages and set timezone:

apt update && apt upgrade -y
timedatectl set-timezone Asia/Shanghai

Add Swap (especially important on low-memory machines): I usually create 1.5โ€“2ร— the RAM size.

fallocate -l 2G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
echo '/swapfile none swap sw 0 0' >> /etc/fstab

Note: Swap is slow โ€” itโ€™s only a last resort to prevent OOM crashes. On high-memory machines, itโ€™s often unnecessary.

Change DNS (optional): Some overseas providers have slow DNS resolution for Chinese domains. I usually switch to Google and Cloudflare:

sudo tee /etc/resolv.conf <

Special note: If you bought a streaming-unlock VPS, do NOT change the DNS. The provider usually sets custom DNS for unlocking โ€” changing it will break streaming access immediately.


Step 5: Kernel & Network Optimization (Optional but Worth Trying)

Debian 12 already enables BBR by default, but for high-latency international links, additional TCP tuning can improve throughput. Results vary โ€” some see clear improvement, others donโ€™t. Itโ€™s not mandatory, but worth testing.

Simple option: Nekoโ€™s TCP optimization script (just choose the recommended preset):

bash <(curl -L https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh)

Advanced option: The tcp.xteko.com optimizer. It generates custom settings based on your memory and latency, automatically backs up the original config, and is easy to revert if it doesnโ€™t help. I personally prefer this one for its flexibility.


Only After These Five Steps Is the Server Truly Yours

StepPurposeMust Do?
BenchmarkingVerify real specs and catch oversellingโœ… Must do
Reinstall OSGet a clean, trustworthy base systemโœ… Strongly recommended
Security HardeningPrevent being hacked or turned into a botโœ… Must do
System InitializationSet up a sane working environmentโœ… Must do
Network TuningMaximize network performanceโšก Optional / situational

Benchmarking gives you confidence in what you paid for. Reinstalling gives you a clean foundation. Hardening lets you sleep at night. Initialization and tuning help the machine reach its full potential.

After completing this workflow, whether Iโ€™m building sites, running automation tools, or deploying services, I feel much more at ease.

๐Ÿš€

Ready for Vultr? Now is the perfect time

Use our exclusive link for the best price โ€” and help support our content.

๐Ÿ”ฅ Limited Offer๐Ÿ”ฅ Claim Vultr Deal โ†’
โ† Previous
5 Best Free Open-Source Automation Tools to Run on VPS in 2026 (Better Than Paid Ones)
Next โ†’
30 Minutes to Build Private AI Customer Service with OpenClaw + VPS

๐Ÿท๏ธ Related Keywords

๐Ÿ’ฌ Comments

150 characters left

No comments yet. Be the first!

โ† Back to Articles

VPS Rankings specializes in VPS selection, featuring provider reviews, rankings, practical tutorials, performance benchmarks and exclusive deals. Everything you need for research, comparison and purchase is available in one place.We cover budget web hosting and overseas cloud servers, enabling straightforward comparisons of specs, routing and pricing across providers. We also track CN2 GIA, low-latency Asian routes and other optimized solutions for China-facing networks and cross-border businesses. Our regularly updated VPS recommendations and practical guides help you make quick, well-informed decisions.