Complete Guide: Debian Server Setup and Configuration
Part 1: Installing Debian
- Download Debian ISO from debian.org
- Create bootable USB using tools like Rufus or Etcher
- Boot from USB and follow installation steps:
- Choose language and location
- Configure network
- Set up users and passwords
- Partition disks
- Complete base system installation
Part 2: Fixing "Not in Sudoers File" Error
Method 1: Using visudo
- Login as root:
su -
- Open sudoers file:
visudo
- Add your user (replace 'robee' with your username):
robee ALL=(ALL:ALL) ALL
- Save and exit (Ctrl+X, then Y, then Enter)
Method 2: Adding User to Sudo Group