ebook img

RHCE - RH302 Red Hat Certified Engineer Certification Exam Preparation Course in a Book for Passing the RHCE - RH302 Red Hat Certified Engineer Exam - ... on Your First Try Certification Study Guide PDF

242 Pages·2009·2.72 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview RHCE - RH302 Red Hat Certified Engineer Certification Exam Preparation Course in a Book for Passing the RHCE - RH302 Red Hat Certified Engineer Exam - ... on Your First Try Certification Study Guide

RHCE - RH302 Red Hat Certified Engineer Certification Exam Preparation Course in a Book for Passing the RHCE - RH302 Red Hat Certified Engineer Exam The How To Pass on Your First Try Certification Study Guide RHCE - RH302 Red Hat Certified Engineer Certification Exam Preparation Course in a Book for Passing the RHCE - RH302 Red Hat Certified Engineer Exam - The How To Pass on Your First Try Certification Study Guide Copyright © 2009 Notice of rights All rights reserved. No part of this book may be reproduced or transmitted in any form by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. Notice of Liability The information in this book is distributed on an “As Is” basis without warranty. While every precaution has been taken in the preparation of the book, neither the author nor the publisher shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the instructions contained in this book or by the products described in it. Trademarks Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations appear as requested by the owner of the trademark. All other product names and services identified throughout this book are used in editorial fashion only and for the benefit of such companies with no intention of infringement of the trademark. No such use, or the use of any trade name, is intended to convey endorsement or other affiliation with this book. 3 This self-study exam preparation guide for the RHCE - RH302 Red Hat Certified Engineer exam contains everything you need to test yourself and pass the Exam. Including all the exam topics, covered indepth and insider secrets, complete explana- tions of all RHCE subjects, test tricks and tips, over 250 highly realistic sample questions, and exercises designed to strengthen understanding of the RHCE concepts and prepare you for exam success on the first attempt are provided. Can you imagine valuing a book so much that you send the author a "Thank You" letter? This book includes new exercises and sample questions never before in print. Offering numerous sample questions, critical time-saving tips plus information available nowhere else, this book will help you pass the RHCE - RH302 Red Hat Certified Engineer exam on your FIRST try. Buy this. Read it. And Pass the RHCE - RH302 Red Hat Certified Engineer Exam. This book provides a laser sharp focus on all the exam objectives with a cohesive, concise, yet comprehensive coverage of all the topics included in the RHCE - RH302 Red Hat Certified Engineer Lab Exam. It includes over 250 questions modeled after the real exam with answers and an Exam Quick Prep feature which recaps all the important points for the last hour preparation before taking the exam. Covers all RH302 exam topics, including: x Hardware installation and configuration x The boot process x Linux filesystem administration x Package management and Kickstart x User and group administration x System administration tools x Kernel services and configuration x Apache and Squid x Network file sharing services (NFS, FTP, and Samba) x Domain Name System (DNS) x E-mail (servers and clients) x Extended Internet Services Daemon (xinetd), the Secure package, and DHCP x The X Window System x Firewalls, SELinux, and troubleshooting 4 5 Contents RHCE - RH302 Red Hat Certified Engineer ....................................................................................... 1 Certification Exam Preparation Course in a Book for Passing the RHCE - RH302 Red Hat Certified Engineer Exam - The How To Pass on Your First Try Certification Study Guide .......... 1 Installation and Hardware Configuration ......................................................................................... 14 1.1.Overview ................................................................................................................................................... 14 1.2.Installation ............................................................................................................................................... 14 1.2.1.Using DVD............................................................................................................................ 14 1.2.2.Using Hard Disk .................................................................................................................. 15 1.2.3.Using Network ..................................................................................................................... 15 1.3.Kickstart File ............................................................................................................................................ 16 1.3.1.Creating Kickstart file .......................................................................................................... 16 1.3.2.Use of Kickstart file ............................................................................................................. 18 1.4.Configuring Hardware ............................................................................................................................ 19 1.4.1.Graphical utilities ................................................................................................................ 20 2.The Boot Process .............................................................................................................................. 25 2.1.Overview ................................................................................................................................................... 25 2.2.Grub ......................................................................................................................................................... 25 2.2.1.Grub configuration file ....................................................................................................... 26 2.2.2.Configuring Grub ................................................................................................................ 27 2.3.Starting init .............................................................................................................................................. 29 2.3.1./etc/inittab file .................................................................................................................... 29 6 2.3.3.runlevel................................................................................................................................ 33 2.3.4.Initializing System .............................................................................................................. 34 2.3.5.Using command chkconfig ................................................................................................ 37 2.4.Using Graphical utilities ......................................................................................................................... 39 3.Filesystem Administration .............................................................................................................. 40 3.1.Overview ................................................................................................................................................... 40 3.2.Filesystem Information .......................................................................................................................... 40 3.2.1./etc/fstab file ....................................................................................................................... 41 3.2.2./etc/mtab ............................................................................................................................ 42 3.2.3.Mounting a filesystem ........................................................................................................ 43 3.2.4.Unmounting a filesystem ................................................................................................... 43 3.2.5.Creating a filesystem .......................................................................................................... 44 3.3.Creating Swap space ............................................................................................................................... 46 3.3.1.Enabling swap space ........................................................................................................... 47 3.3.2.Disabling swap space ......................................................................................................... 48 3.4.Checking and Repairing a filesystem ..................................................................................................... 48 3.4.1.Searching for badblocks ..................................................................................................... 49 3.5.Automatically mounting a filesystem .................................................................................................... 50 3.5.1.Checking status of automount ........................................................................................... 52 3.6.RAID disks ............................................................................................................................................... 52 3.6.1.Creating RAID device ......................................................................................................... 52 3.7.Logical Volume Group ............................................................................................................................ 54 7 3.7.1.Creating A Logical Volume Group ..................................................................................... 54 3.7.2.Remove a logical volume .................................................................................................... 57 3.7.3.Remove a volume group ..................................................................................................... 58 3.7.4.Remove a physical volume ................................................................................................. 58 3.7.5.Logical volume management utility .................................................................................. 58 4.Package Management ...................................................................................................................... 59 4.1.Overview ................................................................................................................................................... 59 4.2.Using yum ................................................................................................................................................ 59 4.3.Using rpm ................................................................................................................................................ 62 4.4.Using make .............................................................................................................................................. 64 4.5.Package Manager .................................................................................................................................... 65 5.User and Group Administration ..................................................................................................... 66 5.1.Overview ................................................................................................................................................... 66 5.2.Creating User Account ............................................................................................................................ 66 5.3.Modifying user account .......................................................................................................................... 72 5.4.Deleting user account ............................................................................................................................. 72 5.5.Group Administration ............................................................................................................................. 73 5.5.1.Adding New Group .............................................................................................................. 73 5.5.2.Modifying group information ............................................................................................ 73 5.5.3.Deleting group ..................................................................................................................... 73 5.6.Using User Manager ............................................................................................................................... 73 5.6.1.Changing user password ..................................................................................................... 76 5.7.Space Usage ............................................................................................................................................. 76 6.System Administration .................................................................................................................... 77 8 6.1.Overview ................................................................................................................................................... 77 6.2.Getting Administration Rights ............................................................................................................... 78 6.2.1.The su command ................................................................................................................. 78 6.2.2.Using the su ........................................................................................................................ 78 6.2.3.Administrative commands ................................................................................................ 79 6.2.4./etc/sudoers file ................................................................................................................. 79 6.3.Changing owner and group .................................................................................................................... 81 6.4.Monitoring System performance ........................................................................................................... 82 6.4.1.Using System Monitor ........................................................................................................ 82 6.4.2.Using top ............................................................................................................................. 84 6.4.3.Other commands ................................................................................................................ 84 6.5.Log information....................................................................................................................................... 86 7.Kernel Services and Configuration ................................................................................................. 87 7.1.Overview ................................................................................................................................................... 87 7.2.kernel Modules ....................................................................................................................................... 87 7.2.1.Modules Loaded into Kernel .............................................................................................. 88 7.2.2.Inserting module into kernel ............................................................................................................... 89 7.2.3.Removing module from kernel .......................................................................................... 89 7.2.4.Using modprobe command ............................................................................................... 89 7.3.Process and Kernel Information ............................................................................................................ 90 7.3.1.The ps command ................................................................................................................. 90 7.3.2.Changing priority of process .............................................................................................. 90 9 7.3.3.Using dmesg ........................................................................................................................ 91 7.3.4.Syslogd ................................................................................................................................. 92 7.4.Automating Tasks -- ................................................................................................................................ 93 7.4.1.Using at ................................................................................................................................ 93 7.4.2.Using batch command ........................................................................................................ 96 7.4.3.Using cron ........................................................................................................................... 97 8.Web Server ....................................................................................................................................... 99 8.1.Overview .................................................................................................................................................. 99 8.2.Starting Apache ....................................................................................................................................... 99 8.3.Main Configuration file ........................................................................................................................ 101 8.3.1.Global Environment Configuration ................................................................................. 101 8.3.2.Main server section .......................................................................................................... 103 8.3.3.Virtual hosts section ......................................................................................................... 105 8.4.HTTP Server Configuration ................................................................................................................. 106 9.Squid Server ................................................................................................................................... 111 9.1.Overview ................................................................................................................................................. 111 9.2.Configuring Squid ................................................................................................................................. 111 9.2.1.Network options ................................................................................................................ 111 9.2.2.Neighbor selection algorithm option .............................................................................. 112 9.2.3.Cache size options............................................................................................................. 112 9.2.4.Log File and Cache directory section .............................................................................. 112 9.2.5.Access control section ...................................................................................................... 113

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.