Skip to content

Instantly share code, notes, and snippets.

@ebta
Last active October 20, 2021 09:37
Show Gist options
  • Save ebta/d6b16433d3e64d4f6e40e3df6f899c61 to your computer and use it in GitHub Desktop.
Save ebta/d6b16433d3e64d4f6e40e3df6f899c61 to your computer and use it in GitHub Desktop.
Initial Server Setup with Ubuntu 20.04

Login as Root user and do the following step :

  1. Creating a New User
adduser sammy
  1. Granting Administrative Privileges
usermod -aG sudo sammy
  1. Setting Up a Basic Firewall
ufw app list
ufw allow OpenSSH
ufw enable
ufw status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment