John wiley sons redhat linux 9 professional secrets2003

1.4K 533 0
John wiley  sons redhat linux 9 professional secrets2003

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

This document is created with the unregistered version of CHM2PDF Pilot < Day Day Up > Red Hat Linux Professional Secrets by Naba Barkakati ISBN:0764541331 John Wiley & Sons © 2003 (1038 pages) This ultimate under-the-hood guide to Red Hat Linux takes the reader beyond obvious information about this complicated OS, revealing hidden features, tricks and alternate methods not easily found elsewhere Table of Contents Red Hat Linux Professional Secrets Introduction Part I - Setting Up Red Hat Linux Ch apt - An Overview of Red Hat Linux er Ch apt - Red Hat Linux Installation er Ch apt - 3X Window System Setup er Ch apt - Printer Setup er Ch apt - Sound Setup er Ch apt - Network Setup er Part II - Exploring Red Hat Linux Ch apt - Red Hat Linux Basics er Ch apt - GNU Utilities er This document is created with the unregistered version of CHM2PDF Pilot Ch apt - GUI Desktops er Ch apt - Red Hat Linux Applications and Utilities er 10 Ch apt - Text Processing er 11 Ch apt - Basic System Administration er 12 Part III - Internetworking with Red Hat Linux Ch apt - Internet Connection Setup er 13 Ch apt - Web Server er 14 Ch apt - Mail Server er 15 Ch apt - News Server er 16 Ch apt - FTP Server er 17 Ch apt - DNS and NIS er 18 Ch apt - Samba and NFS er 19 Part IV - Managing Red Hat Linux Ch apt - Advanced System Administration er 20 This document is created with the unregistered version of CHM2PDF Pilot Ch apt - Software Installation and Update er 21 Ch apt - System and Network Security er 22 Part V - Programming Red Hat Linux Ch apt - Software Development in Linux er 23 Ch apt - Shell and Perl Scripting er 24 Ch apt - Tcl/Tk Scripting er 25 Ch apt - Java Programming er 26 Part VI - Appendixes Ap pe ndi - Linux Commands x A Ap pe ndi - Disk Drives x B Ap pe ndi - CD-ROM Drives x C Ap pe ndi - Ethernet Cards x D Ap pe - Modems and Terminals ndi xE This document is created with the unregistered version of CHM2PDF Pilot Ap pe - PC Cards ndi xF Ap pe ndi - Linux Resources x G Ap pe ndi - About the CD-ROMs x H Index List of Figures List of Tables List of Code Examples List of Sidebars < Day Day Up > This document is created with the unregistered version of CHM2PDF Pilot < Day Day Up > Back Cover It takes an expert to unlock the deepest secrets of Red Hat Linux to show you what s really under the hood and how to release its full potential From trouble-free installation to shell, Perl, and Tcl/Tk programming to setting up an Apache Server with SSL, this is the insider s guide to everything you ever wanted to know about Red Hat Linux About the Author Naba Barkakati is an electrical engineer and the author of more than two dozen computer books which have been translated into Greek, Chinese, Korean, Italian, and various other languages He is an authority on C/C++ programming as well as Linux systems and is currently a Senior Level Technologist at the Center for Technology and Engineering in the U.S General Accounting Office < Day Day Up > This document is created with the unregistered version of CHM2PDF Pilot < Day Day Up > Red Hat Linux Professional Secrets Naba Barkakati Copyright © 2003 by Naba Barkakati All rights reserved Published by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning, or otherwise, except as permitted under Section 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, Inc., 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8700 Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4447, E-mail: permcoordinator@wiley.com Limit of Liability/Disclaimer of Warranty: While the publisher and author have used their best efforts in preparing this book, they make no representations or warranties with respect to the accuracy or completeness of the contents of this book and specifically disclaim any implied warranties of merchantability or fitness for a particular purpose No warranty may be created or extended by sales representatives or written sales materials The advice and strategies contained herein may not be suitable for your situation You should consult with a professional where appropriate Neither the publisher nor author shall be liable for any loss of profit or any other commercial damages, including but not limited to special, incidental, consequential, or other damages For general information on our other products and services or to obtain technical support please contact our Customer Care Department within the United States at (800) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002 Trademarks: Wiley and the Wiley Publishing logo are trademarks or registered trademarks of John Wiley & Sons, Inc and/or its affiliates All other trademarks are the property of their respective owners Wiley Publishing, Inc., is not associated with any product or vendor mentioned in this book Wiley also publishes its books in a variety of electronic formats Some content that appears in print may not be available in electronic books This document is created with the unregistered version of CHM2PDF Pilot Library of Congress Control Number: 2003105672 ISBN: 0-7645-4133-1 Manufactured in the United States of America 10 1O/SS/QX/QT/IN is a trademark of Wiley Publishing, Inc Credits Executive Editor Chris Webb Acquisitions Editor Debra Williams Cauley Development Editor Kenyon Brown Technical Editor Matt Hayden Copy Editor Foxxe Editorial Services Editorial Manager Kathryn A Malm Project Coordinators Maridee Ennis Nancee Reeves Graphics and Production Specialists Beth Brooks Jennifer Click Sean Decker Heather Pope Quality Control Technicians John Tyler Connoley This document is created with the unregistered version of CHM2PDF Pilot Susan Moritz Kathy Simpson Permissions Editor Laura Moss Media Development Specialist Greg Stafford Media Development Coordinator Sarah Cummings Proofreader Sossity R Smith Indexer Tom Dinse About the Author Naba Barkakati is an electrical engineer and a successful computer-book author who has experience in a wide variety of systems, ranging from MS-DOS and Windows to UNIX and the X Window System He bought his first personal computer-an IBM PC-AT-in 1984 after graduating with a Ph.D in electrical engineering from the University of Maryland While pursuing a full-time career in engineering, Naba dreamed of writing software for the emerging PC software market As luck would have it, instead of building a software empire like Microsoft, he ended up writing successful computer books Currently, Naba is a senior level technologist at the Center for Technology and Engineering in the U.S General Accounting Office Over the past 14 years, Naba has written over 25 computer books on a number of topics ranging from Windows programming with C++ to Linux He has authored several best-selling titles such as The Waite Group's Turbo C++ Bible, Object-Oriented Programming in C++, X Window System Programming, Visual C++ Developer's Guide, and Borland C++ Developer's Guide His books have been translated into many languages, including Spanish, French, Polish, Greek, Italian, Chinese, Japanese, and Korean Naba's most recent book is Red Hat Linux All-in-One Desk Reference For Dummies, also published by Wiley Publishing, Inc Naba lives in North Potomac, Maryland, with his wife Leha, and their children, Ivy, Emily, and Ashley This book is dedicated to my wife, Leha, and daughters, Ivy, Emily, and Ashley CD-ROM Installation Instructions Insert the CD-ROMs into your CD-ROM drive The setup program on the CD-ROMs should start automatically, displaying a dialog with the options that you can install Select the options that you want to install and the drive and subdirectory into which you want to install the software For more information about installing the CD-ROMs, please refer to Appendix H This document is created with the unregistered version of CHM2PDF Pilot < Day Day Up > This document is created with the unregistered version of CHM2PDF Pilot < Day Day Up > Introduction If you are just beginning to use Linux, what you need is a practical guide that not only gets you going with the installation and set up of Linux, but also shows you how to use Linux for specific functions, such as a Web server or a software development platform Red Hat continues to improve its version of Linux The recently released Red Hat Linux includes many new system components, including the Linux 2.4.20 kernel, XFree86 4.3.0, GCC 3.2.2 compiler, and the glibc 2.3.2 system libraries The X Window System is XFree86 version 4.3.0 with support for many more new and powerful graphics cards than the previous versions Red Hat has improved the desktop experience by providing many more graphical tools to configure and manage the system For productivity applications, Red Hat includes the Mozilla Web browser, Ximian Evolution personal information manager, and the OpenOffice.org office suite Red Hat has also unified the look and feel of GNOME and KDE desktops, so the user feels at home regardless of the selected desktop There are many under-the-hood improvements as well For example, Red Hat Linux now uses the Common UNIX Printing System (CUPS) as the default printing system, and it includes the Native POSIX Thread Library, which offers performance improvements with Pentium Pro processors or better Red Hat Linux Professional Secrets follows the successful model of the Professional Secrets series and highlights crucial, little-known facts as 'secrets.' The focus is on providing insights into the inner workings of Red Hat Linux-which configuration files control what, which commands to type in what sequence to perform a key task In addition to these insights, the book also provides all the usual information on many of the applications-such as email, the Web, and news, plus graphics and text utilities-that are included on the book's companion CD-ROMs The book's companion CD-ROMs come with the Publisher's Edition of Red Hat Linux The CD-ROMs are packed with all the software needed to turn your PC into a powerful Linux desktop and server The book provides detailed technical information on installing and customizing Linux for use with various types of computers and peripherals The unique aspects of Red Hat Linux Professional Secrets are the details of how things work behind the scenes The book includes tips, techniques, shortcuts, and little-known facts about using Red Hat Linux in various real-world tasks that range from simply learning UNIX commands to setting up a secure, Java-capable Web server for your business By reading this book you can: • Learn how to install and set up Red Hat Linux from the CD-ROMs included with the book • Learn how to use various peripherals (video cards, hard disks, and network cards) in Red Hat Linux This document is created with the unregistered version of CHM2PDF Pilot < Day Day Up > Index Y y (sed command), 249 Yamaha sound cards, Linux driver module, 127 Yellow Pages, 528 yes (GNU shell utility), description, 230 ypbind daemon, NIS client setup, 531 yy command, vi text editor, 321 < Day Day Up > This document is created with the unregistered version of CHM2PDF Pilot < Day Day Up > Index Z zerombr option, kickstart, 70 zless command, groff, 333-334 zone files, DNS caching name server, 519-523 /var/named/named.ca file, 523-524 < Day Day Up > This document is created with the unregistered version of CHM2PDF Pilot < Day Day Up > List of Figures Chapter 2: Red Hat Linux Installation Figure 2-1: Right-Clicking on the Partition to Resize in PartitionMagic 8.0 Figure 2-2: Selecting Automatic Partitioning Options during Red Hat Linux Installation Figure 2-3: Partitions Automatically Created by the Red Hat Linux Installer Figure 2-4: Selecting and Configuring a Boot Loader Figure 2-5: Adding a Windows XP Partition to the List of Partitions to Boot Figure 2-6: Selecting Where to Install Boot Loader and Providing Kernel Options Figure 2-7: Setting up the Packet Filtering Firewall Built into Your System Figure 2-8: Selecting Package Groups to Install Figure 2-9: Selecting the Video Card for X Configuration Figure 2-10: Configuring the Monitor Figure 2-11: Customizing X and the Login Type Chapter 3: 3X Window System Setup Figure 3-1: A Typical Raster-Scan Display Figure 3-2: Main Window from redhat-config-xfree86 Figure 3-3: You Can Configure the Monitor and the Video Card from the Advanced Tab Figure 3-4: Configuring the Monitor in redhat-config-xfree86 Figure 3-5: Configuring the Video Card in redhat-config-xfree86 Figure 3-6: Selecting a Specific XFree86 Driver for Your Video Card Figure 3-7: Completing X Configuration with redhat-config-xfree86 Figure 3-8: Warning Message from xvidtune Figure 3-9: Adjust ModeLine Parameters from the Main Window of xvidtune Figure 3-10: Adjusting Display Settings from GNOME or KDE Chapter 4: Printer Setup Figure 4-1: The Main Window of the Printer Configuration Tool Figure 4-2: Set the Print Queue Name and Description Figure 4-3: Select the Print Queue Type Figure 4-4: Select a Printer Manufacturer and Model Figure 4-5: Finish Creating the New Print Queue Figure 4-6: Accessing the CUPS Web Interface at Port 631 Figure 4-7: Managing Printers through the CUPS Web Interface Figure 4-8: The CUPS Architecture Chapter 5: Sound Setup Figure 5-1: Sound Card Detected by redhat-config-soundcard Tool Figure 5-2: The GNOME CD Player Playing a Track from an Audio CD Figure 5-3: Selecting a Specific Audio Track to Play with the CD Player Chapter 6: Network Setup Figure 6-1: The OSI Seven-Layer Reference Model of Networking Figure 6-2: A Simplified Four-Layer TCP/IP Networking Model Figure 6-3: Classes of IP Addresses Figure 6-4: A Routing Device Allows Packet Exchange This document is created with the unregistered version of CHM2PDF Pilot between Two Networks Figure 6-5: Part of the Internet Domain-Name Hierarchy Figure 6-6: Configuring a TCP/IP Network with the Red Hat Network Configuration Tool Chapter 7: Red Hat Linux Basics Figure 7-1: Graphical Login Screen in Red Hat Linux Figure 7-2: Initial GNOME Desktop Figure 7-3: The Linux File System Provides a Unified View of Storage That May Span Multiple Drives Figure 7-4: A Typical Linux Pathname Figure 7-5: My Home Directory, as It Appears in Nautilus Chapter 9: GUI Desktops Figure 9-1: Graphical Login Screen Managed by gdm Figure 9-2: Switching to KDE by Using the Desktop Switching Tool Figure 9-3: Switching to GNOME for the Current Session Only Figure 9-4: Graphical Login Screen Managed by kdm Figure 9-5: The Initial GNOME Desktop, with the Default Session File Figure 9-6: Accessing the Main Menu in GNOME Figure 9-7: The Initial KDE Desktop Figure 9-8: Viewing the Main Menu in KDE Figure 9-9: Customizing the Desktop Background with KDE Control Center Chapter 10: Red Hat Linux Applications and Utilities Figure 10-1: Editing Several Files with gedit Figure 10-2: Setting Up Evolution for the First Time Figure 10-3: Main Window of Ximian Evolution Figure 10-4: Keeping Track of Appointments in Evolution's Calendar Figure 10-5: Preparing Documents in OpenOffice.org Writer Figure 10-6: Preparing Spreadsheets Using OpenOffice.org Calc Figure 10-7: Preparing Briefing Packages in OpenOffice.org Impress Figure 10-8: The GNOME Calculator Figure 10-9: The Initial Windows Displayed by the GIMP Figure 10-10: Opening an Image with the GIMP Figure 10-11: A Sample Drawing That xfig Displays Figure 10-12: Running Gnuplot in a Terminal Window Figure 10-13: Plotting sin(x) in Gnuplot Figure 10-14: A 3D Plot of the World in Gnuplot Figure 10-15: Ghostscript Displaying a PostScript File Figure 10-16: KGhostview Displaying a PostScript File Chapter 11: Text Processing Figure 11-1: A File Displayed in a Full-Screen Text Window by the vi Editor Figure 11-2: The Initial Window That the X Version of GNU Emacs Displays Figure 11-3: GNU Emacs Displays the Online Tutorial After You Press C-h t Figure 11-4: GNU Emacs Displays the Key Bindings in a Split Window After You Press C-h b Figure 11-5: Output of the man zless Command in a Terminal Window Figure 11-6: Output of the man satview Command in a Terminal Window Figure 11-7: Displaying HTML Version of Sample DocBook in a Web Browser Figure 11-8: Chunked HTML Version of DocBook Chapter 12: Basic System Administration Figure 12-1: Providing the Root Password for GUI Tools That Need Root Privileges Figure 12-2: Red Hat User Manager Window Figure 12-3: Entering Information for a New User Figure 12-4: Meaning of Fields in a Typical /etc/passwd Entry Figure 12-5: The Initial Start Here Window, After You Double-Click the Start Here Icon on the Desktop Figure 12-6: System Settings Icons Figure 12-7: Mounting Devices on the Red Hat Linux File System Figure 12-8: Mounting a DOS/Windows FAT Partition on the /dosc Directory Figure 12-9: Naming Convention for This document is created with the unregistered version of CHM2PDF Pilot the Floppy Disk Drive in Red Hat Linux Chapter 13: Internet Connection Setup Figure 13-1: Connecting to the Internet Using DSL Figure 13-2: Typical Residential DSL Connection Figure 13-3: Connecting a LAN to Internet through a NAT Router and DSL Modem Figure 13-4: High-Speed Internet Access over the Cable TV Network Figure 13-5: Splitting the Cable TV Signal between the TV and the Cable Modem Figure 13-6: Sharing a Cable Modem Internet Connection with Several PCs in a LAN Figure 13-7: Connecting a Mixed Wired and Wireless Ethernet LAN to the Internet Figure 13-8: Sending Digital Data over a Modem Figure 13-9: The Format of a PPP Frame Figure 13-10: Configuring a New Modem Connection Figure 13-11: Click Activate in the Network Configuration Dialog Box to Establish the PPP Connection Chapter 14: Web Server Figure 14-1: A Uniform Resource Locator (URL) Is Composed of Various Parts Figure 14-2: The URL www.gao.gov Viewed with the Mozilla Web Browser Figure 14-3: The Mozilla Web Browser in Action Chapter 15: Mail Server Figure 15-1: Interactions between MUAs and MTAs When Sending Email Chapter 17: FTP Server Figure 17-1: The gFTP Window after Connecting to a Remote FTP Server Chapter 18: DNS and NIS Figure 18-1: Sample Domain Names Illustrating the Hierarchical DNS Namespace Figure 18-2: Components of a Fully Qualified Domain Name Chapter 20: Advanced System Administration Figure 20-1: Using the Red Hat Service Configuration Utility to Select the Services You Want to Start Automatically Figure 20-2: Application Accessing Devices through Device Drivers Figure 20-3: Viewing top CPU Processes Figure 20-4: Viewing Current Processes in the System Monitor Figure 20-5: Graphical Display of CPU and Memory Usage History Chapter 21: Software Installation and Update Figure 21-1: The Main Window of the Package Management Utility Figure 21-2: Viewing a Package Group's Detailed Contents Figure 21-3: Information about Disk Space Required to Install a Package Group Figure 21-4: Playing MP3 Music with XMMS Figure 21-5: Creating a New Account with the Red Hat Network This document is created with the unregistered version of CHM2PDF Pilot Chapter 22: System and Network Security Figure 22-1: An Organization-wide Framework for Computer Security Figure 22-2: Bob and Alice Can Communicate Securely with Public-Key Encryption Figure 22-3: Alice Can Digitally Sign Her Message So That Bob Can Tell It's Really from Her Figure 22-4: Packet Filtering with a Screening Router Provides a Simple Firewall Figure 22-5: A Dual-Homed Host Can Act as an Internet Firewall Figure 22-6: A More Complete Internet Firewall Includes a Perimeter Network and Bastion Hosts Figure 22-7: A Proxy Server Lets Internal Hosts Access Internet Servers Figure 22-8: Setting the Security Level with a GUI Tool Figure 22-9: Simplified View of the iptables Processing Chains Chapter 23: Software Development in Linux Figure 23-1: The Terminal Window after Typing info at the Shell Prompt Figure 23-2: The Info Window, Showing the Top-Level Help on GCC Figure 23-3: The Info Window, Showing the First Page of the GNU General Public License (GPL) Chapter 25: Tcl/Tk Scripting Figure 25-1: The Result of Running wish from a Terminal Window Figure 25-2: Interactively Creating a Label and a Button in wish Figure 25-3: The Result of Running the hellotk Script Figure 25-4: Relationship between Widget Names and the Widget Hierarchy Figure 25-5: A Tk Script That Demonstrates How to Implement toolhelp Messages Chapter 26: Java Programming Figure 26-1: Running the 'Hello, World!' Java Applet in appletviewer Figure 26-2: C's FILE Type as an Example of Abstract Data Type (ADT) Figure 26-3: Running the Clock Applet in the appletviewer Figure 26-4: The Layered Model of Java Foundation Classes (JFC) Figure 26-5: The Model-View-Controller (MVC) Architecture of Smalltalk-80 Figure 26-6: The Modified MVC Architecture Used by Swing Components Figure 26-7: The ViewCal Application Displaying a Monthly Calendar Figure 26-8: The Interrelationships among the Web Browser, Web Server, and Servlets Figure 26-9: A Book Order Form in HTML Figure 26-10: The OrderBooks Servlet Displays What the User Entered in the Book Order Form Appendix D: Ethernet Cards Figure D-1: A 10BaseT Ethernet LAN Using a Hub Appendix E: Modems and Terminals Figure E-1: A Modem Bridges the Digital World of PCs and the Analog World of Telephones < Day Day Up > This document is created with the unregistered version of CHM2PDF Pilot < Day Day Up > List of Tables Chapter 2: Red Hat Linux Installation Table 2-1: Virtual Consoles Available During Red Hat Linux Installation Table 2-2: List of Package Groups in Red Hat Linux Table 2-3: Linux Boot Commands for Red Hat Linux Installation Table 2-4: kickstart Options Chapter 4: Printer Setup Table 4-1: System V and BSD Print Commands Chapter 5: Sound Setup Table 5-1: Supported Sound Cards Table 5-2: Standard Sound Device Filenames in Linux Chapter 6: Network Setup Table 6-1: Columns in the Kernel Interface Table Chapter 7: Red Hat Linux Basics Table 7-1: Some Linux HOWTO Files Table 7-2: Linux System Directories Table 7-3: Important /usr Subdirectories Table 7-4: Important /var Subdirectories Table 7-5: Character Sequences in the PS1 Environment Table 7-6: Common Standard I/O Redirections Table 7-7: Useful Bash Environment Variables Chapter 8: GNU Utilities Table 8-1: Well-Known GNU Software Packages Table 8-2: GNU Shell Utilities Table 8-3: GNU File Utilities Table 8-4: GNU Text Utilities Table 8-5: GNU Binary Utilities Table 8-6: Commonly Used sed Commands Chapter 9: GUI Desktops Table 9-1: The gdm Configuration Options Table 9-2: Common kdm Configuration Options This document is created with the unregistered version of CHM2PDF Pilot Chapter 10: Red Hat Linux Applications and Utilities Table 10-1: Linux Applications on the CD-ROMs Chapter 11: Text Processing Table 11-1: Commonly Used ed Commands Table 11-2: Basic vi Commands Table 11-3: GNU Emacs help Commands Chapter 12: Basic System Administration Table 12-1: Meaning of the Fields in /etc/passwd File Table 12-2: Meaning of Fields in /etc/group File Table 12-3: The mtools Commands Chapter 13: Internet Connection Setup Table 13-1: Comparison of Dial-Up, DSL, and Cable Table 13-2: Settings in Configuration File for a Wireless Ethernet Network Interface Table 13-3: Settings in Configuration File for a PPP Network Interface Chapter 14: Web Server Table 14-1: LogFormat Tokens Chapter 15: Mail Server Table 15-1: Control Operators Used in sendmail.cf Chapter 16: News Server Table 16-1: Major Newsgroup Categories Table 16-2: Configuration Parameters in /etc/news/inn.conf Chapter 17: FTP Server Table 17-1: List of Commonly Used FTP Commands Chapter 18: DNS and NIS This document is created with the unregistered version of CHM2PDF Pilot Table 18-1: Common DNS Resource Record Types Chapter 19: Samba and NFS Table 19-1: Options in /etc/exports Table 19-2: Common smbclient Commands Chapter 20: Advanced System Administration Table 20-1: Valid Actions in /etc/inittab Table 20-2: Some Common Services in Red Hat Linux Table 20-3: Specifying the Time of Execution with the at Command Table 20-4: Specifying the Time of Execution in crontab Files Table 20-5: Script Directories for run-parts Table 20-6: Device Names for Common Backup Devices Table 20-7: Common tar Options Table 20-8: Commands to Manage Kernel Modules Table 20-9: Column Headings in the Top Utility's Display Screen Table 20-10: vmstat Utility Output Fields Table 20-11: Typical Files and Directories in /proc Table 20-12: Some Kernel Parameters in the /proc/sys Directory Chapter 21: Software Installation and Update Table 21-1: Characters Used in RPM Verification Reports Table 21-2: Common File System Configuration Options Chapter 22: System and Network Security Table 22-1: Commonly Used Computer Security Terminology Table 22-2: File Permission Codes Table 22-3: Components of the OpenSSH Software Table 22-4: Some Common Computer Vulnerability Types Table 22-5: Important System Files and Their Permissions Table 22-6: Ownership and Permission of Password Files Table 22-7: Some Popular Computer Security Tools Chapter 23: Software Development in Linux Table 23-1: Commonly Used GCC Options Table 23-2: Some Predefined Variables in GNU make Table 23-3: Options for GNU make Table 23-4: Commonly Used gdb Commands Table 23-5: RCS Tools Table 23-6: Identification Keywords RCS Supports Chapter 24: Shell and Perl Scripting Table 24-1: Summary of Built-in Commands in Bash Shell Table 24-2: Rules for Interpreting Regular Expression Characters Table 24-3: A Quick Reference Guide to Perl Functions Chapter 25: Tcl/Tk Scripting Table 25-1: Backslash Sequences and Their Meanings in Tcl Table 25-2: Built-in Tcl Commands Table 25-3: This document is created with the unregistered version of CHM2PDF Pilot Operations You Can Perform with String in Tcl Table 25-4: Tk Commands for Creating Widgets Table 25-5: Tk Commands for Manipulating Widgets Table 25-6: Different Forms of the pack Command Table 25-8: Forms of the place Command Table 25-10: Some Commonly Used Keysyms Chapter 26: Java Programming Table 26-1: Java SDK Content Summary Table 26-2: Java's Primitive Data Types Table 26-3: Methods of the String Class Table 26-4: Summary of Some Swing Component Classes Appendix A: Linux Commands Table A-1: Linux Commands Appendix B: Disk Drives Table B-1: Supported SCSI Controllers Appendix C: CD-ROM Drives Table C-1: CD-ROM Drives with Proprietary Interfaces Table C-2: CD-ROM Device Names for Proprietary Interfaces Appendix D: Ethernet Cards Table D-1: Ethernet Cards and Their Linux Drivers Table D-2: Arguments for ether Appendix E: Modems and Terminals Table E-1: IRQ and I/O Port Addresses Assigned to Serial Ports Table E-2: Device Names for Incoming and Outgoing Serial Ports Table E-3: Modem Standards Table E-4: Responses* from a Typical Modem Table E-5: Linux Drivers for Intelligent Multiport Serial Boards Appendix G: Linux Resources Table G-1: Linux Newsgroups on the Internet < Day Day Up > This document is created with the unregistered version of CHM2PDF Pilot < Day Day Up > List of Code Examples Chapter 26: Java Programming Listing 26-1: The HelloWorld Java Applet Listing 26-2: A GUI Application to Display the Calendar for Any Month Listing 26-3: The OrderBooks.html File, Which Displays the Book Order Form Listing 26-4: The OrderBooks Servlet, Which Processes a Book Order Form < Day Day Up > This document is created with the unregistered version of CHM2PDF Pilot < Day Day Up > List of Sidebars Introduction Secret Chapter 1: An Overview of Red Hat Linux Secret Secret Secret Secret Chapter 2: Red Hat Linux Installation Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Chapter 3: 3X Window System Setup Secret Secret Secret Secret Secret Secret Secret Secret Secret Chapter 4: Printer Setup Secret Secret Secret Secret Chapter 5: Sound Setup Secret Secret Secret Secret Chapter 6: Network Setup Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Chapter 7: Red Hat Linux Basics This document is created with the unregistered version of CHM2PDF Pilot Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Chapter 8: GNU Utilities Secret Secret Secret Secret Secret Chapter 9: GUI Desktops Secret Secret Secret Secret Secret Secret Chapter 10: Red Hat Linux Applications and Utilities Secret Secret Secret Secret Secret Secret Secret Chapter 11: Text Processing Secret Secret Secret Secret Secret Secret Secret Secret Secret Chapter 12: Basic System Administration Secret Secret Secret Secret Secret Secret Secret Secret Chapter 13: Internet Connection Setup Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Chapter 14: Web Server Secret Secret Secret Secret Secret Secret Secret Secret Chapter 15: Mail Server Secret Secret Secret Secret Secret Secret Secret Secret Chapter 16: News Server This document is created with the unregistered version of CHM2PDF Pilot Secret Secret Secret Secret Secret Secret Chapter 17: FTP Server Secret Secret Secret Secret Understanding the /etc/vsftpd.ftpusers File Learning the Key Features of Anonymous FTP Chapter 18: DNS and NIS Secret Secret Learning More about DNS and BIND Secret Secret Secret Secret Secret Secret Secret Chapter 19: Samba and NFS Secret Secret Accessing the Samba Server from Windows Chapter 20: Advanced System Administration Secret Secret Secret Looking at the /etc/crontab File Secret Performing Automated Backups Secret Secret Understanding Load Averages Secret Secret Chapter 21: Software Installation and Update Secret Secret Secret Secret Secret Reconfiguring GRUB Secret Creating a Monolithic versus a Modular Kernel Secret Secret Secret Chapter 22: System and Network Security Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Chapter 23: Software Development in Linux Secret Secret Secret Secret Secret Chapter 24: Shell and Perl Scripting Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Chapter 25: Tcl/Tk Scripting This document is created with the unregistered version of CHM2PDF Pilot Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret Chapter 26: Java Programming Secret Secret Secret Secret Secret Secret Secret Secret Secret Secret < Day Day Up > ... (800) 762- 297 4, outside the United States at (317) 572- 399 3 or fax (317) 572-4002 Trademarks: Wiley and the Wiley Publishing logo are trademarks or registered trademarks of John Wiley & Sons, Inc... versions of Red Hat Linux on a regular basis For example, Red Hat Linux 5.2 came out in November 199 8, 6.0 in April 199 9, 7.0 in September 2000, 8.0 in September 2002, and Red Hat Linux on March 31,... LSB certification program, and by now a number of Linux systems, such as Red Hat Linux 8.0, Mandrake Linux ProSuite 9. 0, SuSE Linux 8.1, and UnitedLinux 1.0 LSB, are certified to be LSB 1.2 compliant

Ngày đăng: 24/05/2018, 08:12

Mục lục

    Red Hat Linux 9 Professional Secrets

    Conventions Used in This Book

    About the Companion CD-ROMs

    Part I: Setting Up Red Hat Linux

    Chapter 1: An Overview of Red Hat Linux

    What Is Red Hat Linux?

    Linux as a UNIX Platform

    Software Development in Linux

    Linux as an Internet On-Ramp

    Chapter 2: Red Hat Linux Installation

Tài liệu cùng người dùng

Tài liệu liên quan