Red Hat Fedora 4 Unleashed - Paul Hudson, Andrew Hudson, Bill Ball, Hoyt Duff

Red Hat Fedora 4 Unleashed

Media-Kombination
1176 Seiten
2005
Sams Publishing
978-0-672-32792-6 (ISBN)
54,45 inkl. MwSt
zur Neuauflage
  • Titel erscheint in neuer Auflage
  • Artikel merken
Zu diesem Artikel existiert eine Nachauflage
Helps you gain a understanding of Linux networking and system administration issues. This book covers applications, web development, peripherals and programming languages. It also provides you with information you need to know about the installation, configuration, system administration, server operations and security.
Master Red Hat Fedora 4 with the most comprehensive guide to the latest version of Red Hat's open-community Fedora Linux Distribution available. Red Hat Fedora 4 Unleashed will help you gain a greater understanding of intermediate-level Linux networking and system administration issues. Also included is coverage on the new applications, web development, peripherals and programming languages involved with this latest Red Hat Linux distribution. In keeping with the tradition of offering the best and most comprehensive coverage of Red Hat Linux on the market of the previous editions, Red Hat Fedora 4 Unleashed will provide you with everything you need to know about the installation, configuration, system administration, server operations and security of Red Hat Fedora 4.

Red Hat Fedora 4 UnleashedAbout the Authors Andrew Hudson is a regular contributor to Linux Format magazine, the UK's largest Linux magazine. His particular area of expertise is Red Hat–based distributions, including Red Hat Enterprise Linux and the Fedora Project, having worked with the original Red Hat Linux since version 5. Seemingly obsessed with performance, he spends many an evening trying to squeeze more performance out of legacy hardware. Andrew lives in Wiltshire, England, with his wife Bernice who is currently expecting their first child. Andrew does not like Emacs. Andrew can be contacted at andy.hudson@gmail.com. Paul Hudson is a recognized expert in open-source technologies. He is a professional developer and full-time journalist for Future Publishing. His articles have appeared in Mac Format, PC Answers, PC Format, PC Plus, and Linux Format. Paul is passionate about Free Software in all its forms and uses a mix of Linux and BSD to power his desktops and servers. Paul likes Emacs. Paul can be contacted through http://hudzilla.org. Bill Ball is the best-selling author of nearly 20 books about Linux, including several editions of Red Hat Linux Unleashed, Que Publishing's Using Linux, and Sams Publishing's SuSE Linux Unleashed. He is a technical writer, editor, and magazine journalist and has been using computers for nearly 30 years. He first edited books for Que in 1986 and wrote one of the first best-selling Linux books, Teach Yourself Linux in 24 Hours, in 1997. He has authored articles and reviews in Linux Journal, developed technical online content for business websites, and developed and released open-source software for the Mac OS and Palm OS platforms. He has been a fan of Linux and XFree86 since 1994 and uses the software on Intel-based PCs, Apple PowerMacs, and MIPS platforms. Bill is an active member of the Northern Virginia Linux Users Group (NOVALUG); teaches Linux courses at Stratford University in Falls Church, Virginia; and lives in the Shirlington area of Arlington, Virginia. He can be contacted through http://www.tux.org/~bball. Hoyt Duff feels that a good word to describe his life experience is "former"—former senior vice president and senior commercial loan officer for a bank, former community college instructor, former restaurateur, and former special education teacher. He currently meets the needs of his inner ADD child by spending the summer months tending to his family business, a sport fishing pier (the longest on the East Coast), and playing cocktail piano on weekends. Hoyt even finds time to write about Linux as a columnist and regular contributor of reviews and tutorial for Linux Format magazine. Active in the TideWater Unix Users Group (http://www.twuug.org), Hoyt enjoys the regular Linux installfests the most and will attempt to install Linux on anything that moves. Hoyt can be contacted at hoyt@maximumhoyt.com. © Copyright Pearson Education. All rights reserved.

Introduction.

    What Is Linux?

      What Is Fedora Core?

      Roots of Red Hat and Fedora.

      Licensing.

    Why Use Linux?

    Who This Book Is For.

    What This Book Contains.

    Conventions Used in This Book.

I. INSTALLATION AND CONFIGURATION.

1. Introducing Fedora.

    What Is Fedora Core?

      Inside Fedora Core.

      Features of the Fedora Install.

      Fedora File System Features.

    Fedora for Business.

    Fedora in Your Home.

    64-bit Fedora.

    Getting the Most from Fedora and Linux Documentation.

    Fedora Developers and Documentation.

    Reference.

2. Preparing to Install Fedora.

    Planning Your Fedora Deployment.

      Business Considerations.

      System Considerations.

      User Considerations.

      A Predeployment Planning Checklist.

      Planning the Installation.

    Hardware Requirements.

      Meeting the Minimum Fedora Core Hardware Requirements.

      Using Legacy Hardware.

      Planning for Hard Drive Storage for Your Fedora Installation Class.

      Checking Hardware Compatibility.

      Preparing for Potential Hardware Problems.

      Preparing and Using a Hardware Inventory.

    Preparing for the Install Process.

      Preparing to Install from a CD-ROM.

    Partitioning Before and During Installation.

      Choosing a Partitioning Scheme.

      Hosting Parts of the Linux File System on Separate Partitions.

    Using Fedora’s kickstart Installation Method.

    Reference.

3. Installing Fedora.

    Before You Begin the Installation.

      Research Your Hardware Specifications.

      Choose an Installation Type.

      Choose Software Installation Options.

      Planning Partition Strategies.

      The Boot Loader.

    Choosing How to Install Fedora.

      Installing from CD or DVD.

      Installing Using a Network.

    Step-by-Step Installation.

      Starting the Install.

      Partitioning Your Drive.

      Choosing, Configuring, and Installing the Boot Loader.

      Network Configuration.

      Firewall and Security Configuration.

      Setting the Time Zone.

      Creating a Root Password and User Accounts.

      Software Selection and Installation.

      Creating a Boot Disk.

      Finishing the Install.

    Logging In and Shutting Down.

    Reference.

4. Post-Installation Configuration.

    Troubleshooting Post-Installation Configuration Problems.

    Your Hardware and Kudzu.

    Pointer and Keyboard Configuration.

      Configuring Keyboards with Linux.

      Configuring Pointing Devices in Fedora.

    Configuring Display Graphics.

    Configuring Sound Devices.

    Detecting and Configuring a Modem.

      Configuring a Serial-Port Modem.

      Configuring a Fax Modem.

      Configuring minicom for Modem Use.

      Configuring WinModems for Laptops.

    Configuring Power-Management in Fedora.

    Resetting the Date and Time.

      Using the date Command.

      Using the hwclock Command.

      Using the system-config-date Client.

    Managing PCMCIA.

      Using PCMCIA.

      Controlling PCMCIA Service.

    Configuring and Using CD, DVD, and CD-RW Drives.

      Checking Drive Assignment.

      Initializing FireWire CD Drives.

    Reference.

5. First Steps with Fedora.

    Working with the Linux File System.

      Viewing the Linux File System.

      Use Essential Commands from the /bin and /sbin Directories.

      Store the Booted Kernel and View Stored Devices in the /boot and /dev Directories.

      Use and Edit Files in the /etc Directory.

      Protect the Contents of User Directories–/home.

      Use the Contents of the /proc Directory to Interact with the Kernel.

      Work with Shared Data in the /usr Directory.

      Temporary File Storage in the /tmp Directory.

      Access Variable Data Files in the /var Directory.

    Logging In to and Working with Linux.

      Text-based Console Login.

      Working with Virtual Consoles.

      Using Simple Keyboard and Mouse Techniques in a Linux Console Session.

      Logging Out.

      Logging In and Out from a Remote Computer.

    Changing Your User Information.

    Reading Documentation.

      Using man Pages.

      Finding and Reading Software Packages Documentation.

    Using the Shell.

      Using Environment Variables.

      Navigating and Searching with the Shell.

      Managing Files with the Shell.

      Compressing and Decompressing Files through the Shell.

    Using the Text Editors.

      Working with vi.

      Working with emacs.

    Working with Permissions.

      Assigning Permissions.

      Directory Permissions.

      Understanding Set User ID and Set Group ID Permissions.

    Working As root.

      Creating Users.

      Deleting Users.

      Shutting Down the System.

      Rebooting the System.

    Reference.

II. FEDORA DESKTOP.

6. The X Window System.

    Basic X Concepts.

    Using X11R6.

      Elements of the xorg.conf File.

      Configuring X.

    Starting X.

      Using a Display Manager.

      Starting X from the Console by Using startx.

    Selecting and Using Window Managers.

      Using Fedora’s switchdesk.

      The Tab Window Manager (twm).

      The Motif Window Manager (mwm).

    The GNOME and KDE Desktop Environments.

      GNOME: The GNU Network Object Model Environment.

      KDE: The K Desktop Environment.

    Reference.

7. Managing Software and System Resources.

    Using RPM for Software Management.

      Command-Line and Graphical RPM Clients.

      Using rpm on the Command Line.

      Package Organization with RPM.

      Extracting a Single File from an RPM File.

      Graphical Package Management.

    Using Red Hat Network and Alternatives for Software Management.

      apt.

      Yum.

    Compiling Software from Source.

      Building RPMS from src.rpm Files.

      Working with Source RPM Files.

      Compile from Source Tarballs.

    Reference.

8. On the Internet: Surfing the Web, Writing Email, and Reading the News.

    Choosing a Web Browser.

      Mozilla Firefox.

      The Mozilla Suite.

      Epiphany.

      Konqueror.

    Choosing an Email Client.

      Evolution.

      Mozilla Thunderbird.

      Balsa.

      KMail.

      Mozilla Mail.

      The mail Application.

      Mutt.

      Other Mail Clients.

    An Overview of Network News.

      Newsgroups.

    Selecting a Newsreader.

      The slrn News Client.

      The Pan News Client.

      The KNode News Client.

      The Mozilla News Client.

      The Thunderbird News Client.

    Collaborating with TWiki.

    Internet Relay Chat.

    Internet Messaging with GAIM.

    Videoconferencing with GnomeMeeting.

    Reference.

9. Productivity Applications.

    Office Suites for Fedora.

      Working with OpenOffice.org.

      Working with GNOME Office.

      Working with KOffice.

    PDA Connectivity.

      Command-Line PDA Software for Fedora.

      GUI PDA Client Software.

    Scanner Applications for Fedora.

    Web Design Tools.

    Fax Client Software.

    Other Office and Productivity Tools Included with Fedora.

    Productivity Applications Written for Microsoft Windows.

    Reference.

10. Multimedia Applications.

    Burning CDs and DVDs in Fedora Core Linux.

      Creating CDs from the Command Line.

      Creating DVDs from the Command Line.

      Creating CDs with Fedora’s Graphical Clients.

    Sound and Music.

      Sound Cards.

      Recording Sound.

      Sound Formats.

      Music Players.

      Streaming Audio.

    Viewing TV and Video.

      TV and Video Hardware.

      Video Formats.

      Viewing Video in Linux.

      Viewing Television with Linux.

      Personal Video Recorders.

      DVD and Video Players.

    Using Still Cameras with Fedora Core Linux.

      Webcams.

      Handheld Digital Cameras.

    Using Scanners in Fedora Core Linux.

    Graphics Manipulation.

      The GNU Image Manipulation Program.

      Working with Graphics Formats.

      Capturing Screen Images.

    Reference.

11. Printing with Fedora.

    Overview of Fedora Printing.

    Configuring and Managing Print Services.

      GUI-based Printer Configuration Quickstart.

      Console-based Printer Configuration Quickstart.

      Managing Printing Services.

    Creating and Configuring Local Printers.

      Creating the Print Queue.

      Editing Printer Settings.

    Reference.

12. Games.

    Linux Gaming.

      Installing Proprietary Video Drivers.

      Installing Doom 3.

      Installing Unreal Tournament 2004.

      Installing Wolfenstein–Enemy Territory.

      Playing Windows Games with Cedega.

    Reference.

III. SYSTEM ADMINISTRATION.

13. Managing Users.

    User Accounts.

      User IDs and Group IDs.

      File Permissions.

    Managing Groups.

      Group Management Tools.

    Managing Users.

      User Management Tools.

      Adding New Users.

      Monitoring User Activity on the System.

    Managing Passwords.

      System Password Policy.

      The Password File.

      Shadow Passwords.

      Managing Password Security for Users.

      Changing Passwords in a Batch.

    Granting System Administrator Privileges to Regular Users.

      Temporarily Changing User Identity with the su Command.

      Granting Root Privileges on Occasion–The sudo Command.

      Control Via Restricted Shells.

    The User Login Process.

    Disk Quotas.

      Implementing Quotas.

      Manually Configuring Quotas.

    Reference.

14. Automating Tasks.

    Running Services at Bootup.

      Beginning the Boot Loading Process.

      Loading the Linux Kernel.

      System Services and Runlevels.

      Runlevel Definitions.

      Booting into the Default Runlevel.

      Booting to a Non-Default Runlevel with GRUB.

      Understanding init Scripts and the Final Stage of Initialization.

      Controlling Services at Boot with Administrative Tools.

      Running Services Through xinetd.

      Changing Runlevels.

      Troubleshooting Runlevel Problems.

    Starting and Stopping Services Manually.

    Scheduling Tasks.

      Using at and batch to Schedule Tasks for Later.

      Using cron to Run Jobs Repeatedly.

    Basic Shell Control.

      The Shell Command Line.

      Shell Pattern-Matching Support.

      Redirecting Input and Output.

      Piping Data.

      Background Processing.

    Writing and Executing a Shell Script.

      Running the New Shell Program.

      Storing Shell Scripts for Systemwide Access.

      Interpreting Shell Scripts Through Specific Shells.

      Using Variables in Shell Scripts.

      Assigning a Value to a Variable.

      Accessing Variable Values.

      Positional Parameters.

      A Simple Example of a Positional Parameter.

      Using Positional Parameters to Access and Retrieve Variables from the Command Line.

      Using a Simple Script to Automate Tasks.

      Built-in Variables.

      Special Characters.

      Use Double Quotes to Resolve Variables in Strings with Embedded Spaces.

      Using Single Quotes to Maintain Unexpanded Variables.

      Using the Backslash As an Escape Character.

      Using the Backtick to Replace a String with Output.

      Comparison of Expressions in pdksh and bash.

      Comparing Expressions with tcsh.

      The for Statement.

      The while Statement.

      The until Statement.

      The repeat Statement (tcsh).

      The select Statement (pdksh).

      The shift Statement.

      The if Statement.

      The case Statement.

      The break and exit Statements.

      Using Functions in Shell Scripts.

    Reference.

15. System Resources.

    System Monitoring Tools.

      Console-based Monitoring.

      Using the kill Command to Control Processes.

      Using Priority Scheduling and Control.

      Displaying Free and Used Memory with free.

      Disk Quotas.

      Graphical Process and System Management Tools.

      KDE Process and System Monitoring Tools.

    Reference.

16. Backing Up, Restoring, and Recovery.

    Choosing a Backup Strategy.

      Why Data Loss Occurs.

      Assessing Your Backup Needs and Resources.

      Evaluating Backup Strategies.

      Making the Choice.

    Choosing Backup Hardware and Media.

      Removable Storage Media.

      Network Storage.

      Tape Drive Backup.

    Using Backup Software.

      tar: The Most Basic Backup Tool.

      Backing Up Files with cpio.

      The GNOME File Roller.

      The KDE Archiving Tools (KDE ark and kdat).

      Using the dd Command for Archiving.

      Using the Amanda Backup Application.

      Alternative Backup Software.

    Copying Files.

      Copying Files Using tar.

      Compressing, Encrypting, and Sending tar Streams.

      Copying Files Using cp.

      Copying Files Using cpio.

      Copying Files Using mc.

      Copying Files Using scp.

      Copying Files Using rsync.

    Undeleting Files.

      Using the ext2fs Undeletion Process.

      Reformatting with the -S Option When Experiencing Unrecoverable File System Errors.

      Undeleting Files Using mc.

    System Rescue.

      The Fedora Core Rescue Disc.

      Backing Up and Restoring the Master Boot Record.

      Manually Restoring the Partition Table.

      Booting the System from the Rescue CD.

      Booting the System from a Generic Boot Floppy.

      Using a GRUB Boot Floppy.

      Using the Recovery Facility from the Installation Disc.

    Reference.

17. Network Connectivity.

    Networking with TCP/IP.

      TCP/IP Addressing.

      Using IP Masquerading in Fedora.

      Ports.

    Network Organization.

      Subnetting.

      Subnet Masks.

      Broadcast, Unicast, and Multicast Addressing.

    Hardware Devices for Networking.

      Network Interface Cards.

      Network Cable.

      Hubs.

      Routers and Bridges.

      Initializing New Network Hardware.

    Using Network Configuration Tools.

      Command-Line Network Interface Configuration.

      Network Configuration Files.

      Using Graphical Configuration Tools.

    Dynamic Host Configuration Protocol.

      How DHCP Works.

      Activating DHCP at Installation and Boot Time.

      DHCP Software Installation and Configuration.

      Using DHCP to Configure Network Hosts.

      Other Uses for DHCP.

    Wireless Networking.

      Support for Wireless Networking in Fedora.

      Cellular Networking.

      Advantages of Wireless Networking.

      Choosing from Among Available Wireless Protocols.

      Using Patches/Upgrades to Keep Your Network Secure.

    Reference.

      General.

      DHCP.

      Wireless.

      Books.

18. Internet Connectivity.

    Common Configuration Information.

    Laying the Foundation: The localhost Interface.

      Checking for the Availability of the Loopback Interface.

      Configuring the Loopback Interface Manually.

    Configuring Dial-up Internet Access.

      Configuring a Dial-up Connection Manually.

      Using the Fedora Core Internet Configuration Wizard.

    Configuring Digital Subscriber Line Access.

      Understanding Point-to-Point Protocol over Ethernet.

      Configuring a PPPoE Connection Manually.

    Troubleshooting Connection Problems.

    Configuring a Dial-in PPP Server.

    Reference.

IV. FEDORA AS A SERVER.

19. Apache Web Server Management.

    About the Apache Web Server.

    Installing the Apache Server.

      Installing from the RPM.

      Building the Source Yourself.

    Starting and Stopping Apache.

      Starting the Apache Server Manually.

      Using /etc/rc.d/init.d/httpd.

      Controlling Apache with Red Hat’s service Command.

      Controlling Apache with Red Hat’s chkconfig Command.

      Controlling Apache with Red Hat’s system-config-services Client.

    Runtime Server Configuration Settings.

      Runtime Configuration Directives.

      Editing httpd.conf.

      Apache Multiprocessing Modules.

      Using .htaccess Configuration Files.

    File System Authentication and Access Control.

      Restricting Access with allow and deny.

      Authentication.

      Final Words on Access Control.

    Apache Modules.

      mod_access.

      mod_alias.

      mod_asis.

      mod_auth.

      mod_auth_anon.

      mod_auth_dbm.

      mod_auth_digest.

      mod_autoindex.

      mod_cgi.

      mod_dir and mod_env.

      mod_expires.

      mod_headers.

      mod_imap.

      mod_include.

      mod_info and mod_log_config.

      mod_mime and mod_mime_magic.

      mod_negotiation.

      mod_proxy.

      mod_rewrite.

      mod_setenvif.

      mod_speling.

      mod_status.

      mod_ssl.

      mod_unique_id.

      mod_userdir.

      mod_usertrack.

      mod_vhost_alias.

    Virtual Hosting.

      Address-Based Virtual Hosts.

      Name-Based Virtual Hosts.

    Logging.

    Dynamic Content.

      CGI.

      SSI.

      Basic SSI Directives.

      Flow Control.

    Graphic Interface Configuration of Apache.

      Configuring Virtual Host Properties.

      Configuring the Server.

      Configuring Apache for Peak Performance.

    Other Web Servers for Use with Fedora.

      thttpd.

      Sun ONE Web Server.

      Stronghold.

      Zope.

      Zeus Web Server.

      TWiki.

    Reference.

20. Administering Database Services.

    A Brief Review of Database Basics.

      How Relational Databases Work.

      Understanding SQL Basics.

      Creating Tables.

      Inserting Data into Tables.

      Retrieving Data from a Database.

    Choosing a Database: MySQL Versus PostgreSQL.

      Speed.

      Data Locking.

      ACID Compliance in Transaction Processing to Protect Data Integrity.

      SQL Subqueries.

      Procedural Languages and Triggers.

    Configuring MySQL.

      Setting a Password for the MySQL Root User.

      Creating a Database in MySQL.

      Granting and Revoking Privileges in MySQL.

    Configuring PostgreSQL.

      Initializing the Data Directory in PostgreSQL.

      Creating a Database in PostgreSQL.

      Creating Database Users in PostgreSQL.

      Deleting Database Users in PostgreSQL.

      Granting and Revoking Privileges in PostgreSQL.

    Database Clients.

      SSH Access to a Database.

      Local GUI Client Access to a Database.

      Web Access to a Database.

      The MySQL Command-Line Client.

      The PostgreSQL Command-Line Client.

      Graphical Clients.

    Reference.

21. File and Print.

    Using the Network File System.

      Installing and Starting or Stopping NFS.

      NFS Server Configuration.

      NFS Client Configuration.

    Putting Samba to Work.

      Manually Configuring Samba with /etc/samba/smb.conf.

      Testing Samba with the testparm Command.

      Starting the smbd Daemon.

      Mounting Samba Shares.

      Configuring Samba Using SWAT.

    Network and Remote Printing with Fedora.

    Creating Network Printers.

      Enabling Network Printing on a LAN.

      Session Message Block Printing.

      Network-Attached Printer Configuration and Printing.

    Console Print Control.

      Console-based Printer Configuration.

      Using Basic Print Commands.

      Managing Print Jobs.

    Using the Common Unix Printing System GUI.

      Creating a CUPS Printer Entry.

    Avoiding Printer Support Problems.

      All-in-One (Print/Fax/Scan) Devices.

      Using USB and Legacy Printers.

    Reference.

22. Remote File Serving with FTP.

    Using FTP Clients.

      The FTP Client Interface.

      Using the Text-Based FTP Client Interface.

      Using Graphical FTP Clients.

    FTP Servers.

      Choosing an Authenticated or Anonymous Server.

      Fedora FTP Server Packages.

      Other FTP Servers.

    Installing FTP Software.

    The FTP User.

    xinetd Configuration for wu-ftpd.

      Configuring xinetd for the wu-ftp Server.

      Starting the Very Secure FTP Server (vsftpd) Package.

    Configuring the Very Secure FTP Server.

      Controlling Anonymous Access.

      Other vsftpd Server Configuration Files.

    Configuring the Wu-FTPd Server.

    Using Commands in the ftpaccess File to Configure wu-ftpd.

      Configure Access Control.

      Configure User Information.

      Configure System Logging.

      Configure Permission Control.

      Configure Commands Directed Toward the cdpath.

      Structure of the shutdown File.

    Configure FTP Server File-Conversion Actions.

      Strip Prefix.

      Strip Postfix.

      Add-On Prefix.

      Add-On Postfix.

      External Command.

      Types.

      Options.

      Description.

      An Example of Conversions in Action.

    Using Commands in the ftphosts File to Allow or Deny FTP Server Connection.

    Server Administration.

      Display Information About Connected Users.

      Count the Number of Connections.

      Use /usr/sbin/ftpshut to Schedule FTP Server Downtime.

      Use /var/log/xferlog to View a Log of Server Transactions.

    Reference.

23. Handling Electronic Mail.

    How Email Is Sent and Received.

      The Mail Transport Agent.

      Choosing an MTA.

      The Mail Delivery Agent.

      The Mail User Agent.

    Basic Sendmail Configuration and Operation.

      Configuring Masquerading.

      Using Smart Hosts.

      Setting Message Delivery Intervals.

      Building the sendmail.cf File.

      Mail Relaying.

      Forwarding Email with Aliases.

      Rejecting Email from Specified Sites.

    Introducing Postfix.

      Making the Switch.

    Using Fetchmail to Retrieve Mail.

      Installing Fetchmail.

      Configuring Fetchmail.

    Choosing a Mail Delivery Agent.

      Procmail.

      Spamassassin.

      Squirrelmail.

      Virus Scanners.

      Special Mail Delivery Agents.

    Mail Daemons.

    Alternatives to Microsoft Exchange Server.

      Microsoft Exchange Server/Outlook Client.

      CommuniGate Pro.

      Samsung Contact (Formerly Known As HP OpenMail).

      Bynari.

      SuSE OpenExchange.

      Kroupware.

      OpenGroupware (Formerly SKYRiX 4.1).

      phpgroupware.

      PHProjekt.

      IMP/Horde.

      Conclusion.

    Reference.

      Web Resources.

      Books.

24. Setting Up a Proxy Server.

    What Is a Proxy Server?

    Installing Squid.

    Configuring Clients.

    Access Control Lists.

    Specifying Client IP Addresses.

    Sample Configurations.

    Reference.

25. Remote Access with SSH and Telnet.

    Setting Up a Telnet Server.

    Telnet Versus SSH.

    Setting Up an SSH Server.

    The SSH Tools.

      Using scp to Copy Individual Files Between Machines.

      Using sftp to Copy Many Files Between Machines.

      Using ssh-keygen to Enable Key-based Logins.

    Remote X.

      XDMCP.

      VNC.

    Reference.

26. Managing DNS.

    Configuring DNS for Clients.

      Understanding the /etc/host.conf File.

      Understanding the /etc/nsswitch.conf File.

      Understanding the /etc/hosts File.

      Understanding the /etc/resolv.conf File.

      Understanding the Changes Made by DHCP.

    Essential DNS Concepts.

      How Nameservers Store DNS Structure Information.

      How DNS Provides Name Service Information to Users.

      Name Resolution in Practice.

      Reverse Resolution.

      What Did the Resolver Learn?

    Using DNS Tools.

      dig.

      host.

      nslookup.

      whois.

    Configuring a Local Caching Nameserver.

    Your Own Domain Name and Third-Party DNS.

    Providing DNS for a Real Domain with BIND.

      rndc.conf.

      named.conf.

      Logging.

      Resolver Configuration.

      Running the named Nameserver Daemon.

    Providing DNS for a Real Domain.

      Forward Zone.

      Reverse Zone.

      Registering the Domain.

    Troubleshooting DNS.

      Delegation Problems.

      Reverse Lookup Problems.

      Maintaining Accurate Serial Numbers.

      Troubleshooting Problems in Zone Files.

      Tools for Troubleshooting.

      Using Fedora Core’s BIND Configuration Tool.

    Managing DNS Security.

      Unix Security Considerations.

      DNS Security Considerations.

      Using DNS Security Extensions.

      Using Split DNS.

    Reference.

27. LDAP.

    Configuring the Server.

      Populating Your Directory.

    Configuring Clients.

      Evolution.

      Thunderbird.

    Administration.

    Reference.

28. News Servers and Mailing Lists.

    Types of News Servers.

      Full Newsfeed Servers.

      Leaf Node Servers.

      Local News Servers.

    The INN Package and Configuration Files.

    Installing the INN Package.

    Configuring innd.

      The inn.conf File.

      The incoming.conf File.

      The storage.conf File.

      The readers.conf File.

      The active and newsgroups Files.

      The history Files.

      Running innd.

    Reference.

V. PROGRAMMING LINUX.

29. Using Perl.

    Using Perl with Linux.

      Perl Versions.

      A Simple Perl Program.

    Perl Variables and Data Structures.

      Perl Variable Types.

      Special Variables.

    Operators.

      Comparison Operators.

      Compound Operators.

      Arithmetic Operators.

      Other Operators.

      Special String Constants.

    Conditional Statements: if/else and unless.

      if.

      unless.

    Looping.

      for.

      foreach.

      while.

      until.

      last and next.

      do ... while and do ... until.

    Regular Expressions.

    Access to the Shell.

    Switches.

    Modules and CPAN.

    Code Examples.

      Sending Mail.

      Purging Logs.

      Posting to Usenet.

      One-Liners.

      Command-Line Processing.

    Reference.

      Books.

      Usenet.

      WWW.

      Other.

30. Working with Python.

    Python on Linux.

      Getting Interactive.

    The Basics of Python.

      Numbers.

      More on Strings.

      Lists.

      Dictionaries.

      Conditionals and Looping.

    Functions.

    Object Orientation.

      Class and Object Variables.

      Constructors and Destructors.

      Class Inheritance .

      Multiple Inheritance.

    The Standard Library and the Vaults of Parnassus.

    Reference.

31. Writing PHP Scripts.

    Introduction to PHP.

      Entering and Exiting PHP Mode.

      Variables.

      Arrays.

      Variable Variables.

      Constants.

      References.

      Comments.

      Escape Sequences.

      Variable Substitution.

      Heredoc Syntax.

      Operators.

      Conditional Statements.

      Special Operators.

      Switching.

      Loops.

      Including Other Files.

    Basic Functions.

      Strings.

      Math.

      Arrays.

      Files.

      Miscellaneous.

    Object Orientation.

      Introduction to OOP.

      Object Variables and $this.

      Constructors and Destructors.

      Class Inheritance.

      Access Modifiers.

    Handling HTML Forms.

    Databases.

      Introduction to PEAR::DB.

      Quick PEAR::DB Functions.

    Reference.

32. C/C++ Programming Tools for Fedora.

    Programming in C with Linux.

      Programming in C++.

      Getting Started with Linux C/C++ Programming.

      The Process of Programming.

    Elements of the C/C++ Language.

    Using the C Programming Project Management Tools Provided with Fedora Core Linux.

      Building Programs with make.

      Using the autoconf Utility to Configure Code.

      Managing Software Projects with RCS and CVS.

      Making Libraries with ar.

      Debugging Tools.

    Using the GNU C Compiler.

    A Simple C Program.

    Graphical Development Tools.

      Using the KDevelop Client.

      Trolltech’s Qt Designer.

      The Glade Client for Developing in GNOME.

    Additional Resources.

    Reference.

VI. FEDORA HOUSEKEEPING.

33. Securing Your Machines.

    Understanding Computer Attacks.

    Assessing Your Vulnerability.

    Protecting Your Machine.

      Securing a Wireless Network.

      Passwords and Physical Security.

      Configuring and Using Tripwire.

      Devices.

    Viruses.

      Configuring Your Firewall.

      Forming a Disaster Recovery Plan.

      Keeping Up-to-Date on Linux Security Issues.

      Reference.

34. Performance Tuning.

    Hard Disk.

      Using the BIOS and Kernel to Tune the Disk Drives.

      The hdparm Command.

      File System Tuning.

      The mke2fs Command.

      The tune2fs Command.

      The e2fsck Command.

      The badblocks Command.

      Disabling File Access Time.

    Kernel.

    Apache.

    MySQL.

      Measuring Key Buffer Usage.

      Using the Query Cache.

      Miscellaneous Tweaks.

      Query Optimization.

    Reference.

35. Command-line Masterclass.

    Why Use the Shell?

    Basic Commands.

      Printing the Contents of a File with cat.

      Changing Directories with cd.

      Changing File Access Permissions with chmod.

      Copying Files with cp.

      Printing Disk Usage with du.

      Finding Files by Searching with find.

      Searches for a String in Input with grep.

      Paging Through Output with less.

      Creating Links Between Files with ln.

      Finding Files from an Index with locate.

      Listing Files in the Current Directory with ls.

      Reading Manual Pages with man.

      Making Directories with mkdir.

      Moving Files with mv.

      Listing Processes with ps.

      Deleting Files and Directories with rm.

      Printing the Last Lines of a File with tail.

      Printing Resource Usage with top.

      Printing the Location of a Command with which.

    Combining Commands Together.

    Multiple Terminals.

    Reference.

      Books.

36. Advanced Yum.

    Getting Started.

    Using Yum to Remove Packages.

    Using Yum to Manage Package Inventory.

    Configuring Yum.

    Creating a Local Yum Repository.

      Using Createrepo.

    Reference.

37. Managing the File System.

    The Fedora Core Linux File System Basics.

      Physical Structure of the File System on the Disk.

      File System Partitions.

      Network and Disk File Systems.

      Viewing Your System’s File Systems.

    Working with the ext3 File System.

      Understanding the ext3 File System Structure.

      Journaling Options in ext3.

      Verifying File Integrity in ext3 File Systems with the fsck Utility.

    Other File Systems Available to Fedora Core Linux.

      The Reiser File System (reiserfs).

      JFS and XFS File Systems.

      DOS File Systems.

      CD-ROM File Systems.

    Creating a File System.

      The Disk As a Storage Device.

      Creating the Partition Table.

      Creating the File System on the Partitioned Disk.

      Creating a DOS File System with mkdosfs.

    Mounting File Systems.

      The mount Command.

      The umount Command.

      Mounting Automatically with /etc/fstab.

      GUI Tools to Mount File Systems.

    Relocating a File System.

      Installing the New Drive.

      Creating the Partition Table and Formatting the Disk.

      Mount the New Partition and Populating It with the Relocated Files.

    Logical Volume Management.

    File System Manipulation.

      Creating a File System for Testing.

      Using dumpe2fs.

      Mounting a Partition As Read-Only on a Running System.

      Converting an Existing ext2 File System to ext3.

      Examine an initrd Image File.

      Examine a Floppy Image File.

    Managing Files for Character Devices, Block Devices, and Special Devices .

      Naming Conventions Used for Block and Character Devices.

      Using mknod to Create Devices.

    Reference.

38. Kernel and Module Management.

    The Linux Kernel.

      The Linux Source Tree.

      Types of Kernels.

    Managing Modules.

    When to Recompile.

    Kernel Versions.

    Obtaining the Kernel Sources.

    Patching the Kernel.

    Compiling the Kernel.

      Using xconfig to Configure the Kernel.

      Creating an Initial RAM Disk Image.

    When Something Goes Wrong.

      Errors During Compile.

      Runtime Errors, Boot Loader Problems, and Kernel Oops.

    Reference.

VII. Appendix.

Appendix A. Fedora and Linux Internet Resources.

    Websites and Search Engines.

      Web Search Tips.

      Google Is Your Friend.

      Fedora Package Listings.

      Certification.

      Commercial Support.

      Documentation.

      Linux Guides.

      The Fedora Project.

      Red Hat Linux.

      Mini-CD Linux Distributions.

      Floppy-Based Linux Distributions.

      Various Intel-Based Linux Distributions.

      PowerPC-Based Linux Distributions.

      Linux on Laptops and PDAs.

      The X Window System.

    Usenet Newsgroups.

    Mailing Lists.

      Fedora Project Mailing Lists.

      Red Hat Mailing Lists.

    Internet Relay Chat.

Index.

 

Erscheint lt. Verlag 14.7.2005
Verlagsort Indianapolis
Sprache englisch
Maße 178 x 232 mm
Gewicht 1818 g
Themenwelt Informatik Betriebssysteme / Server Unix / Linux
ISBN-10 0-672-32792-9 / 0672327929
ISBN-13 978-0-672-32792-6 / 9780672327926
Zustand Neuware
Haben Sie eine Frage zum Produkt?