Complete Guide: Debian Server Setup and Configuration

Part 1: Installing Debian

  1. Download Debian ISO from debian.org
  2. Create bootable USB using tools like Rufus or Etcher
  3. Boot from USB and follow installation steps:

Part 2: Fixing "Not in Sudoers File" Error

Method 1: Using visudo

  1. Login as root:
su -
  1. Open sudoers file:
visudo
  1. Add your user (replace 'robee' with your username):
robee ALL=(ALL:ALL) ALL
  1. Save and exit (Ctrl+X, then Y, then Enter)

Method 2: Adding User to Sudo Group