Top Banner
1 © 2006 Cisco Systems, Inc. All rights reserved. Session Number Presentation_ID Cisco Public IT Essentials II: NOS Linux Labs Using Knoppix
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

Oct 06, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

22© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public