Initial Server Setup With Ubuntu 18.04

Опубликовано: 24 Февраль 2025
на канале: Explained Easy
315
3

Initial Server Setup With Ubuntu 18.04

0:01:30 - Step 1 — Logging in as Root
0:03:47 - Step 2 — Creating a New User
0:05:01 - Step 3 — Granting Administrative Privileges
0:06:42 - Step 4 — Setting Up a Basic Firewall
0:09:23 - Step 5 — Enabling External Access for Your Regular User
0:13:17 - Where To Go From Here?

Commands:
ssh root@your_server_ip
adduser sammy
usermod -aG sudo sammy
ufw app list
ufw allow OpenSSH
ufw enable
ufw status
ssh sammy@your_server_ip
sudo command_to_run
rsync --archive --chown=sammy:sammy ~/.ssh /home/sammy
ssh sammy@your_server_ip
sudo command_to_run
#root_login #ubuntu