LPIC-l/CompTIA. Certification. Lmux+ ONE. ALL a IN. (Exams LPIC-1/LX0-101 & LXO-102) Robb H. Tracy EXAM GUIDE. Graw Hill

Similar documents
Prerequisites: General computing knowledge and experience. No prior knowledge with Linux is required. Supported Distributions:

client X11 Linux workstation

TestOut Linux Pro - English 4.0.x OBJECTIVE MAPPING: CompTIA Linux+ LX0-103

CompTIA Linux Course Overview. Prerequisites/Audience. Course Outline. Exam Code: XK0-002 Course Length: 5 Days

Course Syllabus: Linux Essentials

LPIC-1 System Administrator

The table below lists the domains measured by this examination and the extent to which they are represented in the examination.

Unit 2: Manage Files Graphically with Nautilus Objective: Manage files graphically and access remote systems with Nautilus

Learning Linux! Labs and more labs!

"Charting the Course... MOC B: Linux System Administration. Course Summary

Curso LPI Certification

Open Source Operating Systems: Introduction to Command Line Administration (SCQF level 8)

SA2 v6 Linux System Administration II Net Configuration, Software, Troubleshooting

Linux Administration

Course Outline. LPIC-1 Exam 1 - Linux Server Professional Certification V4.0 (Course & Labs)

CompTIA" Cloud Essentials Certification Study Guide. (Exam CLO-001) ITpreneurs

Exam LFCS/Course 55187B Linux System Administration

RedHat Certified Engineer

At course completion. Overview. Audience profile. Course Outline. : 55187B: Linux System Administration. Course Outline :: 55187B::

Linux Essentials. Smith, Roderick W. Table of Contents ISBN-13: Introduction xvii. Chapter 1 Selecting an Operating System 1

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on a Virtual Machine

Contents in Detail. Acknowledgments

Prerequisites: Students must be proficient in general computing skills but not necessarily experienced with Linux or Unix. Supported Distributions:

Assignment List for CIS 262 UNIX Administration Summer 2016 (Revised 7/1/16)

Mastering Linux. Paul S. Wang. CRC Press. Taylor & Francis Group. Taylor & Francis Croup an informa business. A CHAPMAN St HALL BOOK

"Charting the Course... RHCE Rapid Track Course. Course Summary

CompTIA A+ Accelerated course for & exams

CompTIA A+s. Guide to 802: Managing. and Troubleshooting PCs. Mike Meyers' (Exam ) Fourth Edition. Mike Meyers.

Prerequisites: Students should be comfortable with computers. No familiarity with Linux or other Unix operating systems is required.

Linux Essentials Objectives Topics:

Part 1 : Getting Familiar with Linux. Hours. Part II : Administering Red Hat Enterprise Linux

Certified Ubuntu Professional VS-1140

LPI102 EXAM PREPARATION LPIC-1 (LINUX PROFESSIONAL INSTITUTE)

IMECAF México, S.C. Instituto Mexicano de Contabilidad, Administración y Finanzas. Nombre del Curso LINUX. Objetivo

Course 55187B Linux System Administration

Contents at a Glance COPYRIGHTED MATERIAL. Introduction...1 Part I: Becoming Familiar with Enterprise Linux...7

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on an Virtual Machine

LINUX FUNDAMENTALS. Supported Distributions: Red Hat Enterprise Linux 6 SUSE Linux Enterprise 11 Ubuntu LTS. Recommended Class Length: 5 days

CTS. Specialist. Certified Technology. Sven Laurik EXAM GUIDE. Mc Graw Hill. Chicago San Francisco Lisbon. New York. London Madrid Mexico City Milan

Linux+ Guide to Linux Certification, Third Edition

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on an Virtual Machine

"Charting the Course... Enterprise Linux System Administration Course Summary

Linux+ Guide to Linux Certification, Third Edition. Chapter 2 Linux Installation and Usage

CompTIA A+ Certification ( ) Study Guide Table of Contents

UBUNTU OPENSTACK. Ubuntu Server Administration Training

Ubuntu Sever Administration. Duration:40 Hrs

Critical Analysis and last hour guide for RHCSA/RHCE Enterprise 7

Comptia LX0-101 Exam Questions & Answers

LINUX FUNDAMENTALS (5 Day)

The student will have the essential skills needed to be proficient at the Unix or Linux command line.

1Z Oracle Linux 5 and 6 System Administration Exam Summary Syllabus Questions

CL030 is a csage Certification Preparatory Course!

TestOut PC Pro - English 6.0.x COURSE OUTLINE. Modified

COPYRIGHTED MATERIAL. Contents. Assessment Test

PASS4TEST IT 인증시험덤프전문사이트

RHCSA Rapid Track Course (RH199)

Instructions: Step 1: Respond to the following: IT131 Linux+

P a g e 1. Teknologisk Institut. Online kursus k SysAdmin & DevOps Collection

www highskills pt pt

[Contents. Sharing. sqlplus. Storage 6. System Support Processes 15 Operating System Files 16. Synonyms. SQL*Developer

THE LINU X T H E L IN U X COMM A ND L INE

Complete. The. Reference. Christopher Adamson. Mc Grauu. LlLIJBB. New York Chicago. San Francisco Lisbon London Madrid Mexico City

CCNA Cisco Certified Network Associate Study Guide

Perl and R Scripting for Biologists

Lpic 1 Comptia Linux Certification All In One Exam Guide Exams READ ONLINE

COURSE OUTLINE: A+ COMPREHENSIVE

CompTIA Linux+ Guide to Linux Certification Fourth Edition. Chapter 2 Linux Installation and Usage

1Z Oracle Linux Fundamentals (Oracle Partner Network) Exam Summary Syllabus Questions

Introduction. Assessment Test. Part I

How to Use This Lab Manual

SA3 E7 Advanced Linux System Administration III Internet Network Services and Security

Table of Contents. Course Introduction. Table of Contents Getting Started About This Course About CompTIA Certifications. Module 1 / Server Setup

Oracle Real Application Clusters Handbook

Contents. xxvii. Preface

Linux Bible. Negus, C. Table of Contents ISBN-13: Part I: Getting Started 1 Chapter 1: Starting with Linux 3

SysadminSG RHCSA Study Guide

Introduction to the shell Part II

CONTENTS. Cisco Internet Streamer CDS 3.0 Software Configuration Guide iii OL CHAPTER 1 Product Overview 1-1

Red Hat System Administration I - RH124

Linux Fundamentals (L-120)

Implementation and. Oracle VM. Administration Guide. Oracle Press ORACLG. Mc Grauv Hill. Edward Whalen

Linux Fundamentals (GL120) U8583S

Architect Exam Guide. OCM EE 6 Enterprise. (Exams IZO-807,1ZO-865 & IZO-866) Oracle Press ORACLG. Paul R* Allen and Joseph J.

COPYRIGHTED MATERIAL. Table of Contents. Assessment Test

Community Enterprise Operating System (CentOS 7) Courses

Troubleshooting. Contacting Cisco TAC. Checking the Version Number of Cisco Configuration Engine APPENDIXA

Linux and scripting. Fontys Venlo Software Engineering series LINUX. Ir. Pieter van den Hombergh

Installing and Configuring Windows Server 2012 R2

LX0-103.exam.68q. Number: LX0-103 Passing Score: 800 Time Limit: 120 min LX CompTIA Linux+ [Powered by LPI] Exam 1

On successful completion of the course, the students will be able to attain CO: Experiment linked. 2 to 4. 5 to 8. 9 to 12.

Reinstalling the Operating System on the Dell PowerVault 745N

COURSE OUTLINE AND SCHEDULE: ASSIGNMENTS ARE DUE EACH MONDAY WEDNESDAY JANUARY Computing Overview

AWS Course Syllabus. Linux Fundamentals. Installation and Initialization:

1 LINUX KERNEL & DEVICES

Basic Linux Command Line Interface Guide

HP-UX System Administration

"Charting the Course... Enterprise Linux System Administration. Course Summary

Deep Dive. Cloud Control 12c. Oracle Enterprise Manager ORACLG. Oracle Press. Michael New Edward Whalen Matthew Burke. London Madrid Mexico City Milan

LPIC-1 : Linux Professional Institute Certification

Linux for UNIX Administrators

Transcription:

ALL a IN ONE LPIC-l/CompTIA t Lmux+ TM Certification EXAM GUIDE (Exams LPIC-1/LX0-101 & LXO-102) Robb H. Tracy TECHNISCHE INFORMATIONSBiBLIOTHEK UNIVER! ivjc Graw Hill BIBUOTHEK VER New York Chicago San Francisco Lisbon London Madrid Mexico City Milan New Delhi San Juan Seoul Singapore Sydney Toronto McGraw-Hill is an independent entity from CompTIA and the Linux Professional Institute (LPI ). This publication and CD may be used in assisting students to prepare for the CompTIA Linux+ exams or the LPIC-1 exam from LPI. Neither CompTIA, nor LPI, nor McGraw-Hill warrant that use of this publication and CD will ensure passing any exam. CompTIA and CompTIA Linux+ are trademarks or registered trademarks of CompTIA in the United States and/or other countries. LPI is a trademark or registered trademark of the Linux Professional Institute. All other trade marks are trademarks of their respective owners.

Acknowledgments Introduction xxvii xxix Chapter I Introduction to Linux I The Role and Function of Linux 2 The Historical Development of Linux 4 Linux Distributions 6 Common Linux Roles 8 Linux as a Desktop 8 Linux as a Server 9 Linux as a Firewall 10 Chapter Review 11 Accelerated Review 11 Questions 12 Answers 15 Chapter 2 Working with the Linux Shell 17 How the Linux Shell Works 18 Linux Shells 19 Managing Shell Configuration Files 21 Using the Shell Prompt 24 Entering Commands at the Shell Prompt 24 Using Command History 28 Using Command Completion 30 Getting Help for Linux Commands 31 Using man Pages 33 Using info 39 Working with Environment Variables 42 What Are Environment Variables? 42 Managing Environment Variables 43 Creating a User-Defined Variable 49 Working with Aliases 50 Using Redirection and Piping 52 Standard bash File Descriptors 52 Redirecting Output and Input for Shell Commands 53 Piping Information 56 Chapter Review 58 Accelerated Review 60 Questions 62 Answers 69 XV

. IPIC-l/CompTIA Linux+ Certification All-in-One Exam Guide xvi Chapter 3 Using the vi Text Editor 71 The Role and Function of the vi Text Editor 72 Editing Text Files in vi 75 Opening Files in vi 76 vi Modes 77 Working in Insert Mode 79 Working in Command-Line Mode 79 Working in Command Mode 80 Chapter Review 83 Accelerated Review 85 Questions 86 Answers 89 Chapter 4 Managing Linux Files and Directories 91 Linux File Systems and the Filesystem Hierarchy Standard (FHS). 92 The Role of the Linux File System 92 The Hierarchical Structure of the Linux File System 92 Types of Files Used by Linux 99 Finding Files in the Linux File System 101 Using find 101 Using locate 102 Using which 104 Using whereis 104 Using type 104 Managing Directories from the Command Line 106 Navigating the File System 106 Viewing Directory Contents 108 Creating New Directories Ill Copying, Moving, and Deleting Directories Managing Files from the Command Line 112 Creating New Files 112 Viewing File Contents 113 Deleting Files 114 Copying and Moving Files 115 Determining the File Type 115 Working with Link Files 116 Finding Content Within Files 118 Chapter Review 121 Accelerated Review 122 Questions 124 Answers 126 Ill Chapter 5 Installing Linux 127 Designing a Linux Installation 128 Conducting a Needs Assessment 130 Selecting a Distribution 133

Contents xvii Verifying System Requirements and Hardware Compatibility 135 Planning the File System 139 Selecting Software Packages 146 Specify User Accounts 147 Gathering Network Information 148 Selecting an Installation Source 149 Installing Linux 156 Configuring Locale Settings 163 Configuring Time Zone Settings 166 How Time Works on Linux 166 Configuring the Time Zone 168 Chapter Review 169 Accelerated Review 171 Questions 174 Answers 179 Chapter 6 Managing the Linux Boot Process 181 The Linux Boot Process 181 The BIOS Phase 183 The Bootloader Phase 184 The Kernel Phase 185 Configuring the Bootloader 187 Configuring LILO 188 Configuring GRUB 192 Managing Linux Runlevels 203 How Runlevels Work 203 Managing Runlevels and init Scripts 206 Shutting Down the System 217 Chapter Review 218 Chapter 7 Managing the Graphical Accelerated Review 221 Questions 223 Answers 227 Environment 229 How the X Environment Works 230 Configuring the X Environment 235 Configuring the X Server 235 Configuring an X Font Server 245 Configuring a Display Manager 248 Trying Out Desktop Environments 248 Configuring a Display Manager 249 Configuring Accessibility 253 Keyboard Accessibility 254 Mouse Accessibility 256 Screen Readers 257

_ LPIC-1/CompTIA llnux+ Certification All-ln-One Exam Guide xviii Screen Magnifiers 257 Braille Devices 260 High-Contrast, Large-Text Themes 261 Chapter Review 263 Accelerated Review 266 Questions 270 Answers 273 Chapter 8 Managing Linux Software 275 Managing Software with RPM 276 Installing Software with RPM 276 Managing Installed Software with RPM 288 Using yum to Install RPM Packages 295 Installing Software from Source Code 298 Preparing the Installation Files 299 Compiling the Executable 301 Installing the Executable 302 Uninstalling Software Compiled from Source Code 303 Managing Debian Software Packages 304 Debian Package Naming 305 Installing Packages with dpkg 305 Viewing Package Information with apt-cache 308 Installing Packages with apt-get 310 Using aptitude 312 Managing Shared Libraries 313 How Shared Libraries Work 314 Managing Shared Library Dependencies 315 Chapter Review 318 Accelerated Review 320 Questions 322 Answers 327 Chapter 9 Managing Linux Users and Groups 329 Understanding Linux Users and Groups 331 Linux User Accounts 332 Linux Groups 347 Chapter Review 350 Accelerated Review 352 Questions 353 Answers 355 Chapter 10 Managing Linux File Systems 357 Managing Disk Partitions 357 Using fdisk to Manage Disk Partitions 358 Building a File System with mkfs 363 Understanding LVM 367

Contents xix Mounting a Partition with mount 368 Maintaining Linux File Systems 371 Mounting Removable Media 381 Working with Floppies 381 Working with Optical Devices 382 Working with USB and FireWire Devices 383 Backing Up Data 384 Selecting a Backup Medium 385 Selecting a Backup Strategy 386 Using Linux Backup Utilities 389 Chapter Review 394 Accelerated Review 396 Questions 398 Answers 401 Chapter I I Managing Ownership, Permissions, and Quotas 403 Managing Ownership 403 How Ownership Works 403 Managing Ownership from the Command Line 404 Managing File and Directory Permissions 407 How Permissions Work 407 Managing Permissions from the Command Line with chmod 409 Working with Default Permissions 413 Working with Special Permissions 415 Implementing Disk Quotas 417 Chapter Review 422 Accelerated Review 424 Questions 425 Answers 427 Chapter 12 Managing Hardware Under Linux 429 Managing PC Hardware 429 Identifying Mass Storage Devices 430 Working with Removable Hardware Interfaces 441 Managing System Resources 444 Managing Integrated Devices 449 Managing Systems Without External Peripherals 451 Working with Linux Drivers 451 What Exactly Is a Driver Anyway? 452 How Drivers Are Implemented Under Linux 454 Managing Kernel Modules 455 Working with Hotplug and Coldplug Devices 462 Chapter Review 463 Accelerated Review 466 Questions 469 Answers 473

LPIC-l/CompTIA Linux* Certification All-in-One Exam Guide XX Chapter 13 Managing Linux Processes 475 How Linux Handles Processes 475 What Exactly Is a Process? 476 The Heredity of Linux Processes 478 Managing Running Processes 482 Starting System Processes 482 Viewing Running Processes 484 Prioritizing Processes 489 Managing Foreground and Background Processes 491 Ending a Running Process 494 Keeping a Process Running After Logout 495 Scheduling Processes 498 Using the at Daemon 498 Using the cron Daemon 501 Chapter Review 506 Accelerated Review 509 Questions 512 Answers 515 Chapter 14 Writing Shell Scripts 517 Working with Shell Scripts 517 The Components of a Shell Script 517 How Shell Scripts Are Executed 518 Creating a Basic Script 520 Displaying Text on the Screen 520 Adding Commands to a Script 520 Reading Input from the User 521 Using Control Structures in Scripts 523 Using if/then Structures 523 Using case Structures 525 Using Looping Structures 527 Processing Text Streams 529 cut 530 expand and unexpand 530 fmt 531 join and paste 532 nl od pr 535 sed and awk sort split 539 tr uniq 540 533 533 535 539 540 wc 541

Contents xxi Using Command Substitution and Shell Functions 542 Using Command Substitution 542 Using Shell Functions 543 Chapter Review 544 Accelerated Review 548 Questions 549 Answers 553 Chapter 15 Managing Linux Network Settings 555 IP Networking Overview 556 What Is a Protocol? 557 How IP Addresses Work 561 How the Subnet Mask Works 564 Specifying the DNS Server and Default Gateway Router Addresses 566 Configuring Network Addressing Parameters 568 Installing the Ethernet Board 569 Configuring IP Parameters 570 Configuring Routing Parameters 576 Configuring Name Resolver Settings 578 Troubleshooting Network Problems 581 Chapter Using a Standardized Troubleshooting Model 581 Using ping 583 Using netstat 585 Using traceroute 585 Using Name Resolution Tools 587 host 588 Review 589 Accelerated Review 592 Questions 594 Answers 598 Chapter 16 Managing Network Services on Linux 601 Configuring Printing with CUPS 602 How Linux Printing Works 602 Installing CUPS 604 Configuring CUPS 605 Using the Line Printer Daemon (lpd) 613 Troubleshooting Printing Issues 613 Maintaining System Time 616 Setting the Hardware Clock with hwclock 617 Synchronizing Time with netdate 618 Synchronizing Time with NTP 618 Managing an MTA 625 How E-Mail Works 625 Using MTA Management Commands on Linux 629

LPIC-l/CompTIA Linux* Certification All-in-One Exam Guide xxii Managing SQL Data 632 How Databases Work 632 Installing MySQL 633 Managing Data in the SQL Server 635 Chapter Review 638 Accelerated Review 642 Questions 646 Answers 649 Chapter 17 Securing Linux 651 Secure the System 651 Securing the Physical Environment 651 Securing Access to the Operating System 653 Control User Access 655 To root Or Not to root? 655 Implementing a Strong Password Policy 659 Configuring User Limits 661 Disabling User Login 663 Auditing Files 665 Defending Against Network Attacks 668 Mitigating Network Vulnerabilities 668 Implementing a Firewall with iptables 672 Managing System Logs 679 Configuring Log Files 679 Using Log Files to Troubleshoot Problems 684 Using Log Files to Detect Intruders 686 Configuring xinetd and inetd 688 Configuring xinetd 689 Configuring inetd 692 Chapter Review 695 Accelerated Review 700 Questions 704 Answers 707 Chapter 18 Using Encryption 709 How Encryption Works 710 Symmetric Encryption 711 Asymmetric Encryption 712 Encrypting Remote Access with OpenSSH 715 How OpenSSH Works 715 Configuring OpenSSH 717 Tunneling Traffic Through SSH 721 Configuring SSH to Use Public Key Authentication 726 Encrypting Linux Files 730 How GPG Works 730 Using GPG to Encrypt Files 731

XXIII Chapter Review 737 Accelerated Review 742 Questions 745 Answers 748 Appendix A Exam Objective Reference 751 Exam LXO-101 751 Exam LXO-102 760 Appendix B About the CD 769 System Requirements 769 Accessing the MasterExam Practice Exams in Linux 769 Installing and Running MasterExam 770 MasterExam 770 Video Training Clips 771 PDF Copy of the Book 771 Help 771 Removing Installation(s) 771 Technical Support 771 LearnKey Technical Support 771 Index 773