Upload
others
View
3
Download
0
Embed Size (px)
Citation preview
1© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
IT Essentials II: NOSLinux Labs Using Knoppix
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
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+
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
21© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public
Q and A
22© 2006 Cisco Systems, Inc. All rights reserved.Session NumberPresentation_ID Cisco Public