Sumário Itens Encontrados: 1017Part I: Getting Started in Fedora and RHELChapter 1: An Overview of Fedora and Red Hat Enterprise Linux 3Introducing Fedora 10 and Red Hat Enterprise Linux 4What Is Linux? 5Linuxâs Roots in UNIX 6What Is an Operating System? 7Common Linux Features 8Primary Advantages of Linux 10What Are Red Hat Enterprise Linux and Fedora? 11Red Hat forms the Fedora Project 11Red Hat shifts to Red Hat Enterprise Linux 14Choosing between Fedora and Enterprise 14Why Choose Fedora or Red Hat Enterprise Linux? 15New Features in Fedora 10 17Better Printing 17FirstAidKit 18OpenOffice.org 3 18Faster Boot Times 18K Desktop Environment (KDE) 4 18PackageKit Software Management 18Firefox 3 Web browser 19Preupgrade 19Ext4 file systems 19Encrypted file systems 19Identity management with freeIPA 19NetworkManager 20Getting custom Fedora spins 20Creating your own spins 21Firewall Configuration 21The Culture of Free Software 21Summary 22Chapter 2: Installing Fedora 23Understanding Fedora Installation Media 24Using the Fedora 10 Live CD 24Quick Installation 26Detailed Installation Instructions 28Installing Fedora 10 28Choosing an installation method 29Install or upgrade? 29From DVD, network, or hard disk? 31Choosing computer hardware 32Installing Fedora on a Laptop 33Preparing for installation using the live CD 34Display hardware information 34Test your hardware 36Beginning the installation 37Choosing Different Install Modes 39Running Fedora Firstboot 44Enabling Authentication 45Going forward after installation 46Special Installation Procedures 47Alternatives for starting installation 47Booting installation from hard disk 47Booting installation from a USB device 49Booting installation using PXE 49Installing from other media 50Beginning installation 50Setting up an HTTP, FTP, or NFS install server 51Starting a VNC install 53Performing a kickstart installation 54Creating the kickstart file 54Installing the kickstart file 59Booting a kickstart installation 59Special Installation Topics 60Setting up to dual-boot Linux and Windows 60Resizing your Windows partitions 60Using Windows partitions from Linux 64Partitioning your disks 66Partitioning with Disk Setup during installation 67Partitioning with fdisk 70Tips for creating partitions 72Using the GRUB boot loader 74Temporarily changing boot options 75Permanently changing boot options 77Adding a new GRUB boot image 78Troubleshooting Installation 79Spinning Your Own Fedora Install or Live Media 81Summary 82Chapter 3: Getting Started with the Desktop 83Logging in to Fedora or RHEL 84Why Do I Need a User Login? 86Getting Familiar with the Desktop 86Touring your desktop 87Tips for configuring your desktop 94Using the GNOME Desktop 95Using the Metacity window manager 97Using the GNOME panels 99Use the Applications and System menus 100Adding an applet 101Adding another panel 102Adding an application launcher 102Adding a drawer 103Changing panel properties 103Using the Nautilus file manager 104Changing GNOME preferences 107Managing removable media 108Trying other GNOME applications 109Taking notes with Tomboy 109Checking Your Network from GNOME 110Switching to another user 110Exiting GNOME 111Setting Up an Online Desktop 112Switching Desktop Environments 115Using the KDE Desktop 116New Features in KDE 4.1 116Starting with KDE 117KDE desktop basics 118Getting around the desktop 119Managing files with Dolphin and Konqueror File Managers 120Working with files 122Searching for files with Dolphin and kfind 123Creating new files and folders 124Using the Konqueror browser features 125Configuring Konqueror and Dolphin options 126Managing windows 128Using the taskbar 129Moving windows 129Resizing windows 129Pinning windows on top or bottom 130Using virtual desktops 130Configuring the desktop 130Adding widgets 131Adding widgets to the panel 132Adding widgets to the desktop 132Running 3D Accelerated Desktop Effects 132Using the Xfce Desktop Environment 135Troubleshooting Your Desktop 136GUI doesnât work at start-up 137What Happens During Desktop Startup? 137Tuning your video card and monitor 138Running the Display Settings window 138Understanding the xorg.conf file 139Configuring video cards for gaming 140Getting more information 140Summary 141Chapter 4: Using Linux Commands 143The Shell Interface 143Checking your login session 144Checking directories and permissions 145Checking system activity 147Exiting the shell 148Understanding the Shell 148Using the Shell in Linux 149Locating commands 150Getting Help with Using the Shell 151Rerunning commands 153Command-line editing 153Command-line completion 155Command-line recall 156Connecting and expanding commands 158Piping commands 158Sequential commands 159Background commands 159Expanding commands 159Expanding arithmetic expressions 160Expanding variables 160Using shell environment variables 160Common shell environment variables 161Setting your own environment variables 162Managing background and foreground processes 164Starting background processes 164Moving commands to the foreground and background 165Configuring your shell 166Setting your prompt 167Adding environment variables 168Adding aliases 169Working with the Linux File System 169Linux File Systems Versus Windows-Based File Systems 171Creating files and directories 172Identifying Directories 173Using metacharacters and operators 173Using file-matching metacharacters 173Using file-redirection metacharacters 175Understanding file permissions 175Moving, copying, and deleting files 177Using the vi Text Editor 178Starting with vi 178Exploring Other Text Editors 179Moving around the file 181Searching for text 182Using numbers with commands 183Summary 183Part II: Using Fedora and RHELChapter 5: Accessing and Running Applications 187Getting and Installing Software Packages 188Downloading and installing applications with yum 190Configuring yum (/etc/yum.conf) 191Adding yum repositories (/etc/yum.repos.d/) 192Running yum to download and install RPMs 194Using yum to install packages locally 195Using yum for listing packages 196Using yum-utils package 197Getting Fedora and RHEL software updates 197Getting alerted to available updates 198Getting manual updates with yum 198Managing RPM Packages 199Using the PackageKit Add/Remove window 199Using the rpm command 200Verifying rpm package integrity 201Installing with rpm 202Upgrading packages with rpm 205Freshening packages with rpm 205Removing packages with rpm 206Querying packages with rpm 207Verifying installed packages with rpm 210Using Software in Different Formats 211Understanding software package names and formats 211Using Binary RPMs versus Building from Source 212Using different archive and document formats 213Building and installing from source code 215Installing software in SRPM format 216Installing software in tar.gz or tar.bz2 formats 216Using Fedora or RHEL to Run Applications 218Finding common desktop applications in Linux 219Investigating your desktop 221Starting applications from a menu 222Starting applications from a Run Application window 222Starting applications from a Terminal window 223Running remote X applications 225Traditional method to run remote X applications 225Launching a remote X application 226Using SSH to run remote X applications 228Running Microsoft Windows, DOS, and Macintosh Applications 229Running DOS applications 231Using mtools 231Using DOSBox 233Running Microsoft Windows applications in Linux 233Running Windows Applications in WINE 235Assigning drive letters 236Installing applications in WINE 237Launching applications 237Tuning and configuring WINE 237Finding more Windows applications for WINE 238Running Applications in Virtual Environments 239Running applications virtually with Xen 239Before installing Xen 240Installing Xen 240Installing a guest operating system 241Running applications virtually with KVM and QEMU 244Summary 245Chapter 6: Publishing with Fedora and RHEL 247Desktop Publishing in Linux 248Using Text Editors and Notepads 248Using Word Processors 248Using OpenOffice.org 249Other Word Processors 252Using Traditional Linux Publishing Tools 255Creating Documents in Groff or LaTeX 256Text processing with Groff 256Formatting and printing documents with Groff 257Creating a man page with Groff 258Text processing with TeX/LaTeX 259Creating and formatting a LaTeX document 260Converting documents 261Creating DocBook documents 263Understanding SGML and XML 263Understanding DocBook 263Creating DocBook documents 264Converting DocBook documents 266Displaying PDF Files with Adobe Acrobat Reader 266Doing Page Layout with Scribus 268Working with Graphics 270Manipulating images with GIMP 270Taking screen captures 271Creating vector graphic images with Inkscape 272Using Scanners Driven by SANE 274Web Publishing 275Summary 276Chapter 7: Gaming in Fedora and RHEL 277Jumping into Linux Gaming 278Basic Linux Gaming Information 280Where to get information on Linux gaming 280Choosing a video card for gaming 281Running Open Source Linux Games 283GNOME games 284KDE games 284Adding more games from Fedora repository 286Chess games 289Freeciv 290Extreme Tuxracer 295Commercial Linux Games 296Getting Started with commercial games in Linux 297Playing commercial Linux games 297id Software Games 298Quake III Arena 298Return to Castle Wolfenstein 299Gaming with Cedega 300Loki Software game demos 302Civilization: Call to Power 303Myth II: Soulblighter 304Heretic II 305Neverwinter Nights 305Summary 305Chapter 8: Music, Video, and Images in Linux 307Understanding Multimedia and Legal Issues in Linux 307Extending Freedom to Codecs 308Listening to Music in Linux 309Configuring a sound card 311Sound card features 311Detecting your sound card driver 313Adjusting sound levels 314Setting your sound card to record 317Choosing audio players 317Automatically playing CDs 318Troubleshooting Your CD-ROM 319Playing and managing music with Rhythmbox 319Playing music with XMMS Audio Player 322Using the Equalizer 324Using the Playlist Editor 325Using ogg123, mpg321, and play command-line players 326Using MIDI audio players 326Converting audio files with SoX 327Extracting and encoding music 329Extracting music CDs with Sound Juicer 330Extracting and encoding music CDs from commands 331Creating your own music CDs 332Creating audio CDs with cdrecord 332Creating audio and data CDs with K3b 333Creating CD labels with cdlabelgen 336Viewing TV and Webcams 337Watching TV with TVtime 337Getting a supported TV card 337Starting Tvtime 339Selecting channels in TVtime 339Video conferencing and VOIP with Ekiga 340Getting a supported Webcam 340Running Ekiga 342Taking Webcam videos and snapshots with Cheese 343Playing Video 344Examining laws affecting video and Linux 345Understanding video content types 346Converting Video to Theora 347Watching video with Xine 347Using Xine 349Creating playlists with Xine 350Xine tips 350Using Totem movie player 352Using a Digital Camera 353Displaying images in gThumb 353Using your camera as a storage device 355Summary 356Chapter 9: Using the Internet and the Web 357Overview of Internet Applications and Commands 357Browsing the Web 360Understanding Web browsing 361Uniform Resource Locators 361Web pages 363Browsing the Web with Firefox 365Setting up Firefox 369Setting Navigator preferences 369Extending Firefox 371Changing Firefox themes 375Securing Firefox 375Tips for using Firefox 376Using text-based Web browsers 377Communicating with E-mail 378E-mail basics 380Using Evolution e-mail 381Setting Evolution preferences 382Receiving, composing, and sending e-mail 383Thunderbird mail client 384Text-based mail programs 385Mail readers and managers 386Mutt mail reader 386Pine mail reader 386Mail reader 387Participating in Newsgroups 387Instant Messaging with Pidgin 388Sharing Files with BitTorrent 389Using Remote Login, Copy, and Execution 390Using telnet for remote login 391Copying files with FTP 392Using the ftp command 392Using the ncftp command 395Using the gFTP window 397Getting files with wget 399Downloading a single file 399Downloading a file with user name and password 400Downloading a whole Web site 400Continuing a download 401Using ssh for remote login/remote execution 402Using scp for remote file copy 402Using the ârâ commands: rlogin, rcp, and rsh 403Summary 403Part III: Administering Fedora and RHELChapter 10: Understanding System Administration 407Using the root user account 408Becoming Super User (The su Command) 408Learning about Administrative GUI Tools, Commands, Configuration Files, and Log Files . 410Using graphical administration tools 410Becoming Super User in X 411Administrative commands 415Administrative configuration files 416Administrative log files 420Using other administrative logins 420Understanding administrative logins 421Using sudo for assigning administrative privilege 421Administering Your Linux System 423Configuring Hardware 423Checking your hardware 424Managing Hardware with HAL 424Reconfiguring hardware with kudzu 425Configuring modules 426Listing loaded modules 427Loading modules 428Removing modules 428Managing File Systems and Disk Space 429Mounting file systems 432Supported file systems 432Using the fstab file to define mountable file systems 435Using the mount command to mount file systems 437Using the umount command to unmount a file system 439Using the mkfs command to create a file system 440Adding a hard disk 441Using RAID disks 443Checking system space 446Checking Disk Space with Disk Usage Analyzer 446Displaying system space with df 446Checking disk usage with du 447Finding disk consumption with find 448Monitoring System Performance 448Watch computer usage with System Monitor 448Monitoring CPU usage with top 450Monitoring power usage on laptop computers 450Using the Power Manager applet 451Using apm to enter suspend mode 452Using acpi_listen to monitor ACPI events 452Fixing Your System with the FirstAidKit 453Choosing Software Alternatives 453Selecting Java alternatives 453Selecting mail and printing alternatives 454Using mail alternatives 455Using Security Enhanced Linux 455Understanding Security Enhanced Linux 456Types and roles in SELinux 456Users in SELinux 457Policies in SELinux 457Tools in SELinux 458Using SELinux in Fedora and RHEL 458Getting SELinux 459Checking whether SELinux is on 459Checking SELinux status 460Learning More about SELinux 462Summary 462Chapter 11: Setting Up and Supporting Users 463Creating User Accounts 463Adding users with useradd 464Adding users with User Manager 468Setting User Defaults 471Supplying initial login scripts 473Supplying initial .bashrc and .bash_profile files 474Supplying an initial .tcshrc file 475Configuring system-wide shell options 475Configuring system-wide bash options 475Configuring system-wide tcsh options 476Setting system profiles 476Adding user accounts to servers 477Creating Portable Desktops 478Providing Support to Users 479Creating a technical support mailbox 480Resetting a userâs password 480Modifying Accounts 481Modifying user accounts with usermod 481Modifying user accounts with User Manager 483Deleting User Accounts 484Deleting user accounts with userdel 484Deleting user accounts with User Manager 486Checking Disk Quotas 486Using quota to check disk usage 486Editing the /etc/fstab file 487Creating quota files 487Creating a quota startup script 488Turn on the quota startup script 489Creating quota rules 489Updating quota settings 490Checking quotas 490Using du to check disk use 491Removing temp files automatically 491Sending Mail to All Users 492Summary 493Chapter 12: Automating System Tasks 495Understanding Shell Scripts 495Executing and debugging shell scripts 496Understanding shell variables 497Special shell variables 498Parameter expansion in bash 498Performing arithmetic in shell scripts 500Using programming constructs in shell scripts 500The âifâ¦thenâ statements 500The case command 503The âfor .doâ loop 504The âwhile .doâ and âuntil .doâ loops 505Some useful external programs 506The general regular expression parser (grep) 506Remove sections of lines of text (cut) 506Translate or delete characters (tr) 506The Stream Editor (sed) 507Trying some simple shell scripts 507A simple telephone list 508A simple backup script 509System Initialization 509Starting init 510The inittab file 510System Startup and Shutdown 514Starting run-level scripts 515Understanding run-level scripts 515Understanding what startup scripts do 518Changing run-level script behavior 520Reorganizing or removing run-level scripts 521Adding run-level scripts 523Managing xinetd services 524Manipulating run levels 525Determining the current run level 525Changing to a shutdown run level 526Scheduling System Tasks 526Using at.allow and at.deny 526Specifying when jobs are run 526Submitting scheduled jobs 527Viewing scheduled jobs 528Deleting scheduled jobs 528Using the batch command 529Using the cron facility 529Modifying scheduled tasks with crontab 531Understanding cron files 532Summary 533Chapter 13: Backing Up and Restoring Files 535Making a Simple Backup Archive 536Doing a Simple Backup with rsync 537Backing up files locally 538Backing up files remotely 539Choosing Backup Tools 540Selecting a Backup Strategy 541Full backup 541Incremental backup 541Disk mirroring 541Network backup 542Selecting a Backup Medium 542Magnetic tape 543Using ftape tools for magnetic tape 544Testing the magnetic tape drive 545Writable CD drives 545Getting cdrecord for writable CDs 545Writing to CDs 545Writable DVD drives 549Writing CD or DVDs with growisofs 551Backing Up to a Hard Drive 551Backing Up Files with dump 552Creating a backup with dump 553Understanding dump levels 555Automating Backups with cron 556Restoring Backed-Up Files 558Restoring an entire file system 559Recovering individual files 560Configuring Amanda for Network Backups 562Creating Amanda directories 563Creating the amanda.conf file 564Creating a disklist file 566Adding Amanda network services 566On the amanda server 567On each amanda client 567Performing an Amanda backup 567Using the pax Archiving Tool 568Summary 571Chapter 14: Computer Security Issues 573Linux Security Checklist 573Using Password Protection 576Choosing good passwords 577Using a shadow password file 577Breaking encrypted passwords 578Checking for the shadow password file 578Securing Linux with iptables Firewalls 580Using the Firewall Configuration window 580Configuring an iptables firewall 582Turning on iptables 582Creating iptables firewall rules 584Understanding iptables 590Enhancing your iptables firewall 593Controlling Access to Services with TCP Wrappers 594Checking Log Files 597Understanding the rsyslogd service 597Redirecting logs to a loghost with rsyslogd 597Understanding the messages logfile 600Tracking log messages with logwatch 601Using the Secure Shell Package 602Starting the SSH service 602Using the ssh, sftp, and scp commands 603Using ssh, scp, and sftp without passwords 604Securing Linux Servers 606Understanding attack techniques 606Protecting against denial-of-service attacks 607Mailbombing 607Spam relaying 609Smurf amplification attack 609Protecting against distributed DOS attacks 610Protecting against intrusion attacks 614Evaluating access to network services 615Disabling network services 616Securing servers with SELinux 617Protecting Web servers with certificates and encryption 618Symmetric cryptography 618Public-key cryptography 619Secure Sockets Layer 619Exporting Encryption Technology 627Managing Identities with freeIPA 627Setting up the freeIPA Server 628Setting up freeIPA Clients 629Summary 629Part IV: Fedora and RHEL Network and Server SetupChapter 15: Setting Up a Local Area Network 633Connecting to the Network with NetworkManager 633Connecting to a wireless network 635Connecting to a wired network 636Setting up a virtual private network connection 637Understanding Local Area Networks 638Planning, getting, and setting up LAN hardware 639LAN topologies 639LAN equipment 641LAN equipment setup 643Configuring TCP/IP for your LAN 643Identifying other computers (hosts and DNS) 646Adding Windows computers to your LAN 648Setting Up a Wireless LAN 650Understanding wireless networks 651Choosing wireless hardware 652Selecting wireless LAN cards 653Selecting antennas 655Getting wireless drivers 657Installing wireless Linux software 660Configuring the wireless LAN 660Configuring the wireless interface 661Wireless Security 665Activating the wireless interfaces 666Checking your wireless connection 666Testing distances 666Setting wireless extensions 666Understanding Internet Protocol Addresses 668IP address classes 669Understanding netmasks 669Classless Inter-Domain Routing 670Getting IP addresses 671Troubleshooting Your LAN 672Did Linux find your Ethernet driver at boot time? 672Can you reach another computer on the LAN? 673Is your Ethernet connection up? 674Troubleshooting a wireless LAN 675Checking wireless settings 676Checking TCP/IP 678Adapting to poor reception 678Use debugging tools 679Watching LAN traffic with Wireshark 679Starting Wireshark 679Capturing Ethernet data 681Interpreting captured Ethernet data 682Using Wireshark Filters 683Summary 684Chapter 16: Connecting to the Internet 685Understanding How the Internet Is Structured 685Internet domains 688Hostnames and IP addresses 689Routing 690Proxies 691Using Dial-Up Connections to the Internet 691Getting information 691Setting up dial-up PPP 692Creating a dial-up connection with the Network Configuration window 693Launching your PPP connection 695Launching your PPP connection on demand 696Checking your PPP connection 697Checking that your modem was detected 697Checking that your PPP interface is working 698Checking the default route 698Checking that the name servers are set 699Checking the chap-secrets or pap-secrets file 699Looking at the ifcfg file 700Running debugging 702Connecting Your LAN to the Internet 703Setting Up Linux as a Router 704Configuring the Linux router 705Selecting IP addresses 705Enable forwarding and masquerading 705Configuring network clients 707Configuring a Virtual Private Network Connection 709Understanding IPsec 709Using IPsec protocols 710Using IPsec in Fedora or RHEL 711Configuring an OpenVPN Server 712Decisions before configuring OpenVPN 712Create a public key infrastructure 713Create OpenVPN server configuration 715Create OpenVPN client configuration 716Setting Up Linux as a Proxy Server 717Starting the squid daemon 718Using a simple squid.conf file 720Modifying the Squid configuration file 722Configuring access control in squid.conf 722Configuring caching in squid.conf 724Configuring port numbers in squid.conf 725Debugging Squid 726Checking the squid.conf file 726Checking Squid log files 726Using the top command 727Setting Up Proxy Clients 727Configuring Firefox to use a proxy 728Configuring other browsers to use a proxy 729Summary 729Chapter 17: Setting Up a Print Server 731Common UNIX Printing Service 731Setting Up Printers 732Choosing a Printer 733Using the Printer configuration window 733Configuring local printers 734Configuring remote printers 739Using Web-based CUPS administration 742Configuring the CUPS server (cupsd.conf) 745Configuring CUPS printer options 746Using Printing Commands 748Using lpr to print 748Listing status with lpc 749Removing print jobs with lprm 749Configuring Print Servers 750Configuring a shared CUPS printer 750Configuring a shared Samba printer 751Understanding smb.conf for printing 751Summary 752Chapter 18: Setting Up a File Server 753Goals of Setting Up a File Server 753Setting Up an NFS File Server 754Sharing NFS file systems 756Using the NFS Server Configuration window 756Configuring the /etc/exports file 759Exporting the shared file systems 762Starting the nfsd daemons 763Using NFS file systems 763Manually mounting an NFS file system 763Automatically mounting an NFS file system 765Using autofs to mount NFS file systems on demand 767Unmounting NFS file systems 769Other cool things to do with NFS 769Setting Up a Samba File Server 770Getting and installing Samba 771Configuring a simple Samba server 772Configuring Samba with SWAT 776Turning on SWAT 776Starting with SWAT 776Creating global Samba settings in SWAT 777Assigning Guest Accounts 780Configuring shared directories with SWAT 783Checking your Samba setup with SWAT 784Working with Samba files and commands 784Editing the smb.conf file 785Adding Samba users 786Starting the Samba service 787Testing your Samba permissions 787Checking the status of shared directories 787Setting up Samba clients 788Using Samba shared directories from Linux 788Using Samba shared directories from Windows 790Troubleshooting your Samba server 791Basic networking in place? 791Samba service running? 791Firewall open? 792User passwords working? 793Summary 793Chapter 19: Setting Up a Mail Server 795Introducing SMTP and sendmail 796Installing and Running sendmail 796Other Mail Servers for Fedora or Red Hat Linux 797Starting sendmail 798Other programs 798Logging performed by sendmail 799Configuring sendmail 800Getting a domain name 801Configuring basic sendmail settings (sendmail.mc) 801Defining outgoing mail access 805Configuring virtual servers 807Configuring virtual users 808Adding user accounts 809Starting sendmail and generating database files 810Redirecting mail 811The .forward file 811The aliases file 811Introducing Postfix 813Stopping Spam with SpamAssassin 814Using SpamAssassin 815Setting up SpamAssassin on your mail server 815Setting e-mail readers to filter spam 817Getting Mail from the Server (POP3 or IMAPv4) 818Accessing mailboxes in Linux 818Configuring IMAPv4 and POP3 with dovecot 819Getting Mail from Your Browser with SquirrelMail 820Administering a Mailing List with mailman 821Summary 825Chapter 20: Setting Up an FTP Server 827Understanding FTP Servers 828Attributes of FTP servers 828FTP user types 829Using the Very Secure FTP Server 829Quick-starting vsFTPd 830Configuring vsFTPd 831User accounts 831Setting FTP access 832Adding message files 835Logging vsFTPd activities 835Setting timeouts 836Navigating a vsFTPd site 836Setting up vsFTPd behind a firewall 836Getting More Information about FTP Servers 837Summary 837Chapter 21: Setting Up a Web Server 839Introduction to Web Servers 840The Apache Web server 840Other Web servers available for Fedora and RHEL 841Quickstarting the Apache Web Server 842Configuring the Apache Server 844Configuring the Web server (httpd.conf) 845Setting the global environment 846Setting the number of server processes 848Binding to specific addresses 851Selecting modules in httpd.conf 851Including module-specific configuration files 856Choosing the serverâs user and group 856Setting the main serverâs configuration 857Identifying user directories 860Setting default index files for directories 862Defining indexing 869Defining encoding and language 872Choosing character sets 873Adding MIME types and handlers 874Defining actions and headers 874Customizing error responses 875Setting responses to browsers 877Enabling proxy and caching services 877Configuring virtual hosting 879Configuring modules and related services (/etc/httpd/conf.d/*.conf) 881Starting and Stopping the Server 882Monitoring Server Activities 884Displaying server information 885Displaying server status 885Further security of server-info and server-status 887Logging errors 887Logging hits 888Analyzing Web-server traffic 888Statistics Packages Available for Fedora and RHEL 890Summary 890Chapter 22: Setting Up an LDAP Address Book Server 891Understanding LDAP 892Defining information in schemas 893Understanding OIDs 894Structuring your LDAP directories 894Setting Up the OpenLDAP Server 895Installing OpenLDAP packages 895Configuring the OpenLDAP server (slapd.conf) 895Creating an Encrypted Password 897Starting the OpenLDAP service 898Setting Up the Address Book 898More Ways to Configure LDAP 904Accessing an LDAP Address Book from Thunderbird 905Summary 907Chapter 23: Setting Up a DHCP Boot Server 909Using Dynamic Host Configuration Protocol 909Setting Up a DHCP Server 910Opening your firewall and SELinux for DHCP 911Configuring the /etc/dhcpd.conf file 911Expanding the dhcpd.conf file 912Adding options 914Starting the DHCP server 918Setting Up a DHCP Client 919Summary 920Chapter 24: Setting Up a MySQL Database Server 921Finding MySQL Packages 922Getting More MySQL Packages 923Configuring the MySQL Server 924Using mysql user/group accounts 924Adding administrative users 925Setting MySQL options 925Creating the my.cnf configuration file 926Choosing options 927Checking options 929Using sample my.cnf files 930Starting the MySQL Server 931Checking That MySQL Server Is Working 932Working with MySQL Databases 933Starting the mysql command 933Creating a database with mysql 935Adding data to a MySQL database table 936Manually entering data 936Loading data from a file 938Understanding MySQL Tables 939Displaying MySQL Databases 945Displaying all or selected records 945Displaying selected columns 946Sorting data 947Making Changes to Tables and Records 947Altering the structure of MySQL tables 948Updating and deleting MySQL records 948Adding and Removing User Access 949Adding users and granting access 949Revoking access 950Backing Up Databases 951Checking and Fixing Databases 951Summary 953Chapter 25: Making Servers Public with DNS 955Determining Goals for Your Server 956Using a hosting service 956Connecting a Public Server 957Choosing an ISP 957Checking Terms of Service 957Getting static IP addresses 958Choosing a connection speed 959Getting a domain name 960Checking domain name availability 960Reserving a domain name 961Configuring Your Public Server 962Configuring networking 962Configuring servers 963Managing security 964Opening your firewall 964Enabling SELinux 965Checking logs and system files 965Keeping up with updates 966Setting Up a Domain Name System Server 966Understanding DNS 967Understanding authoritative zones 968Understanding DNS risks 968Understanding BIND 969DNS name server example 970Quick-starting a DNS server 972Identifying your DNS servers 973Creating DNS configuration files (named.conf and var/named) 973Starting the named (DNS) daemon 980Checking that DNS is working 980Getting More Information about BIND 982Summary 982Chapter 26: Integrating Fedora with Apple Macs 983Looking Inside Mac OS X 984Using Network Services from Mac OS X 985Using AppleTalk (netatalk) from Mac OS X 986Using AppleTalk from Mac OS 8 or OS 9 988Using Mac, Windows, and Linux servers (Samba) 988Sharing X applications 990Configuring an AppleTalk Server in Linux 991Before you start using netatalk 991Setting up the netatalk server 992Starting netatalk 993Open firewall ports 995Defining general AppleTalk server settings 995Defining specific AppleTalk servers settings 996Setting up users 996Sharing netatalk volumes 996Securing netatalk volumes 998User-level security 998Host-level security 999File- and directory-level security 999Printer Sharing 1003Troubleshooting netatalk 1004Accessing NFS Servers from the Mac 1005Connecting to NFS from the Connect to Server window 1005Connecting to NFS from the command line 1007Installing Fedora on an Intel-based Mac 1008Before installing Fedora on your Mac 1008Installing Fedora 1009Summary 1010Appendix A: About the Media 1011Fedora Source Code 1012Appendix B: Running Network Services 1013Checklist for Running Networking Services 1013Networking Service Daemons 1015The xinetd super-server 1015The init.d start-up scripts 1016Choosing Alternatives 1017Referencing Network Services 1018Web server 1018File servers 1019FTP servers 1019Samba server 1019Netatalk server 1020Login servers 1020E-mail servers 1021News server 1021Print servers 1022Network administration servers 1022Network Time Protocol server 1022Portmap server 1022SWAT 1022Arpwatch server 1023Simple Network Management Protocol server 1023Information servers 1023Network Information System servers 1024Dynamic Host Configuration Protocol server 1024Lightweight Directory Access Protocol server 1024Domain Name System server 1025Reverse Address Resolution Protocol server 1025Database services 1025User services 1025Remote execution servers 1025Talk server 1026Finger server 1026Remote user identification 1027Write-to-All server 1027Security services 1027System logging 1027Virtual private network servers 1027Proxy/caching server 1028Appendix C: Red Hat Enterprise Linux 5 Features 1033Whatâs in RHEL 5? 1033Whatâs New in RHEL 5.2? 1036Choosing an RHEL System 1036Getting RHEL Evaluation Subscriptions 1037Hardware Compatibility and Commercial Software 1037Training and Certification 1038Documentation and Support 1039Managing RHEL Systems 1039Using Red Hat Network 1039Using RHEL for high-performance computing clusters 1041Using RHEL Global File System 1041More Information on RHEL 1042Index 1043