Intro-00
Learning Outcome
At the end of this lesson, you will be able to:
load Debian Linux with no GUI on a computer
Lesson
watch the video, Debian 12 "Net Install" Installation Walkthrough
see the video below ↓
why Linux and Debian?
all computer scientists use Linux
Debian is the base of almost all Linux distributions: https://upload.wikimedia.org/wikipedia/commons/1/1b/Linux_Distribution_Timeline.svg
Activity
we will NOT use the graphical install, just choose to install
we do not need a mouse!
options
install
English
Canada
American English keyboard
choose a wireless network
name your computer: Room-212-XX
Domain name: keep blank
root password:
pick your own, but do not leave blank
ENSURE you remember it!
Full name of user:
ex: Mr Coxall
ex: mr-coxall
set password
ENSURE you remember it!
Time zone: Eastern
Guided - use the entire disk
pick the hard drive, not the USB!
All files in one partition
Finish partitioning and write changes to the disk
<Yes>
Canada: for package manager
deb.debian.org
no proxy needed
select <No> for tracking packages downloaded
we will deselect everything so that we will have no desktop
also remove: standard system utilities
we will even deselect "SSH server"
we will load it ourselves (this one does not always work!)
we want a truly light build
then reboot!
Daily Assignment
load Debian 12 with only terminal access on the provided computer
then do the following "post-install" setup (sometimes you will need to use "sudo" permissions)
# add sudo access to a user
# NOTE: you will need to be the root user to do this
apt install sudo
usermod -aG sudo username
-> switch out of root account!
-> but why does it matter!
# update and upgrade the system
sudo apt update && upgrade -y
# install SSH server
sudo apt install openssh-server -y
sudo systemctl start ssh
sudo systemctl status ssh
# so it does not turn off when the lid is closed
sudo nano /etc/systemd/logind.conf
# uncomment and change to ...
HandleLidSwitch=ignore
# change the wifi settings
sudo nano /etc/network/interfaces
address 172.22.52.XXX
netmask 255.255.255.0
gateway 172.22.52.1
dns-nameservers 8.8.8.8 8.8.4.4
# to change terminal font size
# select "Terminus ... 16x32"
sudo dpkg-reconfigure console-setup
Extra
SSH into your new server from another computer!
# check IP address
hostname -I