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

Similar documents
RedHat Certified Engineer

Specialized Programme on Internetworking Design and LAN WAN Administration

Linux Administration

Fedora 12 Essentials

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

Ubuntu Sever Administration. Duration:40 Hrs

RHEL 5 Essentials. Red Hat Enterprise Linux 5 Essentials

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

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

Brief Table of Contents

2 Bay 3.5 HDD SATA NAS Media Server Setting...20 Bonjour...21 TorrentFlux Maintenance...25 Disk Utility...25 RAID Setting...

Introduction...1 Part I: Getting Ready to Upgrade...7. Chapter 1: Start Here First...9 Chapter 2: Assembling Your Tools...23

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

Fedora Core: Made Simple

SUN SOLARIS. Course Catalog

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

GNOME Desktop. OSS-GUI Course Text Masayuki Ida August, 2005

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

SYLLABUS. Title: Unix Network Administration II

Performing Maintenance Operations

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

VISUAL QUICKPRO GUIDE

Linux for IT Managers and System Administrators Training Workshop

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

Ubuntu Essentials. Ubuntu Essentials First Edition

HP Supporting the HP ProLiant Storage Server Product Family.

How to Use This Lab Manual

CHAPTER 2 BASIC OPERATING SYSTEM CONCEPT MANAGEMENT

DESCRIPTION OF TYPICAL NETWORK SERVICES ON SERVERS

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

Contents. Acknowledgments. Introduction. Making the Move from Windows to linux Introduction. 2 linux Distributions

Contents SECTION-I : LINUX

This is Lab Worksheet 7 - not an Assignment

Windows 7 THE MISSING MANUAL. w [ David Pogue POGUE PRESS" O'REILLY8. Beijing. Cambridge. Farnham KOln Sebastopol. Taipei Tokyo

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

EXPRESSCLUSTER X SingleServerSafe 3.3 for Linux. Configuration Guide. 10/02/2017 6th Edition

ClearCube Virtualization. Deployment Guide. ClearCube Technology, Inc.

Ensim ServerXchange Server & Application Manager Online Help

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

Select Icons p. 75 Work with Aliases p. 78 Open Files, Folders, and Applications p. 80 Move Files and Folders p. 82 Copy Files and Folders p.

Apple Exam 9L0-412 OS X Support Essentials 10.8 Exam Version: 6.3 [ Total Questions: 86 ]

Getting Started with Fedora

LabSim Mapping Matrix

Installing the Operating System or Hypervisor

CUSTOMER CONTROL PANEL... 2 DASHBOARD... 3 HOSTING &

QuickStart Guide for Managing Computers. Version

LevelOne FNS bay/1usb Soho NAS. User s Manual

Chapter 8 Operating Systems and Utility Programs

Contents in Detail. Acknowledgments

EXAM CRAM MCTS Microsoft Windows 7, Configuring. Patrick Regan

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

WinClient Remote Manager USER S MANUAL. Revision: WRM /10/22

Veritas System Recovery 18 Management Solution Administrator's Guide

Use the Apple menu to change settings, get Mac OS X software, open recent items, and restart or shut down your computer.

Welcome to Mac OS X, the world s most advanced operating system. This book helps you start using Mac OS X. First install the software, then discover h

Brocade EFC Manager Software

V Workstation Imaging

Virtual Infrastructure Web Access Administrator s Guide ESX Server 3.0 and VirtualCenter 2.0

QuickStart Guide for Managing Computers. Version 9.73

LifeSize Control Installation Guide

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

QuickStart Guide for Managing Computers. Version 9.32

IBM Tivoli Federated Identity Manager Version Installation Guide GC

Master Your Mac. simple ways to tweak, customize, and secure os x

Virtual Infrastructure Web Access Administrator s Guide Update 2 and later for ESX Server 3.5 and VirtualCenter 2.5

Veritas System Recovery 16 Management Solution Administrator's Guide

Chapter 8 Operating Systems and Utility Programs أ.أمل زهران

LINUX FUNDAMENTALS (5 Day)

EXPRESSCLUSTER X SingleServerSafe 4.0 for Linux. Configuration Guide. April 17, st Edition

Using UCS-Server Configuration Utility

This is Lab Worksheet/Installation 7

Using Symantec NetBackup 6.5 with Symantec Security Information Manager 4.7

QuickStart Guide for Managing Computers. Version

Central Administration Console Installation and User's Guide


Clientless SSL VPN End User Set-up

Windows 2000 System Administration Handbook, 1/e

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

BACKUP APP V7 MICROSOFT SYSTEM BACKUP AND RESTORE GUIDE

Chapter 6: Connecting Windows Workstations

Network Management Utility

COPYRIGHTED MATERIAL. Contents

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

ExpressCluster X 2.0 for Linux

How to install the software of ZNS8022

VII. Corente Services SSL Client

XL-NAS-400SA. User s Guide

SonicWALL SSL VPN 2.5 Early Field Trial

Windows 7 Basic Computer Course

Lesson 4: Web Browsing

Oracle VM Template for MySQL Enterprise Edition =========================================================================== ===

The following table lists the supported upgrade paths to Cisco Finesse Release 11.5(1).

Day 1 IT Network Systems Administration Trade 39 WSC 2011 London

Upgrading Software and Firmware

College of Pharmacy Windows 10

COPYRIGHTED MATERIAL. Contents. Assessment Test

VISUAL QUICKPRO GUIDE

Contents. Deployment: Automated Installation of Cygwin

Lesson 1: Preparing for Installation

Chapter 1: Windows Platform and Architecture. You will learn:

Transcription:

Contents at a Glance Introduction...1 Part I: Becoming Familiar with Enterprise Linux...7 Chapter 1: Getting Acquainted with Enterprise Linux...9 Chapter 2: Exploring the Desktop...17 Chapter 3: Putting Your System to Work...41 Chapter 4: Exploring the File System and Command Shell...61 Part II: Configuring Your Enterprise Linux Local Area Network...83 Chapter 5: Configuring and Managing the X Window System...85 Chapter 6: Configuring and Managing Printers...97 Chapter 7: Configuring the Network...109 Chapter 8: The Network File System...123 Chapter 9: Connecting to Windows PCs Using Samba...131 Part III: Securing Your Enterprise Linux System...141 Chapter 10: Security Basics...143 Chapter 11: Intrusion Detection and Prevention...161 Part IV: Configuring Your Enterprise Linux Internet Services...179 Chapter 12: Configuring and Managing DNS Servers...181 Chapter 13: Configuring and Managing an E-Mail Server...203 Chapter 14: Configuring and Managing an FTP Server...221 Chapter 15: Serving Web Pages...235 COPYRIGHTED MATERIAL Part V: Maintaining Your Enterprise Linux System...251 Chapter 16: Maintaining Your System with the Red Hat Network...253 Chapter 17: Administering Users and Groups...267 Chapter 18: Installing and Upgrading Software Packages...279 Chapter 19: Backing Up and Restoring Your Files...287

Part VI: The Part of Tens...311 Chapter 20: Ten Tips for Optimizing Your System...313 Chapter 21: Ten Troubleshooting and Problem-Solving Tips...329 Part VII: Appendixes...339 Appendix A: Installing Red Hat Enterprise Linux...341 Appendix B: What s on the CD-ROM?...361 Index...369

Table of Contents Introduction...1 About This Book...1 How This Book Is Organized...2 Part I: Becoming Familiar with Enterprise Linux...2 Part II: Configuring Your Enterprise Linux Local Area Network...3 Part III: Securing Your Enterprise Linux System...3 Part IV: Configuring Your Enterprise Linux Internet Services...3 Part V: Maintaining Your Enterprise Linux System...4 Part VI: The Part of Tens...4 Part VII: Appendixes...4 Icons Used in This Book...5 Typographical Roadsigns...5 Part I: Becoming Familiar with Enterprise Linux...7 Chapter 1: Getting Acquainted with Enterprise Linux...............9 Exploring the History of Enterprise Linux...9 Examining the Versions of Red Hat Enterprise...10 Red Hat Enterprise AS...11 Red Hat Enterprise ES...11 Red Hat Enterprise WS...12 Red Hat Desktop...12 Putting Enterprise Linux to Work...13 Configuring your local network...13 Using Enterprise Linux to maintain your system...14 Securing your system...14 Providing Internet services...15 Chapter 2: Exploring the Desktop...............................17 Examining the Graphical Login Screen...17 Logging In and Using the GNOME Desktop...19 Playing with the panel...20 Managing applets on the panel...21 Choosing applications from the Applications menu...22 Choosing actions from the Actions menu...24 Using the Nautilus File Manager...25 Displaying your home folder...27 Displaying the contents of a folder...27 Opening files...27 Accessing FTP sites...28

x Red Hat Enterprise Linux 4 For Dummies Using bookmarks...28 Managing your files and folders...29 Customizing the Nautilus File Manager...30 Editing File Manager preferences...31 Changing the File Manager background and icon emblems...32 Showing and hiding views...33 Configuring GNOME...33 Logging Out...34 Taking a Look at KDE...34 Managing applets...36 Choosing applications from the Applications menu...37 Using the Konqueror File Manager...39 Logging out...40 Chapter 3: Putting Your System to Work..........................41 Getting Started...41 Browsing the Web...42 Changing Browser Preferences...44 Sending and Receiving E-mail...45 Receiving e-mail...48 Sending e-mail...48 Working at the Office...49 Writing with OpenOffice.org Writer...50 Calculating with OpenOffice.org Calc...52 Impressing with OpenOffice.org Impress...53 Configuring OpenOffice.org...54 Keeping Yourself Entertained...55 Configuring your sound card...55 Playing audio files...56 Playing video files...57 Working with Images...58 Chapter 4: Exploring the File System and Command Shell..........61 Examining the Enterprise Linux File System Structure...61 Commanding the Shell...64 Opening a terminal window...64 Shell command syntax...66 Frequently Used Shell Commands...68 Getting help...68 Working with files and directories...69 Gaining superuser (root) privileges...78 Changing your system path...78 Mounting and unmounting drives...79 Viewing and stopping processes...80 Checking disk space...80 Creating an alias...81 Writing Shell Scripts...82

Table of Contents xi Part II: Configuring Your Enterprise Linux Local Area Network...83 Chapter 5: Configuring and Managing the X Window System.......85 Introducing the X Server...85 Configuring the X Server with the X Configuration Tool...86 Changing the display resolution...86 Changing the display color depth...87 Changing monitor type settings...88 Changing your video card type...89 Configuring dual monitors...90 Manually Configuring Your X Server from the X Configuration File...91 Device...91 Direct Rendering Infrastructure...92 Files...92 InputDevice...93 Module...93 Monitor...93 Screen...94 Restarting Your X Server...95 Disabling the X Server...95 Chapter 6: Configuring and Managing Printers...................97 Starting the Printer Configuration Tool...98 Configuring the print queue...100 Selecting the print driver...104 Editing the Printer Configuration...105 Deleting a printer...107 Setting the default printer...107 Chapter 7: Configuring the Network...........................109 The Enterprise Linux Network Configuration Tool...109 Adding an Ethernet device...110 Adding a wireless NIC...113 Adding a modem connection...115 Editing Your Network Configuration...117 Removing a NIC...117 Changing the NIC configuration...118 Managing DNS settings...119 Managing hosts...120 Working with profiles...120 Chapter 8: The Network File System...........................123 Configuring and Managing an NFS Server...123 Adding Shares to Export...124 Editing and Deleting NFS Exported Shares...127

xii Red Hat Enterprise Linux 4 For Dummies Command Line Configuration...128 Configuring an NFS Client...129 Mounting an NFS directory...129 Mounting NFS directories automatically at system start...129 Chapter 9: Connecting to Windows PCs Using Samba............131 Installing Samba...131 Configuring the Samba Server...132 Global...134 Homes...135 Printers...135 Creating Samba Users...136 Starting the Samba Server...136 Connecting to the Samba Server...137 Connecting to a Samba Client...138 Part III: Securing Your Enterprise Linux System...141 Chapter 10: Security Basics...................................143 Developing a Security Policy...143 Physical security...144 Document security...144 Network security...145 Consequences for breaking security policy...145 Responsibility...146 Performing a security audit...146 Implementing Host Security...147 System administrator security functions...147 Keeping your system updated...152 Implementing Network Security...152 Defining Internet services...152 Disabling standalone servers...153 Stopping services...155 Disabling xinetd server services...155 Building a Firewall...156 Configuring a simple firewall with the Security Level Configuration tool...157 Configuring a simple firewall with the iptables command...158 Chapter 11: Intrusion Detection and Prevention.................161 Discovering the Types of Intrusion Detection...161 Active detection...162 Passive detection...162 Using Software Detection Tools to Test Your System Security...163 Scanning your network with nmap...163 Using Tripwire to detect system changes...171

Table of Contents xiii Part IV: Configuring Your Enterprise Linux Internet Services...179 Chapter 12: Configuring and Managing DNS Servers.............181 Translating Web Names to IP Addresses...181 Types of DNS Servers...183 Examining the DNS Server Configuration Files...183 The named.conf file...185 Zone files...193 Configuring a Caching DNS Server...195 Configuring a Secondary Master DNS Server...196 Configuring a Primary Master Server...197 Checking Your Configuration...199 The host program...199 The dig program...199 Chapter 13: Configuring and Managing an E-Mail Server.........203 How E-Mail Works...203 Mail User Agent (MUA)...204 The Ximian Evolution e-mail client...204 Mail Transfer Agent (MTA)...209 Local Delivery Agent (LDA)...209 Introducing SMTP...210 The Post Office Protocol (POP3)...210 The Internet Mail Access Protocol (IMAP4)...211 Using Sendmail...211 Checking that Sendmail is installed and running...211 Configuring Sendmail...212 The m4 macro processor...213 Managing the mail queue...214 Configuring POP3...215 Configuring IMAP4...216 Setting up aliases to make life easier...216 Maintaining E-Mail Security...217 Protecting against eavesdropping...218 Using encryption...218 Using a firewall...218 Don t get bombed, spammed, or spoofed...218 Some SMTP cautions...219 Chapter 14: Configuring and Managing an FTP Server............221 Installing an FTP Server...221 Configuring an FTP Server...222 Configuring the /etc/vsftpd/vsftpd.conf file...223 Configuring the /etc/vsftpd.ftpusers file...227 Configuring the /etc/vsftpd.user_list file...228

xiv Red Hat Enterprise Linux 4 For Dummies Starting the FTP Server...228 Testing the FTP Server...229 Logging In to FTP Servers...229 Using gftp for FTP access...230 Accessing an FTP server with the command line FTP client...232 Chapter 15: Serving Web Pages...............................235 Installing and Starting the Web Server...235 Configuring and Managing Your Web Server...238 Editing the Apache Configuration File Using the HTTP Configuration Tool...239 Main tab...240 Virtual Hosts tab...240 Server tab...248 Performance Tuning tab...249 Saving Your Settings and Restarting the Web Server...250 Part V: Maintaining Your Enterprise Linux System...251 Chapter 16: Maintaining Your System with the Red Hat Network....................................253 Registering Your System...253 Configuring the Up2date Agent...256 Using the Red Hat Enterprise Linux Up2date Agent...259 Accessing the Red Hat Network with a Web Browser...262 Chapter 17: Administering Users and Groups...................267 Working with Users and Groups...267 Adding a new user...269 Adding a new group...270 Changing user properties...271 Changing group properties...272 Removing a user...273 Restricting Disk Usage with Quotas...274 Configuring disk quotas...274 Obtaining disk quota statistics...277 Chapter 18: Installing and Upgrading Software Packages........279 Managing Packages with the Red Hat Package Manager...279 Installing system packages...280 Removing system packages...282 Managing Applications from Binary rpm Files...282 Installing binary rpm files...283 Finding installed package files...284 Removing installed packages...285 Installing Applications from Compressed Zip Files...285

Table of Contents xv Chapter 19: Backing Up and Restoring Your Files................287 Planning Your Backup Strategy...287 Don t: Back up temp and cache files...287 Maybe: Back up OS files...288 Do: Back up database files and user files...288 Selecting Your Backup Media...289 Determining Your Backup Method...289 Enterprise Linux Backup Tools...292 Command line tools...292 Advanced tools...300 Part VI: The Part of Tens...311 Chapter 20: Ten Tips for Optimizing Your System................313 Optimizing the X Window System...313 Optimizing NFS...315 Optimizing Samba...316 Optimizing DNS...317 Optimizing Sendmail...318 Optimizing FTP...320 Optimizing Your Web Server...320 Building a Custom Kernel...321 Shutting Down Unused Services...322 Administering Your System by Using Webmin...325 Chapter 21: Ten Troubleshooting and Problem-Solving Tips.......329 Unable to Log In...329 Resetting a user s password...330 Creating a user account...330 Lost or forgotten root password...330 CD-ROM Drive Not Detected During Installation...331 CD-ROM Drive Does Not Mount After Installation...332 Sound Does Not Work After Installation...332 Unable to Unmount a Drive...333 System Hangs During Boot...334 Unable to Access Network Hosts...335 Making an Emergency Boot Disk...336 Shell Commands Don t Work...336 Sources of Additional Information...337

xvi Red Hat Enterprise Linux 4 For Dummies Part VII: Appendixes...339 Appendix A: Installing Red Hat Enterprise Linux................341 Exploring Your PC s Components...341 Processor...342 Bus type...342 Memory...343 Video card and monitor...343 Hard drive...344 Floppy disk drive...344 Keyboard and mouse...344 SCSI controller...345 CD-ROM drive...345 Sound card...345 Network card...345 Checking for Supported Hardware...346 Starting the Red Hat Enterprise Linux Installation...346 Partitioning the Hard Disk for Red Hat Enterprise Linux...349 Configuring Red Hat Enterprise Linux Installation...351 Configuring the boot loader...352 Configuring the network...353 Configuring the firewall...354 Configuring additional languages...356 Setting the time zone...356 Setting the root password...357 Selecting the package groups to install...357 Completing the Installation...359 Appendix B: What s on the CD-ROM?..........................361 Index...369