First-Time Server Setup Checklist

First-Time Server Setup Checklist

Complete these steps after first logging into your server to ensure it is secure and up to date.

Step 1 — Update the Operating System

For Ubuntu/Debian:

apt update && apt upgrade -y

For CentOS/AlmaLinux/Rocky:

dnf update -y

Step 2 — Change the Root Password

passwd

Choose a strong, unique password and store it in a password manager.

Step 3 — Create a Non-Root User (Recommended)

adduser yourusername
usermod -aG sudo yourusername

Step 4 — Configure a Firewall

UFW (Ubuntu/Debian):

ufw allow ssh
ufw enable

Step 5 — Set the Hostname

hostnamectl set-hostname your-server-name

Step 6 — Set the Correct Timezone

timedatectl set-timezone America/New_York

Step 7 — Enable Automatic Security Updates

For Ubuntu:

apt install unattended-upgrades -y
dpkg-reconfigure unattended-upgrades

Once complete, your server is ready for its intended workload.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Welcome to Your Dedicated Server

Congratulations on Your New Dedicated Server! This article will help you get oriented and ready...

How to Connect to Your Server via SSH

Connecting to Your Server via SSH SSH (Secure Shell) is the primary method for accessing and...

Understanding Linux vs Windows Server: Which OS Should You Choose?

Linux vs Windows Server: Which Should You Choose? Choosing an operating system is one of the...

How to Transfer Files to Your Server with SCP and SFTP

Transferring Files to Your Server Two common protocols for moving files to and from your server:...

Understanding Your Server Specifications

Understanding Your Server Specifications This guide explains what each hardware spec means so you...