IT Essentials II: NOS Linux Labs Using Knoppix 1
IT Essentials II Linux Labs Using Knoppix Agenda Course Overview Knoppix Lab Map Knoppix Overview Lab: Basic System Administration in Knoppix v2 2
IT Essentials II: Network Operating Systems Introduction to multi-user, multitasking networking operating systems Hands-on, lab-oriented course overviews the characteristics of Linux and Windows NT, 2000, and XP operating systems Students will learn about installation procedures, security issues, backup procedures, and remote access IT Essentials II: NOS v3 AND Fundamentals of UNIX course map to CompTIA Linux+ 3
Knoppix Lab Map 2005, 2006 Cisco Cisco Systems, Systems, Inc. Inc. All All rights rights reserved. reserved. 4 4
Linux Labs in IT Essentials II Package to assist instructors in delivering the Linux labs from the HP IT Essentials II: NOS course A run-from-cd version of Linux Allows a computer to be booted into the Linux OS without installing onto the host machine Boots from the CD, runs entirely in RAM Does not use or write to the hard drive We have chosen Knoppix v3.9 to validate these labs 5
Linux Labs in IT Essentials II The package includes the following: A spreadsheet that maps each Linux lab to an alternate Knoppix lab and provides instructions for completion An Instructor Lab Manual that includes a short Knoppix instructor guide and Knoppix labs with answers A Student Lab Manual that contains Knoppix labs without answers 6
Linux Labs in IT Essentials II These materials are available: IT Essentials II Tools page Class Home page IT Essentials II Ver. 3.0 KnoppixLabs Map v4 7
Knoppix Overview 2005, 2006 Cisco Cisco Systems, Systems, Inc. Inc. All All rights rights reserved. reserved. 8 8
Knoppix One of several Run-from-CD distros Boots from the CD, runs entirely in RAM Does not use or write to the hard drive Open Source community -- widely-used = rapid development Ver 3.9 used to validate the Linux labs 9
Knoppix Download English Knoppix main page http://www.knopper.net/knoppix/index-en.html Download the ISO file, approximately 700 MB Burn ISO file to a CD as an image 10
Knoppix Lab 2005, 2006 Cisco Cisco Systems, Systems, Inc. Inc. All All rights rights reserved. reserved. 11 11
Knoppix SysAdmin Lab Basic System Administration in Knoppix v2 PART 1 -- Adding Users, Creating Accounts, Assigning passwords, Deleting Users PART 2 -- Creating a Group and Adding Users to the Group, Changing permissions, Renaming and deleting a group PART 3 -- Creating Directories, Removing Directories PART 4 -- Creating a File, Moving the File, Exploring Permissions for a file and a directory 12
Using Knoppix Put burned CD into drive and restart computer If the computer is not set to boot from a CD, enter the BIOS by pressing F2 (or DEL or the appropriate key) In BIOS settings, select the CDROM as the first boot device 13
Knoppix Boot Boot process: knoppix nosound nodhcp If Knoppix does not recognize the video card it will scan the video card for the different modes it will support A list of resolutions starting with basic VGA (640x480) It is best to use the selection at the bottom of the list 14
Knoppix Root Access To open the Root Terminal Press the Penguin icon in bottom taskbar Select Root Shell 15
Linux Permissions 2005, 2006 Cisco Cisco Systems, Systems, Inc. Inc. All All rights rights reserved. reserved. 16 16
Linux Permissions Directory had full permissions for all users, output of the ls l command would be drwxrwxrwx rwx stand for Read, Write, and Execute permission Initial d indicates directory, initial - indicates file First rwx grouping is for the owner of the file or directory Second rwx is for a group to whom that file or directory is assigned Third rwx is for everyone else Dash in a grouping indicates no permission 17
Linux Permissions For example, drwxr-x--- drwxr-x--- directory drwxr-x--- owner has Read, Write and Execute permission drwxr-x--- group members have Read and Execute permission drwxr-x--- everyone else has no permission at all to access the contents of the directory 18
Linux Permissions Three binary digits can be used to efficiently represent the possible combinations of rwx Binary 1 means a permission is granted Binary 0 means a permission is not granted The example drwxr-x--- would be represented by 750 Permissions Binary Conversion Octal Number drwxr-x--- 111 4+2+1 7 drwxr-x--- 101 4+0+1 5 drwxr-x--- 000 0+0+0 0 19
Linux Permissions r w x octal number 0 0 0 0 0 0 1 1 0 1 0 2 0 1 1 3 1 0 0 4 1 0 1 5 1 1 0 6 1 1 1 7 20
Q and A 21
22