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 хв читання

Ця сторінка поки доступна англійською. Переклад з’явиться найближчим часом.

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.

Замовте сервер, налаштований живими інженерами, або напишіть нам — ми онлайн 24/7. Підтримка →

Linux VPS

Усі інструкції

Готові запустити проєкт?

Замовте сервер, налаштований живими інженерами, або напишіть нам — ми онлайн 24/7.