![Page 1: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/1.jpg)
1© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
IT Essentials II: NOSLinux Labs Using Knoppix
![Page 2: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/2.jpg)
2© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
IT Essentials IILinux Labs Using Knoppix
Agenda
• Course Overview
• Knoppix Lab Map
• Knoppix Overview
• Lab: Basic System Administration in Knoppix v2
![Page 3: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/3.jpg)
3© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
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+
![Page 4: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/4.jpg)
4© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
Knoppix Lab Map
444© 2005, Cisco Systems, Inc. All rights reserved.Presentation_ID
![Page 5: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/5.jpg)
5© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
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 LinuxAllows 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
![Page 6: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/6.jpg)
6© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
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
![Page 7: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/7.jpg)
7© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
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
![Page 8: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/8.jpg)
8© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
Knoppix Overview
888© 2005, Cisco Systems, Inc. All rights reserved.Presentation_ID
![Page 9: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/9.jpg)
9© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
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
![Page 10: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/10.jpg)
10© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
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
![Page 11: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/11.jpg)
11© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
Knoppix Lab
111111© 2005, Cisco Systems, Inc. All rights reserved.Presentation_ID
![Page 12: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/12.jpg)
12© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
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
![Page 13: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/13.jpg)
13© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
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
![Page 14: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/14.jpg)
14© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
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
![Page 15: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/15.jpg)
15© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
Knoppix – Root Access
To open the Root Terminal• Press the Penguin icon in bottom taskbar
• Select Root Shell
![Page 16: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/16.jpg)
16© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
Linux Permissions
161616© 2005, Cisco Systems, Inc. All rights reserved.Presentation_ID
![Page 17: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/17.jpg)
17© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
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
![Page 18: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/18.jpg)
18© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
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
![Page 19: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/19.jpg)
19© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
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
![Page 20: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/20.jpg)
20© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
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
![Page 21: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/21.jpg)
21© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
Q and A
![Page 22: IT Essentials II: NOS Linux Labs Using Knoppix · © 2006 Cisco Systems, Inc. All rights reserved. 1 Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using](https://reader034.vdocument.in/reader034/viewer/2022052017/603078046739cd4752790b6f/html5/thumbnails/22.jpg)
22© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public