Linux VPS

First 10 minutes on a new Ubuntu/Debian server

Update packages, create a sudo user, set the time zone and enable automatic security updates. · 6 min read

1. Update the system

apt update && apt -y upgrade

2. Create a user with sudo

adduser deploy
usermod -aG sudo deploy

3. Set the hostname and time zone

hostnamectl set-hostname server1.example.com
timedatectl set-timezone Europe/Berlin

4. Enable automatic security updates

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

5. Install useful tools

apt -y install curl wget htop git unzip ufw fail2ban

6. Next steps

Configure the firewall, Fail2ban and SSH keys.

Order a server built by real engineers or talk to our team — we are online 24/7. Support →

Linux VPS

All tutorials

Ready to launch your project?

Order a server built by real engineers or talk to our team — we are online 24/7.