RHCSA 7RHCE Red Haf Linux Certification Practice



Similar documents
Red Hat Certifications: Red Hat Certified System Administrator (RHCSA)

Hands-on Guide to the Red Hat Exams

RH033 Red Hat Linux Essentials or equivalent experience with Red Hat Linux..

Study Guide. Professional vsphere 4. VCP VMware Certified. (ExamVCP4IO) Robert Schmidt. IVIC GratAf Hill

GL254 - RED HAT ENTERPRISE LINUX SYSTEMS ADMINISTRATION III

Red Hat System Administration 1(RH124) is Designed for IT Professionals who are new to Linux.

HARFORD COMMUNITY COLLEGE 401 Thomas Run Road Bel Air, MD Course Outline CIS INTRODUCTION TO UNIX

Small Systems Solutions is the. Premier Red Hat and Professional. VMware Certified Partner and Reseller. in Saudi Arabia, as well a competent

Red Hat Linux Administration II Installation, Configuration, Software and Troubleshooting

System Administration: The Complete Reference

GL-250: Red Hat Linux Systems Administration. Course Outline. Course Length: 5 days

Understanding the Pros and Cons of Combination Networks 7. Acknowledgments Introduction. Establishing the Numbers of Clients and Servers 4

"Charting the Course to Your Success!" MOC D Windows 7 Enterprise Desktop Support Technician Course Summary

ENTERPRISE LINUX SYSTEM ADMINISTRATION

Networking. Sixth Edition. A Beginner's Guide BRUCE HALLBERG

ICANWK401A Install and manage a server

Training on Linux System Administration, LPI Certification Level 1

What is included in the ATRC server support

Advanced Linux System Administration on Red Hat

Linux System Administration on Red Hat

Deploying Ubuntu Server Edition. Training Course Overview. (Ubuntu LTS)

LOCKSS on LINUX. CentOS6 Installation Manual 08/22/2013

Red Hat Enterprise Linux (RHEL 6) Courses

MCSE Core exams (Networking) One Client OS Exam. Core Exams (6 Exams Required)

Course Venue :- Lab 302, IT Dept., Govt. Polytechnic Mumbai, Bandra (E)

PARALLELS SERVER BARE METAL 5.0 README

OnCommand Performance Manager 1.1

COURCE TITLE DURATION LPI-202 Advanced Linux Professional Institute 40 H.

Management. Oracle Fusion Middleware. 11 g Architecture and. Oracle Press ORACLE. Stephen Lee Gangadhar Konduri. Mc Grauu Hill.

Deploying IBM Lotus Domino on Red Hat Enterprise Linux 5. Version 1.0

Plexxi Control Installation Guide Release 2.1.0

Migrating to ESXi: How To

Release Notes for McAfee(R) VirusScan(R) Enterprise for Linux Version Copyright (C) 2014 McAfee, Inc. All Rights Reserved.

PARALLELS SERVER 4 BARE METAL README

Oracle Linux Advanced Administration

Enterprise. ESXi in the. VMware ESX and. Planning Deployment of. Virtualization Servers. Edward L. Haletky

A candidate following a programme of learning leading to this unit will be able to:

RedHat (RHEL) System Administration Course Summary

Virtual Web Appliance Setup Guide

Installing and Configuring Websense Content Gateway

SUSE Manager in the Public Cloud. SUSE Manager Server in the Public Cloud

Installation Guide. McAfee VirusScan Enterprise for Linux Software

Windows 7, Enterprise Desktop Support Technician

Fuse ESB Enterprise Installation Guide

Kaspersky Endpoint Security 8 for Linux INSTALLATION GUIDE

Virtual Managment Appliance Setup Guide

Windows 7, Enterprise Desktop Support Technician Course 50331: 5 days; Instructor-led

GL550 - Enterprise Linux Security Administration

Cloud.com CloudStack Community Edition 2.1 Beta Installation Guide

Migrating LAMP stack from x86 to Power using the Server Consolidation Tool

Oracle Linux 7: System Administration Ed 1 NEW

Table of Contents. Introduction. Audience. At Course Completion. Prerequisites

Basic System. Vyatta System. REFERENCE GUIDE Using the CLI Working with Configuration System Management User Management Logging VYATTA, INC.

Parallels Cloud Server 6.0

AT&T CLOUD SERVICES. AT&T Synaptic Compute as a Service SM : How to Get Started. Version 2.0 January 2012

CONTENTS AT A GMi#p. Chapter I Ethical Hacking Basics I Chapter 2 Cryptography. Chapter 3 Reconnaissance: Information Gathering for the Ethical Hacker

Windows Template Creation Guide. How to build your own Windows VM templates for deployment in Cloudturk.

(Exam ): Configuring

HOMEROOM SERVER INSTALLATION & NETWORK CONFIGURATION GUIDE

LOCKSS on LINUX. Installation Manual and the OpenBSD Transition 02/17/2011

Advanced SUSE Linux Enterprise Server Administration (Course 3038) Chapter 5 Manage Backup and Recovery

F-Secure Messaging Security Gateway. Deployment Guide

Syncplicity On-Premise Storage Connector

INCIDENT RESPONSE & COMPUTER FORENSICS, SECOND EDITION

ESX 4 Patch Management Guide ESX 4.0

Acronis Backup & Recovery 10 Server for Linux. Update 5. Installation Guide

Navigating the Rescue Mode for Linux

KVM Virtualization in RHEL 7 Made Easy

Networking. Systems Design and. Development. CRC Press. Taylor & Francis Croup. Boca Raton London New York. CRC Press is an imprint of the

ServerPronto Cloud User Guide

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

JAMF Software Server Installation and Configuration Guide for Linux. Version 9.2

Dell KACE K1000 Management Appliance. Administrator Guide. Release 5.3. Revision Date: May 16, 2011

Course Description. Course Audience. Course Outline. Course Page - Page 1 of 12

Trend Micro Incorporated reserves the right to make changes to this document and to the products described herein without notice.

Oracle Solaris Remote Lab User Guide for Release 1.01

neonex.in Head Office: Mastiska Technology Private Limited, E407, Ivory Towers, Sector 70, SAS Nagar, Mohali

Apple Pro Training Series. OS X Server. Essentials. Arek Dreyer. and Ben Greisler

QuickStart Guide for Managing Computers. Version 9.2

Parallels Virtuozzo Containers 4.7 for Linux

Converting Linux and Windows Physical and Virtual Machines to Oracle VM Virtual Machines. An Oracle Technical White Paper December 2008

Deploying Windows Streaming Media Servers NLB Cluster and metasan

ENTERPRISE LINUX SECURITY ADMINISTRATION

Remote Unix Lab Environment (RULE)

ENTERPRISE LINUX SECURITY ADMINISTRATION

Module 3: Resolve Software Failure This module explains how to fix problems with applications that have problems after being installed.

Red Hat Enterprise Linux 6 Essentials. Red Hat Enterprise Linux 6 Essentials

50331D Windows 7, Enterprise Desktop Support Technician (Windows 10 Curriculum)

WebLogic Server 11g Administration Handbook

GL-550: Red Hat Linux Security Administration. Course Outline. Course Length: 5 days

EXi PREP. Solaris 10. System Administration. llllllllllllllll. Bill Calkins. ULB Darmstadt

Linux for UNIX Administrators

IT6203 Systems & Network Administration. (Optional)

McAfee Firewall for Linux 8.0.0

Network Security Policy

Transcription:

RHCSA 7RHCE Red Haf Linux Certification Practice Exams with Virtual Machines (Exams EX200 & EX300) "IcGraw-Hill is an independent entity from Red Hat, Inc., and is not affiliated with Red Hat, Inc. in iny manner.this publication and DVD may be used in assisting students to prepare for a Red Hat Certified Engineer Exam or a Red Hat Certified System Administrator Exam. Neither Red Hat, Inc. lor McGraw-Hill warrant that use of this publication will ensure the passing relevant exam. Red Hat, Red Hat Linux, Red Hat Enterprise Linux, RHCE, RHCT and RHCSA are either egistered trademarks or trademarks of Red Hat, Inc. in the United States and/or other countries. Michael Jang This publication is not intended to be a substitute for the Red Hat RHCSA prep course, RH200, or the RHCE prep course, RH300.This study/training guide and/or material is not sponsored by, endorsed by, or affiliated with Red Hat, Inc. in any manner. New York Chicago S;in Francisco Lisbon London Madrid MexicoCity Milan New Delhi San Juan Seoul Singapore Sydney Toronto

CONTENTS About the Contributors Acknowledgments Preface Introduction iv xv xvi xxiii I Prepare for Red Hat Hands-on Certifications I The RHCSA and RHCE Exams 4 The Exam Experience 4 The RHCSA Exam 5 The RHCE Exam 5 Evolving Requirements 6 Basic Hardware Requirements 6 Hardware Compatibility 7 RAM Requirements 8 Hard Drive Options 8 Get Red Hat Enterprise Linux 8 The Point Releases Don't Matter 9 The Choices 9 Purchase an RHEL 6 Subscription 10 Get an Evaluation Copy 10 Putting RHEL 6 to Work 10 Third-Party Rebuilds 11 Installation Requirements 12 Red Hat and Virtual Machines 13 Virtual and Physical Systems 14 Installation Options 14 Boot Media 15 Booting the RHEL 6 Installation 15 Basic Installation Steps 16 Default Security Settings 25 Install Virtual Machines from the DVD 28 A Preinstalled Environment for Practice Labs 32 System Roles 33 vii

Viii RHCSA/RHCE Red Hat Linux Certification Practice Exams with Virtual Machines Configure a Physical Machine for Virtual Guests 34 A Default Configuration FTP Server 35 A Default Configuration HTTP Server 36 Q&A Self Test 38 Lab Questions 39 SelfTest Answers 42 Lab Answers 43 2 Virtual Machines and Automated Installations 47 Start and Stop Starting and Stopping VMs from the Command Line 48 Virtual Machines 48 Starting and Stopping Configure Systems VMs from the GUI 49 to Start Virtual Machines at Boot 49 Access a Virtual Machine's Console 51 Access Remote Systems Using SSH 51 Install Red Hat Enterprise Linux Systems as Virtual Guests 51 Install Red Hat Enterprise Linux Automatically Using Kickstart 52 Q&A Self Test 55 Lab Questions 56 Self Test Answers 57 Lab Answers 58... 3 Fundamental Command-Line Skills 61 Access a Shell Prompt and Issue Commands with Correct Syntax 62 Use Input/Output Redirection 63 Create, Delete, Copy, and Move Files and Directories 63 Create Hard and Soft Links 64 Use grep and Regular Expressions to Analyze Text 64 Locate, Read, and Use System Documentation 65 Create and Edit Text Files 66 Start, Stop, and Check the Status of Network Services 67 Configure Networking and Hostname Resolution 67 Q&A Self Test 70 Lab Questions 71 Self Test Answers 72 Lab Answers 73

Contents x 4 RHCSA-Level Security Options 77 List, Set, and Change Standard ugo/rwx Permissions 78 Diagnose and Correct File Permission Problems 79 Create and Manage Access Control Lists (ACLs) 80 Configure Firewall Settings Using system-config-firewall or iptables. Set Enforcing. 80 and Permissive Modes for SELinux 81 List and Identify SELinux File and Process Context 82 Restore Default File Contexts 83 Use Boolean Settings to Modify System SELinux Settings 84 Diagnose and Address Routine SELinux Policy Violations 84 Q&A Self Test 87 Lab Questions 88 Self Test Answers 89 Lab Answers 90.. 5 The Boot Process 95 Boot, Reboot, and Shut Down a System Normally 96 Boot Systems into Different Runlevels Manually 97 Use Single-User Mode to Gain Access to a System 98 Configure Systems to Boot Into a Specific Runlevel Automatically 99 Configure Network Services to Start Automatically at Boot 100 Modify the System Bootloader 101 Q&A SelfTest 103 Lab Questions 104 Self Test Answers 105 Lab Answers 106 6 Linux Filesystem Administration 109 Add New Partitions, Logical Volumes, and Swap to a System Non-Destructively List, Create, Delete, and Set Partition Type for Primary, Extended, and Logical Partitions Create and Remove Physical Volumes, Assign Physical Volumes to Ill Ill Volume Groups, and Create and Delete Logical Volumes 112 Extend Existing Unencrypted ext4-formatted Logical Volumes 113 Create, Mount, and Use ext2, ext3, and ext4 File Systems 114

X R.HCSA/RHCE Red Hat Linux Certification Practice Exams with Virtual Machines Mount and Unmount CIFS and NFS Network File Systems 115 Configure Systems to Mount File Systems at Boot by Universally Unique ID (UUID) or Label 115 Create and Configure LUKS-encrypted Partitions and Logical Volumes to Prompt for Password and Mount a Decrypted File System at Boot 116 Mount, Unmount, and Use LUKS-encrypted File Systems 117 Configure Systems to Mount ext4, LUKS-encrypted, and Network File Systems Automatically 118 Q&A Self Test 120 Lab Questions 122 Self Test Answers 123 Lab Answers 125 7 Package Management 129 Install and Update Software Packages from Red Hat Network, a Remote Repository, or from the Local File System 130 Update the Kernel Package Appropriately to Ensure a Bootable System 131 Q&A Self Test 133 Lab Questions 134 Self Test Answers 135 Lab Answers 135 8 User Administration 137 Log In and Switch Users in Multiuser Runlevels 138 Create, Delete, and Modify Local Users Accounts 139 Change Passwords and Adjust Password Aging for Local User Accounts 139 Create, Delete, and Modify Local Groups and Group Memberships.. 140 Create and Configure set-gid Directories for Collaboration 141 Configure a System to Use an Existing LDAP Directory Service for User and Group Information 142 Q&A Self Test 144 Lab Questions 145 SelfTest Answers 146 Lab Answers 147

Contents xi 9 RHCSA-Level System Administration Tasks 151 Access Remote Systems Using VNC 152 Archive, Compress, Unpack, and Uncompress Files Using tar, star, gzip, and bzip2 152 Identify CPU/Memory Intensive Processes; Adjust Process Priority with renice, kill Processes 153 Schedule Tasks Using cron 154 Locate and Interpret System Log Files 155 Q&A SelfTest 157 Lab Questions 158 Self Test Answers 159 Lab Answers 160 10 A Security Primer 163 Use iptables to Implement Packet Filtering and Configure Network Address Translation (NAT) 164 Configure Host-Based and User-Based Security for the Service 165 Q&A SelfTest 168 Lab Questions 169 SelfTest Answers 170 Lab Answers 171 11 System Services and SELinux 175 Install the Packages Needed to Provide the Service 176 Configure the Service to Start When the System Is Booted 177 Configure SELinux to Support the Service 178 Configure Key-Based Authentication 179 Configure Additional Options Described in Documentation 180 Q&A SelfTest 182 Lab Questions 183 Self Test Answers 184 Lab Answers 185 12 RHCE Administrative Tasks 189 Use Shell Scripting to Automate System Maintenance Tasks 190

Xii RHCSA/RHCE Red Hat Linux Certification Practice Exams with Virtual Machines Use /proc/sys and sysctl to Modify and Set Kernel Run-Time Parameters 191 Build a Simple RPM that Packages a Single File 192 Configure System as an iscsi Initiator that Persistently Mounts an iscsi Target 194 Configure System to Authenticate Using Kerberos 195 Route IP traffic and Create Static Routes 196 Q&lA Self Test 198 Lab Questions 199 Self Test Answers 200 Lab Answers 201 13 Electronic Mail Servers 205 Install the Packages Needed to Provide the Service 206 Configure SELinux to Support the Service 207 Configure the Service to Start When the System Is Booted 207 Configure the Service for Basic Operation 208 Configure Host-Based and User-Based Security for the Service 208 Configure a Mail Transfer Agent (MTA) to Accept Inbound E-mail from other Systems 209 Configure an MTA to Forward (Relay) E-mail Through a Smart Host 210 Q&A Self Test 212 Lab Questions 213 Self Test Answers 214 Lab Answers 215 14 The Apache Web Server 219 Install the Packages Needed to Provide the Service 220 Configure SELinux to Support the Service 221 Configure the Service to Start When the System Is Booted 223 Configure the Service for Basic Operation 223 Configure Host-Based and User-Based Security for the Service 224 Configure a Virtual Host 225 Configure Private Directories 226 Deploy a Basic CGI Application 227 Configure Group-Managed Content 227

Contents xih Q&A Self Test 229 Lab Questions 230 Self Test Answers 231 Lab Answers 232 15 The Samba File Server 239 Install the Packages Needed to Provide the Service 240 Configure SELinux to Support the Service 240 Configure the Service to Start When the System Is Booted 242 Configure the Service for Basic Operation 242 Configure Host-Based and User-Based Security for the Service 243 Provide Network Shares to Specific Clients 244 Provide Network Shares Suitable for Group Collaboration 245 Q&A Self Test 247 Lab Questions 248 Self Test Answers 249 Lab Answers 250 16 More File-Sharing Services 253 Install the Packages Needed to Provide the Service 254 Configure SELinux to Support the Service 254 Configure the Service to Start When the System Is Booted 255 Configure the Service for Basic Operation 256 Configure Host-Based and User-Based Security for the Service 256 Configure Anonymous-Only Download for an FTP Server 257 Provide NFS Network Shares to Specific Clients 258 Provide NFS Network Shares Suitable for Group Collaboration 259 Q&A Self Test 260 Lab Questions 261 Self Test Answers 262 Lab Answers 263 17 Administrative Services: DNS, FTP, and Logging 267 Produce and Deliver Reports on System Utilization (Processor, Memory, Disk, and Network) 268 Configure a System to Log to a Remote System 269

XiV RHCSA/RHCE Red Hat Linux Certification Practice Exams with Virtual Machines Configure a System to Accept Logging from a Remote System 270 Install the Packages Needed to Provide the Service 271 Configure SELinux to Support the Service 271 Configure the Service to Start When the System Is Booted 272 Configure the Service for Basic Operation 272 Configure Host-Based and User-Based Security for the Service 273 Configure a Caching-Only Name Server 273 Configure a Caching-Only Name Server to Forward DNS Queries... 274 Synchronize Time Using Other NTP Peers 275 Q&A Self Test 277 Lab Questions 278 SelfTest Answers 279 Lab Answers 280 A Prepare a System for the Sample Exams 285 Basic Sample Exam System Requirements 287 Additional Sample Exam System Requirements for the RHCE 289 B RHCSA: Sample Exam I 291 RHCSA Sample Exam 1 Discussion 293 C RHCSA: Sample Exam 2 297 RHCSA Sample Exam 2 Discussion 299 D RHCE: Sample Exam I 303 RHCE Sample Exam 1 Discussion 305 E RHCE: Sample Exam 2 309 RHCE Sample Exam 2 Discussion 311 F About the DVD 315 System Requirements 317 Technical Support 317 Index 319