1. Trang chủ
  2. » Giáo Dục - Đào Tạo

vnz 0497 Linux Bible 2006 Edition (2006)

912 192 0

Đ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

Thông tin cơ bản

Định dạng
Số trang 912
Dung lượng 18,28 MB

Nội dung

Linux Bible ® 2006 Edition Boot Up to Fedora™, KNOPPIX, Debian®, SUSE™, Ubuntu™, and Other Distributions Christopher Negus Linux Bible ® 2006 Edition Linux Bible ® 2006 Edition Boot Up to Fedora™, KNOPPIX, Debian®, SUSE™, Ubuntu™, and Other Distributions Christopher Negus Linux® Bible 2006 Edition: Boot Up to Fedora™, KNOPPIX, Debian®, SUSE™, Ubuntu™, and Other Distributions Published by Wiley Publishing, Inc 10475 Crosspoint Boulevard Indianapolis, IN 46256 www.wiley.com Copyright © 2006 by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada ISBN-13: 978-0-471-75489-3 ISBN-10: 0-471-75489-7 Manufactured in the United States of America 10 1O/RS/QR/QW/IN 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 Sections 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, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600 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-4355, or online at http://www.wiley.com/go/permissions LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHOR MAKE NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS WORK AND SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES OR PROMOTIONAL MATERIALS THE ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT BE SUITABLE FOR EVERY SITUATION THIS WORK IS SOLD WITH THE UNDERSTANDING THAT THE PUBLISHER IS NOT ENGAGED IN RENDERING LEGAL, ACCOUNTING, OR OTHER PROFESSIONAL SERVICES IF PROFESSIONAL ASSISTANCE IS REQUIRED, THE SERVICES OF A COMPETENT PROFESSIONAL PERSON SHOULD BE SOUGHT NEITHER THE PUBLISHER NOR THE AUTHOR SHALL BE LIABLE FOR DAMAGES ARISING HEREFROM THE FACT THAT AN ORGANIZATION OR WEBSITE IS REFERRED TO IN THIS WORK AS A CITATION AND/OR A POTENTIAL SOURCE OF FURTHER INFORMATION DOES NOT MEAN THAT THE AUTHOR OR THE PUBLISHER ENDORSES THE INFORMATION THE ORGANIZATION OR WEBSITE MAY PROVIDE OR RECOMMENDATIONS IT MAY MAKE FURTHER, READERS SHOULD BE AWARE THAT INTERNET WEBSITES LISTED IN THIS WORK MAY HAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS WORK WAS WRITTEN AND WHEN IT IS READ For general information on our other products and services or to obtain technical support, please contact our Customer Care Department within the U.S at (800) 762-2974, outside the U.S at (317) 572-3993 or fax (317) 572-4002 Library of Congress Cataloging-in-Publication Data Negus, Chris, 1957– Linux bible / Christopher Negus.—2006 ed p cm Includes index ISBN-13: 978-0-471-75489-3 (paper/dvd) ISBN-10: 0-471-75489-7 (paper/dvd) Linux Operating systems (Computers) I Title QA76.76.O63N42143 2006 005.4'32—dc22 2005032276 Trademarks: Wiley and related trade dress are registered trademarks of Wiley Publishing, Inc., in the United States and other countries, and may not be used without written permission Linux is a registered trademark of Linus Torvalds Fedora is a trademark of Red Hat, Inc Debian is a registered trademark of Software in the Public Interest, Inc SUSE is a trademark of Novell, Inc Ubuntu is a trademark of Canonical Limited Company 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 About the Author Chris Negus has written or co-written dozens of books on Linux and UNIX, including Red Hat Linux Bible (all editions), Linux Troubleshooting Bible, and the recent Linux Toys II For eight years he worked with the organization at AT&T that developed UNIX before moving to Utah to help contribute to Novell’s short-lived UnixWare project in the early 1990s When not writing about Linux, Chris enjoys playing soccer and just hanging out with his family About the Contributing Authors Wayne Tucker is a Linux enthusiast and has been a professional system administrator for six years He is currently a technical manager, systems administrator, and network engineer at an Internet company in Washington state He lives in Bellingham, Washington, with his beloved wife, Danielle, whom he would like to thank for her patience while he was working on this project His future projects include continuing his education and working on the things that have recently accumulated on his “honey-do” list Kurt Wall is a professional technical writer by trade and a historian by training These days, Kurt works for TimeSys Corporation in Pittsburgh, Pennsylvania His primary responsibility is managing TimeSys’s Content Group In addition to overseeing production of the technical and end-user documentation of TimeSys’s embedded Linux operating system and development tools, he writes most of the documentation for TimeSys’s embedded Linux products and all of the content available on the TimeSys Network Kurt has written or co-written 15 books on Linux system administration and programming topics and contributes the occasional product review to LinuxPlanet In his spare time, he has no spare time Kurt, who dislikes writing about himself in the third person, receives entirely too much e-mail at kwall@kurtwerks.com Credits Executive Editor Carol Long Acquisitions Editor Debra Williams Cauley Development Editor Sara Shlaer Technical Editors Kurt Wall Wayne Tucker Bill von Hagen John Kennedy Dilip Thomas Copy Editor Nancy Rapoport Editorial Manager Mary Beth Wakefield Production Manager Tim Tate Vice President and Executive Group Publisher Richard Swadley Vice President and Executive Publisher Joseph B Wikert Project Coordinator Michael Kruzil Graphics and Production Specialists Denny Hager Joyce Haughey Heather Ryan Alicia B South Erin Zeltner Quality Control Technicians John Greenough Joe Niesen Brian H Walls Media Development Associate Producer Rich Graves Media Development Specialist Kate Jenkins Media Development Coordinator Laura Atkinson Proofreading and Indexing TECHBOOKS Production Services As always, I dedicate this book to my wife, Sheree Contents at a Glance Acknowledgments xxv Introduction xxvii Part I: Linux First Steps Chapter 1: Starting with Linux Chapter 2: Running Commands from the Shell 29 Chapter 3: Getting into the Desktop 77 Part II: Running the Show 123 Chapter 4: Learning Basic Administration 125 Chapter 5: Getting on the Internet 173 Chapter 6: Securing Linux 195 Part III: Choosing and Installing a Linux Distribution 241 Chapter 7: Installing Linux Chapter 8: Running Fedora Core and Red Hat Enterprise Linux Chapter 9: Running Debian GNU/Linux Chapter 10: Running SUSE Linux Chapter 11: Running KNOPPIX Chapter 12: Running Yellow Dog Linux Chapter 13: Running Gentoo Linux Chapter 14: Running Slackware Linux Chapter 15: Running Linspire Chapter 16: Running Mandriva Chapter 17: Running Ubuntu Linux Chapter 18: Running a Linux Firewall/Router Chapter 19: Running Bootable Linux Distributions 243 275 299 325 341 363 383 399 415 425 441 459 485 Part IV: Running Applications 503 Chapter 20: Playing Music and Video Chapter 21: Working with Words and Images Chapter 22: E-Mailing and Web Browsing Chapter 23: Gaming with Linux 505 545 585 619 866 Index ✦ T–U tools (continued) Disk Druid, 254–257 Inside Security Rescue Toolkit (INSERT), 820 Partition Magic tool, 251 Procmail e-mail-filtering tool, 217–218 scanimage, 583 Secure Shell (ssh) tools, 209–213 User Manager tool (Linspire), 423 xsane, 583 top command, 171 Torvalds, Linus (creator of Linux), 7–8, 14–15 Totem video player (Ubuntu), 444 touch command, 66 TransGaming Technologies games, 620–621, 638–640 Transport Layer Security (TLS), 667 trapdoor algorithms, 201 troff command, 555 troubleshooting bootable Linux distributions, 487 CD-ROM drive, 513 certificates, 238 LAMP (Linux, Apache, MySQL, PHP) server, 663–666 mail server, 683–686 Samba file server, 746–749 X Window System, 121 TUIs (textmode user interfaces), 770–776 TurboLinux, 245 turning on/off permissions, 69 Tux Games Web site, 621 Tux mascot, 25–26 TV cards, 530–531 tvtime program, 530–531 twm (Tabbed Window Manager), 120 type command, 42 U u (owner user) permission, 69 Ubuntu apt-get utility, 450 Breezy Badger, 442 challenges with using, 446 Code of Conduct, 446 community, 445–447, 456–457 Community Council, 446 customizing, 442 Debian GNU/Linux, 441, 446 default server install, 445 DVD, 819 features, 441–444 forums, 456–457 games, 452 GNOME desktop environment, 443–444, 451–453 hardware detection, 442 help, 456–457 Hoary Hedgehog release, 442 installer, 442–443 installing, 447–450 ISO images, 819 LVM file systems, 443 Nautilus file manager, 443 OpenOffice.org, 444, 452 popularity of, 441 software installation, 453–456 software packages, 442, 450–451, 453–456 spin-off projects, 445 support, 456–457 Synaptic Package Manager, 451, 453–456 Technical Board, 446 Totem video player, 444 updates, 450–451 Warty Warthog release, 442 Udev feature, 406, 511 ufs file system, 160 UID environment variable, 57 umount command, 164–165 umsdos file system, 159 Unique Legal Rights page (Novell), 22 United States Computer Emergency Readiness Team (CERT), 20 Univel, 11 University of California at Berkeley, 10, 13 UNIX operating system, 8–12 UNIX System Laboratories (USL), 10–11 UnixWare (Novell, Inc.), 11 unmounting file systems NFS file system, 729 unmount command, 164–165 Unofficial Fedora FAQ Web site, 280 Unreal Tournament 2003/2004 (Epic Games), 636 unset shell command, 58 up2date log file, 206 updates Debian GNU/Linux, 317 SUSE Linux, 331–332 Ubuntu, 450–451 Yellow Dog Linux, 378–379 upgrading Linux distributions, 250–251, 288 U.S export laws, 229 USB storage devices, 542–543 Index ✦ U–V user accounts adding, 143–146 defaults, 147–148 groups, 146 passwords, 145 USER environment variables, 55 user forums See forums user groups, 829–830 User Manager tool (Linspire), 423 useradd command, 143–148 usermod command, 35 USL (UNIX System Laboratories), 10–11 /usr directory, 62 utilities See also tools apt-get, 419, 450 cdp utility, 514–515 Click-N-Run Express utility (Linspire), 418 Click-N-Run utility (Linspire), 417–418 Common UNIX Printing Service (CUPS), 126 debconf, 322 defined, dpkg, 318–320, 419 DrakConf utility (Mandriva), 429–430 DrakX utility (Mandriva), 428–429 fdisk utility, 257–260 klogd, 139 KPackage utility (KNOPPIX), 344, 357 ldconfig, 796 Mailman, 126 make, 792–795 MD5Summer, 248 pppconfig (Debian GNU/Linux), 313–314 rpm, 330–331 RPMDrake utility (Mandriva), 429 Samba, 126 SoX utility, 521–524 SquirrelMail, 126 syslogd, 139 System Logs, 140 tail, 684 tasksel, 320 Webmin, 127 YaST Online Update (YOU) (SUSE Linux), 331–332 YaST (SUSE Linux), 130–131, 326–330 uucp administrative login, 140 uucp log file, 206 V VA Software, 14, 828 /var directory, 62 variables BASH, 56 BASH_VERSION, 56 creating, 57–58 defined, 39 dynamic linker/loader ld.so, 799 EUID, 56 expanding, 51 exporting, 58 FCEDIT, 56 HISTCMD, 56 HISTFILE, 56 HISTFILESIZE, 56 HOME, 56 HOSTTYPE, 56 MAIL, 56 OLDPWD, 56 OSTYPE, 56 overriding values of, 58 PATH, 54, 57 PPID, 57 PROMPT_COMMAND, 57 PS1, 52–54, 57 PWD, 57 RANDOM, 57 SECONDS, 57 setting, 57–58 SHLVL, 57 TMOUT, 54, 57 UID, 57 USER, 55 viewing, 55 WHATEVER, 54–55 VeriSign certificate authority, 234, 667 version control Concurrent Version System (CVS), 800, 803–807 importance of, 800 locks, 800 Revision Control System (RCS), 800–803 revisions, 800 Source Code Control System (SCCS), 800 working file, 800 vfat file system, 159 vi text editor, 43, 70–75, 786 video RealPlayer 10 for Linux, 538 Totem video player (Ubuntu), 444 xine video player, 534–537 video cards, 421, 620, 622–624 video codecs, 509–510 867 868 Index ✦ V–W video conferencing, 531–533 Video4Linux (V4l/V4l2) video interface, 530–531 viewing environment variables, 55 log files, 204 partitions, 156–157 PDF documents, 578 PostScript documents, 578 printers, 695 vim text editor, 786 virtual desktops, 96 virtual hosting, 654–658 virtual terminals, 32 virus scanners, 675, 680–682 viruses, 20–21 Visual Age IDE (IBM), 753 Volkerding, Patrick (creator of Slackware), 400–403 vsftpd.log log file, 206 W Warty Warthog (Ubuntu release), 442 watching TV, 530–531 watching video, 534–538 Web browsers choosing, 601 dillo, 601 Firefox, 20, 601, 613–617 Internet Explorer (Microsoft), 20 Konqueror, 601 Mosaic, 648 Mozilla Navigator, 20, 601–612 text-based, 601, 612–613 viruses, 20–21 Web servers Apache HTTPD, 19, 648, 650–651 LAMP (Linux, Apache, MySQL, PHP), 647–658 NCSA HTTPD, 648 SSL/TLS encryption, 667–671 Web sites AbiSource project, 549 Apache Software Foundation, 19, 829 CERT Coordination center, 199 Damn Small Linux, 496 Debian GNU/Linux, 827 DistroWatch, 487, 821, 827 Fedora, 827 FedoraForum.org, 280 Free Software Foundation, 829 GeeXboX, 493 Gentoo, 828 GNOME, 829 Google Linux, 826, 829 Groklaw, 22, 826 Ibiblio, 828 IBM, 828 id Software, 621 Internet Storm Center, 195 Internet Systems Consortium, 19, 829 Iptables Tutorial, 473 Just Linux, 380 K Desktop Environment (KDE), 829 KNOPPIX, 827 Linspire, 821, 828 The Linux Documentation Project, 380, 826 Linux Forums, 826 Linux Game Tome, 621 Linux Gamers’ FAQ, 621 Linux Gurus, 474 Linux Help, 826 Linux Journal Help Desk, 380 Linux Kernel Archives, 826 Linux Meetup Groups, 829 Linux Online, 826, 830 Linux Questions, 826 Linux Today, 826 Linux.com, 826 Linux.com Tips, 380 Linuxgamepublishing.com, 621 Linuxgames.com, 621 LinuxGazette GLUE, 830 LinuxInsider, 826 LinuxISO.org, 827 LinuxLinks.com, 487 LinuxPackages, 828 LinuxSecurity, 199 Loki Entertainment Software, 621 LWN.net, 15, 826–827 Mandriva, 821, 828 MoviX2, 492–493 Netfilter project, 474 Newsforge, 826 The Open Group, 14 Open Source Development Labs, 14 Open Source Initiative (OSI), 16 Puppy Linux, 497 Red Hat Enterprise Linux, 821, 827 SecurityFocus, 199 Shorewall, 464 Slackware, 403, 828 Slashdot.org, 825–826 Index ✦ W–X SourceForge.net, 18 StarOffice, 549 SUSE, 827 SUSE Linux Portal, 332 Terra Soft Solutions, 363 TransGaming Technologies, 620–621 Tux Games, 621 Unofficial Fedora FAQ, 280 VA Software, 828 XFree86, 829 X.org, 829 Xwinman, 120 Yellow Dog Linux, 821, 827–828 Web-based administration tools, 126 Web-based mail, 688 Webcams, 532 Webmin Administration Tool, 127 wget command, 247 WHATEVER environment variable, 54–55 whatis command, 813 who command, 35 Widenius, Michael (Monty) (creator of MySQL), 649 widgets, 777 Window Maker window manager, 120 window managers Blackbox, 119 choosing, 120 FluxBox, 119–120 FVWM, 120 FVWM-95, 120 KDE (K Desktop Environment), 95–96 Metacity (GNOME), 100, 102–103 twm (Tabbed Window Manager), 120 Window Maker, 120 X Window System, 78, 114, 118–120 xfce, 119 Windows file system, 63, 345 Windows games, 635–636 Windows Media Audio (WMA) codec, 509 Windows Media Video (WMV) codec, 509 Windows (SMB) printer, 702–704, 712–714 Windows trademark and Lindows, 415–416 Windows/Linux dual-boot systems, 251–252 Win4Lin (Linspire), 419 Winmodems, 174–175 Winprinters, 697 Wolber, Chuck, Linux Toys, 525 Word (Microsoft), 551 word processors See also text processors AbiWord, 548–550 KWord, 548, 550 Word (Microsoft), 551 Writer (OpenOffice.org), 546–547 Writer (StarOffice), 548 working directory, 36 working file (version control), 800 write file permission, 67–68 Writer (OpenOffice.org), 546–547 Writer (StarOffice), 548 w3m text-based Web browser, 601, 612–613 wvdialconf command, 193–194 X X display manager (xdm), 78 X Multimedia System (XMMS) multimedia player, 513, 517–520 X Window System bootable Linux distributions, 487 configuring, 114–121 drivers, 116 firewalls, 460 games, 624 stability of, 16 troubleshooting, 121 window managers, 78, 114, 118–120 Xandros, 245 XBoard program, 628–629 xdm (X display manager), 78 Xemacs text editor, 554 XFCE desktop environment, 407 xfce window manager, 119 xferlog log file, 205 XForms, 777 XFree86 Web site, 829 XFree86.0.log log file, 139 xine video player, 534–537 Xlib, 778 XMMS (X Multimedia System) multimedia player, 513, 517–520 X.org Web site, 829 Xorg.0.log log file, 139, 206 xsane tool, 583 Xt Intrinsics, 778 xterm terminal emulator, 31 Xwinman Web site, 120 869 870 Index ✦ Y–Z Y YaST Online Update (YOU) utility (SUSE Linux), 331–332 YaST (SUSE Linux), 130–131, 326–330 Yellow Dog Linux Anaconda installer, 367 Apple products, 363–366 booting, 378 community, 380–381 downloading, 363 features, 365–367 Fedora Core, 366 GNOME desktop environment, 366 hardware detection, 367 hardware requirements, 368–369 help, 380 installing, 367–377 KDE (K Desktop Environment), 366 kudzu hardware detection, 367 Mac-on-Linux software, 364, 379 multimedia software, 363 OpenOffice.org, 366 RPM packages, 366 software installation, 378–379 software packages, 366, 372, 376, 378–379 support, 380 updates, 378–379 versions, 365 Web site resources, 821, 827–828 Yellow Dog Updated, Modified (yum), 378–379 YOU (YaST Online Update) utility (SUSE Linux), 331–332 yum software management tool, 278 Z ZipSlack, 249, 400, 407 zlib API, 782 ZoneEdit dynamic DNS services, 677 zsh shell, 34 GNU General Public License Version 2, June 1991 Copyright © 1989, 1991 Free Software Foundation, Inc 675 Mass Ave, Cambridge, MA 02139, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed Preamble The licenses for most software are designed to take away your freedom to share and change it By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software—to make sure the software is free for all its users This General Public License applies to most of the Free Software Foundation’s software and to any other program whose authors commit to using it (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too When we speak of free software, we are referring to freedom, not price Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can these things To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have You must make sure that they, too, receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software Also, for each author’s protection and ours, we want to make certain that everyone understands that there is no warranty for this free software If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors’ reputations Finally, any free program is threatened constantly by software patents We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary To prevent this, we have made it clear that any patent must be licensed for everyone’s free use or not licensed at all The precise terms and conditions for copying, distribution and modification follow TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License The “Program”, below, refers to any such program or work, and a “work based on the Program” means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language (Hereinafter, translation is included without limitation in the term “modification”.) Each licensee is addressed as “you” Activities other than copying, distribution and modification are not covered by this License; they are outside its scope The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program) Whether that is true depends on what the Program does You may copy and distribute verbatim copies of the Program’s source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notice stating that you changed the files and the date of any change b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, not apply to those sections when you distribute them as separate works But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections and above provided that you also one of the following: a) Accompany it with the complete corresponding machine@@hyreadable source code, which must be distributed under the terms of Sections and above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine@@hyreadable copy of the corresponding source code, to be distributed under the terms of Sections and above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance You are not required to accept this License, since you have not signed it However, nothing else grants you permission to modify or distribute the Program or its derivative works These actions are prohibited by law if you not accept this License Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions You may not impose any further restrictions on the recipients’ exercise of the rights granted herein You are not responsible for enforcing compliance by third parties to this License If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they not excuse you from the conditions of this License If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all For example, if a patent license would not permit royalty@@hyfree redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded In such case, this License incorporates the limitation as if written in the body of this License The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns Each version is given a distinguishing version number If the Program specifies a version number of this License which applies to it and “any later version”, you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation 10 If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally NO WARRANTY 11 BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION 12 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES END OF TERMS AND CONDITIONS ISO Distribution: This book includes an ISO copy of Fedora™ Core Linux® from the Fedora Project, which you may use in accordance with the license agreements accompanying the software For more information, see the Fedora Project website (http://fedora.redhat.com/) Red Hat does not provide support services for Fedora Core You may purchase Red Ha® Enterprise Linux® and technical support from Red Hat through its website (www.redhat.com) Limited War ranty: (a) WPI warrants that the Software and Software Media are free from defects in materials and workmanship under normal use for a period of sixty (60) days from the date of purchase of this Book If WPI receives notification within the warranty period of defects in materials or workmanship, WPI will replace the defective Software Media (b) WPI AND THE AUTHOR OF THE BOOK DISCLAIM ALL OTHER WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE SOFTWARE, THE PROGRAMS, THE SOURCE CODE CONTAINED THEREIN, AND/OR THE TECHNIQUES DESCRIBED IN THIS BOOK WPI DOES NOT WARRANT THAT THE FUNCTIONS CONTAINED IN THE SOFTWARE WILL MEET YOUR REQUIREMENTS OR THAT THE OPERATION OF THE SOFTWARE WILL BE ERROR FREE (c) This limited warranty gives you specific legal rights, and you may have other rights that vary from jurisdiction to jurisdiction 0-7645-9576-8 • Paper/DVD & CDs 0-7645-6997-X • Paper/WebSite Negus knows Linux Now you can, too ® Available at www.wiley.com/go/negus 0-7645-7995-9 • Paper Wiley and the Wiley logo are trademarks of John Wiley & Sons, Inc and/or its affiilates ExtremeTech is a registered trademark of Ziff Davis Publishing Holdings, Inc Used under license Linux is a registered trademark of Linus Torvalds All other trademarks are the property of their respective owners

Ngày đăng: 11/10/2016, 14:05

TỪ KHÓA LIÊN QUAN

w