Skip to main content

Red Hat Enterprise Linux 6 Administration: Real World Skills for Red Hat Administrators

Red Hat Enterprise Linux 6 Administration: Real World Skills for Red Hat Administrators

Sander van Vugt

ISBN: 978-1-118-42143-7

Jan 2013

672 pages



The definitive guide to administering a Red Hat Enterprise Linux 6 network

Linux professionals who need a go-to guide on version 6 of Red Hat Enterprise Linux (RHEL) will find what they need in this comprehensive Sybex book. It covers RHEL administration in detail, including how to set up and manage web and mail services, use RHEL in enterprise environments, secure it, optimize storage, configure for virtualization and high availability, and much more. It also provides a great study aid for those preparing for either the RHCSA or RHCE certification exam.

  • Red Hat is the Linux market leader, and Red Hat administrators are in demand
  • This Sybex guide is a comprehensive resource on Red Hat Enterprise Linux administration and useful for those preparing for one of the Red Hat certification exams
  • Covers setting up and managing web and mail services, using RHEL in enterprise environments, securing RHEL, and optimizing storage to fit your environment
  • Explores advanced RHEL configurations, including virtualization and high availability

Red Hat Enterprise Linux 6 Administration is the guide Linux professionals and Red Hat administrators need to stay current on the newest version.

Related Resources

Introduction xxvii

Assessment Test xxxiii

Part I Getting Familiar with Red Hat Enterprise Linux 1

Chapter 1 Getting Started with Red Hat Enterprise Linux 3

Chapter 2 Finding Your Way on the Command Line 41

Part II Administering Red Hat Enterprise Linux 67

Chapter 3 Performing Daily System Administration Tasks 69

Chapter 4 Managing Software 99

Chapter 5 Configuring and Managing Storage 121

Chapter 6 Connecting to the Network 155

Part III Securing Red Hat Enterprise Linux 187

Chapter 7 Working with Users, Groups, and Permissions 189

Chapter 8 Understanding and Configuring SELinux 229

Chapter 9 Working with KVM Virtualization 245

Chapter 10 Securing Your Server with iptables 269

Chapter 11 Setting Up Cryptographic Services 293

Part IV Networking Red Hat Enterprise Linux 313

Chapter 12 Configuring OpenLDAP 315

Chapter 13 Configuring Your Server for File Sharing 333

Chapter 14 Configuring DNS and DHCP 355

Chapter 15 Setting Up a Mail Server 375

Chapter 16 Configuring Apache on Red Hat Enterprise Linux 385

Part V Advanced Red Hat Enterprise Linux Configuration 411

Chapter 17 Monitoring and Optimizing Performance 413

Chapter 18 Introducing Bash Shell Scripting 467

Chapter 19 Understanding and Troubleshooting the Boot Procedure 505

Chapter 20 Introducing High-Availability Clustering 529

Chapter 21 Setting Up an Installation Server 561

Glossary 577

Appendix A Hands-On Labs 595

Appendix B Answers to Hands-On Labs 607

Index 625

ChapterPageDetailsDatePrint Run
383Text correction: Error in Exercise 3.4 ""Running a Task from cron"",The command in step 3 is missing a final dot. It should read:
*/5 * * * * mail -s hello root root <.
389Text correction: Error in Exercise 3.7 ""Archiving and Extracting with tar"",Step one contains a typographical error. zxvf should be zcvf 12/13/131st
391Text correction: Errors in Table 3.3 ,All the commands listed in the table should begin with lowercase l . The Command column should read:
397Text correction: Errors in Exercise 3.8 ""Configuring Logging"",Step 3 should read Close the log configuration file...

The file contents listed in step 6 is missing braces and should read:

    rotate 1

The command in step 7 should read:

/usr/sbin/logrotate -f /etc/logrotate.conf
4115Text correction: Error in Exercise 4.3 ""Installing Software with Yum"",In step 3, the repoquery command should read:

repoquery -ql xorg-x11-apps
5134Text correction: Error in Exercise 5.3 ""Setting a File System Label"",In step 4, label in the mount command should be in caps: mount LABEL=mylabel /mnt 12/13/131st
6176-7Text correction: Exercise 6.5 ""Securing the SSH Server"",Before starting the exercise, use the command setenforce permissive. Without it, selinux will not allow sshd to offer its services on the default http port.12/13/131st
6180Text correction: Error in Exercise 6.6 ""Setting Up Key-Based Authentication"",In step 4, ssh_copy_id should read ssh-copy-id12/13/131st
7217Text correction: Exercise 7.5 ""Setting Permissions for Users and Groups"",In step 2, the owner on /data/sales should be set to lisa.sales, or the next exercise will not work. The step should read:

Before setting the permissions, change the owners of these directories to chown lisa.sales /data/sales and chown linda.account /data/account
7224Text correction: Errors in Exercise 7.7 ""Refining Permissions Using ACLs"",Steps 4 and 5 should read as follows:

4. Use setfacl -m d:g:account:rx,g:sales:rwx /data/sales to set the default ACL for the directory sales.
5. Add the default ACL for the directory /data/account by using setfacl -m d:g:sales:rx,g:account:rwx /data/account
8237Text correction: Error in Exercise 8.3 ""Applying File Contexts"",The semanage command is formatted incorrectly with regard to spaces. There should be a space between -f and -t, and there should not be a space between '/web(/.*) and ?'
The command should rea