Course ILT
Linux installation and basic commands Unit objectives Install Red Hat Linux 9.0. Outline structure of the Linux interface, roles of the kernel, terminal, and shell Enter basic shell commands and find command documentation
Course ILT
Topic A Topic A: Installing Linux Topic B: The basic Linux interface Topic C: Basic shell commands
Course ILT
Installation methods Across the network from an FTP server Across the network from a Web server Across the network from an NFS server From packages on the hard disk From packages on a CD-ROM
Boot disks Course ILT
Boot disk – Bootable floppy disk that can be used to start a Linux system or initiate a Linux installation
Rawrite – Windows utility that can be used to create installation boot disks
Creating boot disks Course ILT
bootdisc.img – For CD-ROM or hard disk installation
drvnet.img – For installation from a server
pcmciadd.img – For installation on laptops
Course ILT
Exercise A-1
Discussing installation methods
Course ILT
Starting the installation
Course ILT
Choosing the language
Course ILT
Choosing the keyboard
Course ILT
Choosing the mouse
Course ILT
Upgrade Examine
Course ILT
Installation types
Course ILT
Activity A-2
Starting the installation
Course ILT
Disk partitioning setup
Course ILT
Disk Druid
Required partitions Course ILT
Root – The base of the filesystem that contains all the other directories
Swap – Also known as swap memory or virtual memory
Common directories Course ILT
/boot /home /usr /usr/local /opt /var /tmp
Contains the Linux kernel and boot files Default location for user home directories System commands and utilities Location for most additional programs Alternate location for additional Programs
100MB 200MB per user Typically 2GB Typically 4GB Typically 4GB
Contains log files and 2GB spools Temporary files created 500MB by programs
Course ILT
Virtual memory Supplements physical memory Should be twice the size of the RAM
Course ILT
Creating the partitions
Course ILT
Activity A-3
Creating hard disk partitions
Configuring the boot loader Course ILT
Boot loader – Program started by the BIOS after POST – Loads Linux into memory – Can also boot other operating systems if they exist on the hard drive
Two boot loaders are available – LInux LOader (LILO) – GRand Unified Bootloader (GRUB)
continued
Course ILT
Configuring the boot loader, continued
Course ILT
Configuring the network
Course ILT
Configuring the firewall
Course ILT
Activity A-4
Configuring the boot loader, network, and firewall
Course ILT
Choosing a time zone
Course ILT
Activity A-5
Choosing system language and time zone
Course ILT
Configuring the root password
Course ILT
Configuring authentication
Course ILT
Activity A-6
Configuring secure access
Course ILT
Selecting packages
Course ILT
Creating boot disks
Course ILT
Activity A-7
Installing packages and creating boot disks
Course ILT
Configuring the video hardware
Course ILT
Selecting the monitor
Course ILT
X Window settings
Course ILT
Completing the installation
Course ILT
Activity A-8
Configuring video and completing the installation
Course ILT
Topic B Topic A: Installing Linux Topic B: The basic Linux interface Topic C: Basic shell commands
Shells, terminals, and the kernel Course ILT
Kernel – The core component of the OS
Terminal – Screen that allows you to log in
Shell – Runs within the terminal – Interface that accepts commands and passes them to the kernel – BASH shell (Bourne Again Shell): the default shell continued
Course ILT
Shells, terminals, and the kernel, continued
Course ILT
GNOME display manager
Course ILT
Common Linux terminals
Course ILT
A GNOME terminal
Course ILT
A KDE terminal
Course ILT
Exercise B-1
Discussing terminals and shells
Course ILT
Topic C Topic A: Installing Linux Topic B: The basic Linux interface Topic C: Basic shell commands
Basic shell commands Course ILT
Commands – Indicate name of the program to execute
Options – Letters starting with a dash “-” that alter the way the command works
Arguments – Specify the parameters the command works upon
Course ILT
Some common Linux commands
Course ILT
Shell metacharacters Key combinations that have special meaning in the Linux OS One of the most commonly used metacharacters is the $ character
Course ILT
Common BASH shell metacharacters
Getting command help Course ILT
Manual pages – Commonly referred to as man pages – Documents the command’s function and the syntax it accepts
Course ILT
Activity C-1
Using shell commands and metacharacters
Course ILT
Manual page section numbers
Course ILT
Activity C-2
Getting help
Course ILT
Activity C-3
Shutting down the system
Course ILT
Unit summary Installed Red Hat Linux 9.0. Outlined structure of the Linux interface and roles of the kernel, terminal, and shell Entered basic shell commands and learned how to find command documentation