Linux Bible® 2010 Edition: Boot Up to Ubuntu®, Fedora®, KNOPPIX, Debian®, openSUSE®, and 13 Other Distributions

Book description

The definitive guide to the basics of one of the most popular operating systems in the world

Whether you're a first-time Linux user or you're migrating from another operating system, this book is an ideal introductory guide for getting comfortable with the building-block nature of Linux. Written by bestselling author Christopher Negus, this guide is packed with in-depth descriptions on the basics of Linux desktops, servers, and programming tools and gets you up to speed on all the new and exciting features of the newest version: Linux 2010. Negus walks you through transitioning from Windows or Mac and helps you find the Linux distribution that best meets your needs.

You'll explore more than 18 Linux distributions, including the latest versions of Ubuntu, Fedora, Debian, OpenSUSE, Slackware, Knoppix, Gentoo, Mandriva, SLAX, and more. Plus, you'll discover how to set up secure, fully functioning Linux server systems and get up-to-date installation advice.

  • Servers as an ideal introduction to the newest version of the Linux operating system, and written by the unparalleled, bestselling author Christopher Negus

  • Features valuable examples that show how people have implemented Linux in the real world

  • Shares hands-on instructions on how to install a Linux server system

  • Offers step-by-step descriptions of key desktop and server components

  • Includes more than 18 Linux distributions on the accompanying CD-ROM and DVD

Linux Bible 2010 Edition walks you through the details of the various Linux distributions and updates you on the latest networking, desktop, and server enhancements.

Table of contents

  1. Copyright
  2. About the Author
  3. Credits
  4. Acknowledgments
  5. Introduction
    1. Understanding the Linux Mystique
    2. How This Book Is Organized
    3. What You Will Get from This Book
    4. Conventions Used in This Book
  6. I. Getting off the Ground with Linux
    1. 1. Starting with Linux
      1. 1.1. Taking Your First Step
        1. 1.1.1. What comes in Linux systems?
        2. 1.1.2. What do you need to get started?
        3. 1.1.3. Starting right now
          1. 1.1.3.1. Trying KNOPPIX
          2. 1.1.3.2. Trying Damn Small Linux
          3. 1.1.3.3. Trying other Linux distributions
      2. 1.2. Understanding Linux
      3. 1.3. What's So Great About Linux?
      4. 1.4. Summary
    2. 2. Linux Projects, Activities, and Careers
      1. 2.1. Making Things with Linux
        1. 2.1.1. Linux in outer space
        2. 2.1.2. Linux in gadgets
        3. 2.1.3. Linux in projects
      2. 2.2. Getting Involved with Linux
        1. 2.2.1. Joining a Linux User Group
        2. 2.2.2. Joining Linux communities
        3. 2.2.3. Companies and groups supporting Linux
      3. 2.3. Keeping Up with Linux
        1. 2.3.1. Major Linux projects
        2. 2.3.2. Exploring Linux distributions
      4. 2.4. Linux in the Real World
        1. 2.4.1. Linux in schools
        2. 2.4.2. Linux in small business
        3. 2.4.3. Linux in the enterprise
      5. 2.5. Becoming a Linux Professional
      6. 2.6. Summary
  7. II. Running a Linux Desktop
    1. 3. Getting into the Desktop
      1. 3.1. Understanding Your Desktop
      2. 3.2. Starting the Desktop
        1. 3.2.1. Boot to the desktop
        2. 3.2.2. Boot to graphical login
        3. 3.2.3. Boot to a text prompt
      3. 3.3. K Desktop Environment
        1. 3.3.1. Using the KDE desktop
        2. 3.3.2. Managing files with Dolphin and Konqueror
        3. 3.3.3. Using the Dolphin file manager
          1. 3.3.3.1. Working with files
          2. 3.3.3.2. Searching for files
          3. 3.3.3.3. Creating new files and folders
        4. 3.3.4. Using the Konqueror Web browser/file manager
          1. 3.3.4.1. Using bookmarking features in Konqueror
          2. 3.3.4.2. Configuring Konqueror options
        5. 3.3.5. Managing the KDE desktop
          1. 3.3.5.1. Managing windows in the taskbar
          2. 3.3.5.2. Uncluttering the desktop
          3. 3.3.5.3. Moving windows
          4. 3.3.5.4. Resizing windows
          5. 3.3.5.5. Pinning windows on top or bottom
          6. 3.3.5.6. Using virtual desktops
          7. 3.3.5.7. Adding widgets
        6. 3.3.6. Configuring the desktop
          1. 3.3.6.1. Changing panel attributes
      4. 3.4. The GNOME Desktop
        1. 3.4.1. Using the Metacity window manager
        2. 3.4.2. Using the GNOME panels
          1. 3.4.2.1. Using the Applications and System menus
          2. 3.4.2.2. Adding an applet
          3. 3.4.2.3. Adding another panel
          4. 3.4.2.4. Adding an application launcher
          5. 3.4.2.5. Adding a drawer
          6. 3.4.2.6. Changing panel properties
        3. 3.4.3. Using the Nautilus file manager
        4. 3.4.4. 3D effects with AIGLX
        5. 3.4.5. Changing GNOME preferences
        6. 3.4.6. Exiting GNOME
      5. 3.5. Configuring Your Own Desktop
        1. 3.5.1. Configuring X
          1. 3.5.1.1. Creating a working X configuration file
          2. 3.5.1.2. Getting new X drivers
          3. 3.5.1.3. Tuning up your X configuration file
        2. 3.5.2. Choosing a window manager
        3. 3.5.3. Choosing your personal window manager
      6. 3.6. Getting More Information
      7. 3.7. Summary
    2. 4. Playing Music and Video
      1. 4.1. Playing Digital Media and Obeying the Law
        1. 4.1.1. Copyright protection issues
        2. 4.1.2. Exploring codecs
      2. 4.2. Playing Music
        1. 4.2.1. Using sound systems in Linux
        2. 4.2.2. Adjusting sound with PulseAudio
        3. 4.2.3. Setting up audio cards
        4. 4.2.4. Choosing an audio CD player
          1. 4.2.4.1. Playing music with Rhythmbox Audio Player
          2. 4.2.4.2. Playing music with the XMMS multimedia player
            1. 4.2.4.2.1. Using the Equalizer
            2. 4.2.4.2.2. Using the Playlist Editor
        5. 4.2.5. Using MIDI audio players
        6. 4.2.6. Performing audio file conversion and compression
          1. 4.2.6.1. Converting audio files with SoX
          2. 4.2.6.2. Compressing music files with oggenc
      3. 4.3. Recording and Ripping Music
        1. 4.3.1. Creating an audio CD with cdrecord
        2. 4.3.2. Ripping CDs with Grip
        3. 4.3.3. Creating CD labels with cdlabelgen
      4. 4.4. Working with TV, Video, and Digital Imaging
        1. 4.4.1. Watching TV with tvtime
          1. 4.4.1.1. Getting a supported TV card
          2. 4.4.1.2. Running tvtime
        2. 4.4.2. Video conferencing with Ekiga
          1. 4.4.2.1. Getting a supported Webcam
          2. 4.4.2.2. Opening your firewall for Ekiga
          3. 4.4.2.3. Running Ekiga
      5. 4.5. Watching Movies and Video
        1. 4.5.1. Watching video with xine
          1. 4.5.1.1. Using xine
          2. 4.5.1.2. Creating playlists with xine
          3. 4.5.1.3. xine tips
        2. 4.5.2. Using Totem movie player
      6. 4.6. Using a Digital Camera
        1. 4.6.1. Displaying images in gThumb
        2. 4.6.2. Using your camera as a storage device
      7. 4.7. Summary
    3. 5. Working with Words and Images
      1. 5.1. Desktop Publishing in Linux
        1. 5.1.1. Using text editors and notepads
        2. 5.1.2. Using word processors
          1. 5.1.2.1. Using OpenOffice.org Office Suite
          2. 5.1.2.2. Other word processors
          3. 5.1.2.3. Using StarOffice
          4. 5.1.2.4. Using AbiWord
          5. 5.1.2.5. Using KOffice
        3. 5.1.3. Transitioning documents from Windows
          1. 5.1.3.1. Converting documents
        4. 5.1.4. Building structured documents
          1. 5.1.4.1. Understanding SGML and XML
          2. 5.1.4.2. Understanding DocBook
          3. 5.1.4.3. Creating DocBook documents
          4. 5.1.4.4. Converting DocBook documents
        5. 5.1.5. Doing page layout with Scribus
      2. 5.2. Working with Graphics
        1. 5.2.1. Manipulating images with The GIMP
        2. 5.2.2. Creating vector graphic images with Inkscape
        3. 5.2.3. Acquiring screen captures
        4. 5.2.4. Viewing images
      3. 5.3. Displaying PDF and PostScript Documents
        1. 5.3.1. Using the ghostscript and gv commands
        2. 5.3.2. Using Adobe Reader
      4. 5.4. Using Scanners with SANE
      5. 5.5. Web Publishing
      6. 5.6. Summary
    4. 6. E-Mailing and Web Browsing
      1. 6.1. Using E-Mail
        1. 6.1.1. Choosing an e-mail client
        2. 6.1.2. Getting here from Windows
        3. 6.1.3. Getting started with e-mail
        4. 6.1.4. Tuning up e-mail
        5. 6.1.5. Reading e-mail with Thunderbird
          1. 6.1.5.1. Setting up an e-mail account
          2. 6.1.5.2. Connecting to the mail server
          3. 6.1.5.3. Managing incoming mail
          4. 6.1.5.4. Composing and sending mail
          5. 6.1.5.5. Filtering mail and catching spam
        6. 6.1.6. Managing e-mail in Evolution
          1. 6.1.6.1. Receiving, composing, and sending e-mail
          2. 6.1.6.2. Managing e-mail with Search Folders
          3. 6.1.6.3. Filtering e-mail messages
        7. 6.1.7. Reading e-mail with SeaMonkey Mail
        8. 6.1.8. Working with text-based e-mail readers
          1. 6.1.8.1. Mutt mail reader
          2. 6.1.8.2. Pine mail reader
          3. 6.1.8.3. Mail reader
      2. 6.2. Choosing a Web Browser
      3. 6.3. Exploring the SeaMonkey Suite
      4. 6.4. Using Firefox
        1. 6.4.1. Setting up Firefox
          1. 6.4.1.1. Setting Firefox preferences
          2. 6.4.1.2. Adding add-ons and plug-ins
          3. 6.4.1.3. Changing Firefox themes
        2. 6.4.2. Securing Firefox
        3. 6.4.3. Tips for using Firefox
        4. 6.4.4. Using Firefox controls
        5. 6.4.5. Improving Firefox browsing
          1. 6.4.5.1. Adding a preferences toolbar
        6. 6.4.6. Doing cool things with Firefox
          1. 6.4.6.1. Blocking pop-ups
          2. 6.4.6.2. Using tabbed browsing
          3. 6.4.6.3. Resizing Web page text
      5. 6.5. Using Text-Based Web Browsers
      6. 6.6. Summary
    5. 7. Gaming with Linux
      1. 7.1. Jumping into Linux Gaming
      2. 7.2. Overview of Linux Gaming
      3. 7.3. Basic Linux Gaming Information
      4. 7.4. Choosing Gaming Hardware for Linux
        1. 7.4.1. Binary-only video card drivers
        2. 7.4.2. Open source video drivers
      5. 7.5. Running Open Source Linux Games
        1. 7.5.1. GNOME games
        2. 7.5.2. KDE games
        3. 7.5.3. Games in Fedora
          1. 7.5.3.1. Freeciv
            1. 7.5.3.1.1. Getting started with Freeciv
            2. 7.5.3.1.2. Building your civilization
            3. 7.5.3.1.3. Exploring your world
            4. 7.5.3.1.4. Using more controls and actions
          2. 7.5.3.2. Extreme Tux Racer
      6. 7.6. Commercial Linux Games
        1. 7.6.1. Getting started with commercial games in Linux
        2. 7.6.2. Playing commercial Linux games
        3. 7.6.3. id Software games
          1. 7.6.3.1. Quake III Arena
          2. 7.6.3.2. Return to Castle Wolfenstein
        4. 7.6.4. Playing TransGaming and Cedega games
        5. 7.6.5. Loki Software game demos
          1. 7.6.5.1. Civilization: Call to Power
          2. 7.6.5.2. Myth II: Soulblighter
          3. 7.6.5.3. Heretic II
          4. 7.6.5.4. Neverwinter Nights
      7. 7.7. Summary
  8. III. Learning System Administration Skills
    1. 8. Installing Linux
      1. 8.1. Choosing a Linux Distribution
        1. 8.1.1. Linux at work
        2. 8.1.2. Other distributions
      2. 8.2. Getting Your Own Linux Distribution
        1. 8.2.1. Finding another Linux distribution
        2. 8.2.2. Understanding what you need
        3. 8.2.3. Downloading the distribution
        4. 8.2.4. Burning the distribution to CD
      3. 8.3. Exploring Common Installation Topics
        1. 8.3.1. Knowing your computer hardware
        2. 8.3.2. Upgrading or installing from scratch
        3. 8.3.3. Dual booting and virtualization
          1. 8.3.3.1. Setting up for dual booting
        4. 8.3.4. Installing Linux to run virtually
        5. 8.3.5. Using installation boot options
        6. 8.3.6. Partitioning hard drives
          1. 8.3.6.1. Partitioning during Fedora installation
            1. 8.3.6.1.1. Reasons for partitioning
            2. 8.3.6.1.2. Deleting, adding, and editing partitions
          2. 8.3.6.2. Partitioning with fdisk
          3. 8.3.6.3. Tips for creating partitions
        7. 8.3.7. Using LILO or GRUB boot loaders
          1. 8.3.7.1. Booting your computer with GRUB
          2. 8.3.7.2. Booting with GRUB
          3. 8.3.7.3. Temporarily changing boot options
          4. 8.3.7.4. Permanently changing boot options
          5. 8.3.7.5. Adding a new GRUB boot image
          6. 8.3.7.6. Booting your computer with LILO
            1. 8.3.7.6.1. Using LILO
            2. 8.3.7.6.2. Setting up the /etc/lilo.conf file
          7. 8.3.7.7. Changing your boot loader
        8. 8.3.8. Configuring networking
        9. 8.3.9. Configuring other administrative features
      4. 8.4. Installing from the Linux Bible CD or DVD
      5. 8.5. Summary
    2. 9. Running Commands from the Shell
      1. 9.1. Starting a Shell
        1. 9.1.1. Using the shell prompt
        2. 9.1.2. Using a terminal window
        3. 9.1.3. Using virtual terminals
      2. 9.2. Choosing Your Shell
        1. 9.2.1. Using bash (and earlier sh) shells
        2. 9.2.2. Using tcsh (and earlier csh) shells
        3. 9.2.3. Using ash
        4. 9.2.4. Using ksh
        5. 9.2.5. Using zsh
      3. 9.3. Exploring the Shell
        1. 9.3.1. Checking your login session
        2. 9.3.2. Checking directories and permissions
        3. 9.3.3. Checking system activity
        4. 9.3.4. Exiting the shell
      4. 9.4. Using the Shell in Linux
        1. 9.4.1. Locating commands
        2. 9.4.2. Rerunning commands
          1. 9.4.2.1. Command-line editing
          2. 9.4.2.2. Command-line completion
          3. 9.4.2.3. Command-line recall
        3. 9.4.3. Connecting and expanding commands
          1. 9.4.3.1. Piping commands
          2. 9.4.3.2. Sequential commands
          3. 9.4.3.3. Background commands
          4. 9.4.3.4. Expanding commands
          5. 9.4.3.5. Expanding arithmetic expressions
          6. 9.4.3.6. Expanding environment variables
      5. 9.5. Creating Your Shell Environment
        1. 9.5.1. Configuring your shell
          1. 9.5.1.1. Setting your prompt
          2. 9.5.1.2. Adding environment variables
          3. 9.5.1.3. Adding aliases
        2. 9.5.2. Using shell environment variables
          1. 9.5.2.1. Common shell environment variables
          2. 9.5.2.2. Set your own environment variables
        3. 9.5.3. Managing background and foreground processes
          1. 9.5.3.1. Starting background processes
          2. 9.5.3.2. Using foreground and background commands
      6. 9.6. Working with the Linux File System
        1. 9.6.1. Creating files and directories
          1. 9.6.1.1. Using metacharacters and operators
          2. 9.6.1.2. Using file-matching metacharacters
          3. 9.6.1.3. Using file-redirection metacharacters
          4. 9.6.1.4. Understanding file permissions
        2. 9.6.2. Moving, copying, and deleting files
      7. 9.7. Using the vi Text Editor
        1. 9.7.1. Starting with vi
        2. 9.7.2. Moving around the file
        3. 9.7.3. Searching for text
        4. 9.7.4. Using numbers with commands
      8. 9.8. Summary
    3. 10. Learning Basic Administration
      1. 10.1. Graphical Administration Tools
        1. 10.1.1. Using Web-based administration
          1. 10.1.1.1. Open source projects offering Web administration
          2. 10.1.1.2. The Webmin administration tool
        2. 10.1.2. Graphical administration with different distributions
          1. 10.1.2.1. Fedora/RHEL config tools
          2. 10.1.2.2. SUSE YaST tools
      2. 10.2. Using the root Login
        1. 10.2.1. Becoming root from the shell (su command)
        2. 10.2.2. Allowing limited administrative access
      3. 10.3. Exploring Administrative Commands, Configuration Files, and Log Files
        1. 10.3.1. Administrative commands
        2. 10.3.2. Administrative configuration files
        3. 10.3.3. Administrative log files
      4. 10.4. Using sudo and Other Administrative Logins
      5. 10.5. Administering Your Linux System
      6. 10.6. Creating User Accounts
        1. 10.6.1. Adding users with useradd
        2. 10.6.2. Setting user defaults
        3. 10.6.3. Modifying users with usermod
        4. 10.6.4. Deleting users with userdel
      7. 10.7. Configuring Hardware
        1. 10.7.1. Managing removable hardware
          1. 10.7.1.1. Removable media on a GNOME desktop
          2. 10.7.1.2. Removable media on a SUSE KDE desktop
        2. 10.7.2. Working with loadable modules
          1. 10.7.2.1. Listing loaded modules
          2. 10.7.2.2. Loading modules
          3. 10.7.2.3. Removing modules
      8. 10.8. Managing File Systems and Disk Space
        1. 10.8.1. Mounting file systems
          1. 10.8.1.1. Supported file systems
          2. 10.8.1.2. Using the fstab file to define mountable file systems
          3. 10.8.1.3. Using the mount command to mount file systems
            1. 10.8.1.3.1. Mounting removable media
            2. 10.8.1.3.2. Mounting a disk image in loopback
          4. 10.8.1.4. Using the umount command
        2. 10.8.2. Using the mkfs command to create a file system
        3. 10.8.3. Adding a hard disk
        4. 10.8.4. Checking system space
          1. 10.8.4.1. Displaying system space with df
          2. 10.8.4.2. Checking disk usage with du
          3. 10.8.4.3. Finding disk consumption with find
      9. 10.9. Monitoring System Performance
      10. 10.10. Doing Remote System Administration
      11. 10.11. Summary
    4. 11. Getting on the Internet
      1. 11.1. Connecting to the Network
        1. 11.1.1. Connecting via dial-up service
        2. 11.1.2. Connecting a single wired Ethernet card
        3. 11.1.3. Sharing a network connection with other computers
        4. 11.1.4. Connecting servers
        5. 11.1.5. Connecting other equipment
      2. 11.2. Using Ethernet Connections to the Internet
        1. 11.2.1. Configuring Ethernet during installation
        2. 11.2.2. Configuring Ethernet from the desktop
        3. 11.2.3. Using Network Configuration GUI in Fedora
        4. 11.2.4. Identifying other computers (hosts and DNS)
        5. 11.2.5. Understanding your Internet connection
      3. 11.3. Using Dial-Up Connections to the Internet
        1. 11.3.1. Getting information
        2. 11.3.2. Setting up dial-up PPP
        3. 11.3.3. Creating a dial-up connection with the Internet Configuration Wizard
        4. 11.3.4. Launching your PPP connection
        5. 11.3.5. Launching your PPP connection on demand
        6. 11.3.6. Checking your PPP connection
        7. 11.3.7. Checking that your modem was detected
      4. 11.4. Connecting to the Internet with Wireless
      5. 11.5. Summary
    5. 12. Securing Linux
      1. 12.1. Linux Security Checklist
        1. 12.1.1. Finding distribution-specific security resources
        2. 12.1.2. Finding general security resources
      2. 12.2. Using Linux Securely
        1. 12.2.1. Using password protection
        2. 12.2.2. Choosing good passwords
        3. 12.2.3. Using a shadow password file
          1. 12.2.3.1. Breaking encrypted passwords
          2. 12.2.3.2. Checking for the shadow password file
      3. 12.3. Using Log Files
        1. 12.3.1. The role of syslogd
        2. 12.3.2. Redirecting logs to a loghost with syslogd
        3. 12.3.3. Understanding the messages log file
      4. 12.4. Using Secure Shell Tools
        1. 12.4.1. Starting the ssh service
        2. 12.4.2. Using the ssh, sftp, and scp commands
        3. 12.4.3. Using ssh, scp, and sftp without passwords
      5. 12.5. Securing Linux Servers
        1. 12.5.1. Controlling access to services with TCP wrappers
        2. 12.5.2. Understanding attack techniques
        3. 12.5.3. Protecting against denial-of-service attacks
          1. 12.5.3.1. Mailbombing
            1. 12.5.3.1.1. Blocking mail with Procmail
            2. 12.5.3.1.2. Blocking mail with sendmail
          2. 12.5.3.2. Spam relaying
          3. 12.5.3.3. Smurf amplification attack
        4. 12.5.4. Protecting against distributed DoS attacks
        5. 12.5.5. Protecting against intrusion attacks
          1. 12.5.5.1. Evaluating access to network services
          2. 12.5.5.2. Disabling network services
        6. 12.5.6. Securing servers with SELinux
        7. 12.5.7. Protecting Web servers with certificates and encryption
          1. 12.5.7.1. Symmetric cryptography
          2. 12.5.7.2. Asymmetric cryptography
          3. 12.5.7.3. Secure socket layer
            1. 12.5.7.3.1. Creating SSL certificates
            2. 12.5.7.3.2. Using third-party certificate signers
            3. 12.5.7.3.3. Creating a certificate service request
            4. 12.5.7.3.4. Getting your CSR signed
            5. 12.5.7.3.5. Creating self-signed certificates
            6. 12.5.7.3.6. Restarting your Web server
            7. 12.5.7.3.7. Troubleshooting your certificates
      6. 12.6. Using Security Tools from Linux Live CDs
        1. 12.6.1. Advantages of security live CDs
        2. 12.6.2. Using INSERT to check for rootkits
      7. 12.7. Summary
  9. IV. Setting Up Linux Servers
    1. 13. Running a Linux, Apache, MySQL, and PHP (LAMP) Server
      1. 13.1. Components of a LAMP Server
        1. 13.1.1. Apache
        2. 13.1.2. MySQL
        3. 13.1.3. PHP
      2. 13.2. Setting Up Your LAMP Server
        1. 13.2.1. Installing Apache
        2. 13.2.2. Installing PHP
        3. 13.2.3. Installing MySQL
      3. 13.3. Operating Your LAMP Server
        1. 13.3.1. Editing your apache configuration files
        2. 13.3.2. Adding a virtual host to Apache
        3. 13.3.3. User content and the UserDir setting
        4. 13.3.4. Installing a Web application: Coppermine Photo Gallery
      4. 13.4. Troubleshooting
        1. 13.4.1. Configuration errors
        2. 13.4.2. Access forbidden and server internal errors
      5. 13.5. Securing Your Web Traffic with SSL/TLS
        1. 13.5.1. Generating your keys
        2. 13.5.2. Configuring Apache to support SSL/TLS
      6. 13.6. Summary
    2. 14. Running a Mail Server
      1. 14.1. Internet E-Mail's Inner Workings
      2. 14.2. About the System and the Software Used
      3. 14.3. Preparing Your System
        1. 14.3.1. Configuring DNS for direct delivery
        2. 14.3.2. Configuring for retrieval from a mail host
      4. 14.4. Installing and Configuring the Mail Server Software
        1. 14.4.1. Installing Exim and Courier
        2. 14.4.2. Installing ClamAV and SpamAssassin
      5. 14.5. Testing and Troubleshooting
        1. 14.5.1. Checking logs
        2. 14.5.2. Common errors (and how to fix them)
          1. 14.5.2.1. Messages rejected by Exim
          2. 14.5.2.2. Messages not delivered by Exim
          3. 14.5.2.3. Login failures when connecting to Courier
      6. 14.6. Configuring Mail Clients
        1. 14.6.1. Configuring Fetchmail
        2. 14.6.2. Configuring web-based mail
      7. 14.7. Securing Communications with SSL/TLS
      8. 14.8. Summary
    3. 15. Running a Print Server
      1. 15.1. Common UNIX Printing Service
      2. 15.2. Setting Up Printers
        1. 15.2.1. Using Web-based CUPS administration
        2. 15.2.2. Using the Printer Configuration window
          1. 15.2.2.1. Configuring local printers with the Printer Configuration window
            1. 15.2.2.1.1. Adding a local printer
            2. 15.2.2.1.2. Editing a local printer
          2. 15.2.2.2. Configuring remote printers
          3. 15.2.2.3. Adding a remote CUPS printer
          4. 15.2.2.4. Adding a remote UNIX printer
          5. 15.2.2.5. Adding a Windows (SMB) printer
      3. 15.3. Working with CUPS Printing
        1. 15.3.1. Configuring the CUPS server (cupsd.conf)
        2. 15.3.2. Starting the CUPS server
        3. 15.3.3. Configuring CUPS printer options manually
      4. 15.4. Using Printing Commands
        1. 15.4.1. Printing with lpr
        2. 15.4.2. Listing status with lpc
        3. 15.4.3. Removing print jobs with lprm
      5. 15.5. Configuring Print Servers
        1. 15.5.1. Configuring a shared CUPS printer
        2. 15.5.2. Configuring a shared Samba printer
          1. 15.5.2.1. Understanding smb.conf for printing
          2. 15.5.2.2. Setting up SMB clients
      6. 15.6. Summary
    4. 16. Running a File Server
      1. 16.1. Setting Up an NFS File Server
        1. 16.1.1. Getting NFS
        2. 16.1.2. Sharing NFS file systems
          1. 16.1.2.1. Configuring the /etc/exports file
            1. 16.1.2.1.1. Hostnames in /etc/exports
            2. 16.1.2.1.2. Access options in /etc/exports
            3. 16.1.2.1.3. User mapping options in /etc/exports
          2. 16.1.2.2. Exporting the shared file systems
          3. 16.1.2.3. Starting the nfs daemons
        3. 16.1.3. Using NFS file systems
          1. 16.1.3.1. Manually mounting an NFS file system
          2. 16.1.3.2. Automatically mounting an NFS file system
            1. 16.1.3.2.1. Mounting noauto file systems
            2. 16.1.3.2.2. Using mount options
          3. 16.1.3.3. Using autofs to mount NFS file systems on demand
        4. 16.1.4. Unmounting NFS file systems
        5. 16.1.5. Other cool things to do with NFS
      2. 16.2. Setting Up a Samba File Server
        1. 16.2.1. Getting and installing Samba
        2. 16.2.2. Configuring Samba with SWAT
          1. 16.2.2.1. Turning on the SWAT service
          2. 16.2.2.2. Starting with SWAT
          3. 16.2.2.3. Creating global Samba settings in SWAT
            1. 16.2.2.3.1. Base options
            2. 16.2.2.3.2. Security options
            3. 16.2.2.3.3. Logging options
            4. 16.2.2.3.4. Protocol options
            5. 16.2.2.3.5. Tuning options
            6. 16.2.2.3.6. Printing options
            7. 16.2.2.3.7. Browse options
            8. 16.2.2.3.8. WINS options
            9. 16.2.2.3.9. EventLog options
            10. 16.2.2.3.10. Miscellaneous options
          4. 16.2.2.4. Configuring shared directories with SWAT
          5. 16.2.2.5. Checking your Samba setup with SWAT
        3. 16.2.3. Working with Samba files and commands
          1. 16.2.3.1. Editing the smb.conf file
          2. 16.2.3.2. Adding Samba users
          3. 16.2.3.3. Starting the Samba service
          4. 16.2.3.4. Testing your Samba permissions
          5. 16.2.3.5. Checking the status of shared directories
        4. 16.2.4. Using Samba shared directories
          1. 16.2.4.1. Using Samba from Nautilus
          2. 16.2.4.2. Mounting Samba directories in Linux
        5. 16.2.5. Troubleshooting your Samba server
          1. 16.2.5.1. Basic networking in place?
          2. 16.2.5.2. Samba service running?
          3. 16.2.5.3. Firewall open?
          4. 16.2.5.4. User passwords working?
      3. 16.3. Summary
  10. V. Choosing and Installing Different Linux Distributions
    1. 17. Running Ubuntu Linux
      1. 17.1. Overview of Ubuntu
        1. 17.1.1. Ubuntu releases
        2. 17.1.2. Ubuntu installer
        3. 17.1.3. Ubuntu as a desktop
        4. 17.1.4. Ubuntu as a server
        5. 17.1.5. Ubuntu spin-offs
        6. 17.1.6. Challenges facing Ubuntu
      2. 17.2. Installing Ubuntu
      3. 17.3. Getting Started with Ubuntu
        1. 17.3.1. Trying out the desktop
        2. 17.3.2. Adding more software
      4. 17.4. Getting More Information about Ubuntu
      5. 17.5. Summary
    2. 18. Running Fedora and Red Hat Enterprise Linux
      1. 18.1. Digging into Features
        1. 18.1.1. Red Hat installer (anaconda)
        2. 18.1.2. Custom spins, install sets, and live CDs
        3. 18.1.3. RPM Package Management
        4. 18.1.4. Latest desktop technology
        5. 18.1.5. System configuration tools
      2. 18.2. Going Forward with Fedora
        1. 18.2.1. Growing community support for Fedora
        2. 18.2.2. Joining Fedora special interest groups
        3. 18.2.3. Forums and mailing lists
      3. 18.3. Fedora Comes of Age
      4. 18.4. Installing Fedora
        1. 18.4.1. Choosing computer hardware
        2. 18.4.2. Choosing an installation method
          1. 18.4.2.1. Installing on multiple computers
          2. 18.4.2.2. Installation guides
        3. 18.4.3. Choosing to install or upgrade
        4. 18.4.4. Beginning the installation
        5. 18.4.5. Running the Fedora Firstboot
        6. 18.4.6. Adding cool stuff to your Fedora desktop
      5. 18.5. Summary
    3. 19. Running Debian GNU/Linux
      1. 19.1. Inside Debian GNU/Linux
        1. 19.1.1. Debian packages
        2. 19.1.2. Debian package management tools
        3. 19.1.3. Debian releases
      2. 19.2. Getting Help with Debian
      3. 19.3. Installing Debian GNU/Linux
        1. 19.3.1. Hardware requirements and installation planning
          1. 19.3.1.1. Workstations
          2. 19.3.1.2. Servers
        2. 19.3.2. Running the installer
      4. 19.4. Managing Your Debian System
        1. 19.4.1. Configuring network connections
          1. 19.4.1.1. IP networks: Ethernet and wireless
          2. 19.4.1.2. Dial-up PPP connections
          3. 19.4.1.3. PPPoE connections
        2. 19.4.2. Package management using APT
          1. 19.4.2.1. Managing the list of package repositories
          2. 19.4.2.2. Updating the APT package database
          3. 19.4.2.3. Finding and installing packages
          4. 19.4.2.4. Removing packages
          5. 19.4.2.5. Upgrading your system
        3. 19.4.3. Package management using dpkg
          1. 19.4.3.1. Installing and removing packages
          2. 19.4.3.2. Querying the package database
          3. 19.4.3.3. Examining a package file
        4. 19.4.4. Installing package sets (tasks) with tasksel
        5. 19.4.5. Alternatives, diversions, and stat overrides
        6. 19.4.6. Managing package configuration with debconf
      5. 19.5. Summary
    4. 20. Running SUSE and openSUSE Linux
      1. 20.1. Understanding SUSE Linux Enterprise and openSUSE
      2. 20.2. What's in SUSE Distributions?
        1. 20.2.1. Installation and configuration with YaST
        2. 20.2.2. RPM package management
        3. 20.2.3. Automated software updates
        4. 20.2.4. Managing software with zypper
      3. 20.3. Getting Support for SUSE Linux Enterprise and openSUSE
      4. 20.4. Installing openSUSE
        1. 20.4.1. Before you begin
        2. 20.4.2. Starting installation
      5. 20.5. Starting with openSUSE
      6. 20.6. Summary
    5. 21. Running KNOPPIX
      1. 21.1. KNOPPIX Features
      2. 21.2. Understanding KNOPPIX
        1. 21.2.1. Looking inside KNOPPIX
        2. 21.2.2. What's cool about KNOPPIX
        3. 21.2.3. Examining challenges with KNOPPIX
        4. 21.2.4. Seeing where KNOPPIX comes from
        5. 21.2.5. Exploring uses for KNOPPIX
      3. 21.3. Starting KNOPPIX
        1. 21.3.1. Getting a computer
        2. 21.3.2. Booting KNOPPIX
        3. 21.3.3. Correcting boot problems
          1. 21.3.3.1. Customizing KNOPPIX
          2. 21.3.3.2. Special features and workarounds
      4. 21.4. Using KNOPPIX
        1. 21.4.1. Getting on the network
        2. 21.4.2. Installing software in KNOPPIX
      5. 21.5. Summary
    6. 22. Running Yellow Dog Linux
      1. 22.1. Understanding Yellow Dog Linux
      2. 22.2. Going Forward with Yellow Dog
      3. 22.3. Digging into Yellow Dog
      4. 22.4. Installing Yellow Dog Linux
        1. 22.4.1. Hardware support
        2. 22.4.2. Installing Yellow Dog Linux on a PowerStation
      5. 22.5. Updating Yellow Dog Linux
      6. 22.6. Support Options
      7. 22.7. Summary
    7. 23. Running Gentoo Linux
      1. 23.1. Understanding Gentoo
        1. 23.1.1. Gentoo's open source spirit
        2. 23.1.2. The Gentoo community
        3. 23.1.3. Building, tuning, and tweaking Linux
        4. 23.1.4. Where Gentoo is used
      2. 23.2. What's in Gentoo
        1. 23.2.1. Managing software with Portage
        2. 23.2.2. Finding software packages
        3. 23.2.3. Gentoo features
      3. 23.3. Installing Gentoo
        1. 23.3.1. Getting Gentoo
          1. 23.3.1.1. Live CD install
          2. 23.3.1.2. Minimal/Universal install CD
        2. 23.3.2. Starting Gentoo installation from a live CD
        3. 23.3.3. Starting Gentoo installation from a minimal CD
        4. 23.3.4. Getting software with emerge
      4. 23.4. Summary
    8. 24. Running Slackware Linux
      1. 24.1. Getting into Slackware
      2. 24.2. Characterizing the Slackware Community
        1. 24.2.1. The Slackware creator
        2. 24.2.2. Slackware users
        3. 24.2.3. Slackware Internet sites
      3. 24.3. Challenges of Using Slackware
      4. 24.4. Using Slackware as a Development Platform
      5. 24.5. Installing Slackware
        1. 24.5.1. Getting Slackware
        2. 24.5.2. New features in Slackware 13
        3. 24.5.3. Hardware requirements
        4. 24.5.4. Starting installation
      6. 24.6. Starting with Slackware
      7. 24.7. Summary
    9. 25. Running PCLinuxOS
      1. 25.1. Starting with PCLinuxOS
        1. 25.1.1. Checking what you can do
        2. 25.1.2. Adding more applications
      2. 25.2. Installing PCLinuxOS
        1. 25.2.1. Starting the install
        2. 25.2.2. Configuring after installation
      3. 25.3. Remastering PCLinuxOS
      4. 25.4. Summary
    10. 26. Running PCLinuxOS
      1. 26.1. Mandriva Features
      2. 26.2. Exploring Mandriva
        1. 26.2.1. Mandriva installer (DrakX)
        2. 26.2.2. RPM package management with RPMDrake
        3. 26.2.3. Mandriva Linux Control Center
      3. 26.3. The Mandriva Community
      4. 26.4. Installing Mandriva Limited Edition
        1. 26.4.1. The right hardware for Mandriva
        2. 26.4.2. Installing Mandriva with the DrakX installer
      5. 26.5. Summary
    11. 27. Running a Linux Firewall Router
      1. 27.1. Understanding Firewalls
      2. 27.2. Protecting Desktops with Firewalls
        1. 27.2.1. Starting your firewall in Fedora
        2. 27.2.2. Configuring a firewall in Mandriva
      3. 27.3. Using Firewalls with iptables
        1. 27.3.1. Starting with iptables
          1. 27.3.1.1. Setting some rules
          2. 27.3.1.2. Saving firewall settings
          3. 27.3.1.3. Checking your firewall
        2. 27.3.2. Using iptables to do SNAT or IP Masquerading
        3. 27.3.3. Adding modules with iptables
        4. 27.3.4. Using iptables as a transparent proxy
        5. 27.3.5. Using iptables for port forwarding
          1. 27.3.5.1. Getting iptables scripts
          2. 27.3.5.2. Finding out more about iptables
      4. 27.4. Making a Coyote Linux Bootable Floppy Firewall
        1. 27.4.1. Creating a Coyote Linux firewall
        2. 27.4.2. Building the Coyote Linux floppy
        3. 27.4.3. Running the Coyote Linux floppy firewall
        4. 27.4.4. Managing the Coyote Linux floppy firewall
          1. 27.4.4.1. Using a Web interface
          2. 27.4.4.2. Using a remote login
      5. 27.5. Using Other Firewall Distributions
      6. 27.6. Summary
    12. 28. Running Bootable Linux Distributions
      1. 28.1. Overview of Bootable Linux Distributions
      2. 28.2. Trying a Bootable Linux
        1. 28.2.1. Showcasing Linux from a live CD
        2. 28.2.2. Security and rescue bootables
          1. 28.2.2.1. BackTrack Network Security Suite
          2. 28.2.2.2. SystemRescueCd
          3. 28.2.2.3. KNOPPIX Security Tools Distribution
          4. 28.2.2.4. The Inside Security Rescue Toolkit
        3. 28.2.3. Demonstration bootables
        4. 28.2.4. Multimedia bootables
          1. 28.2.4.1. MoviX
          2. 28.2.4.2. GeeXboX
          3. 28.2.4.3. KnoppMyth
          4. 28.2.4.4. Dyne:bolic
        5. 28.2.5. Tiny desktops
          1. 28.2.5.1. Damn Small Linux
          2. 28.2.5.2. Puppy Linux
      3. 28.3. Special-Purpose Bootables
      4. 28.4. Customizing a Bootable Linux
        1. 28.4.1. Building a live CD with Fedora
      5. 28.5. Summary
  11. VI. Programming in Linux
    1. 29. Programming Environments and Interfaces
      1. 29.1. Understanding Programming Environments
      2. 29.2. Using Linux Programming Environments
        1. 29.2.1. The Linux development environment
          1. 29.2.1.1. The process model
          2. 29.2.1.2. CPU and memory protection
          3. 29.2.1.3. The security model
          4. 29.2.1.4. Preemptive multitasking
          5. 29.2.1.5. Multiuser by design
          6. 29.2.1.6. Interprocess communication
          7. 29.2.1.7. The building blocks philosophy
        2. 29.2.2. Graphical programming environments
          1. 29.2.2.1. Eclipse: The universal tool platform
          2. 29.2.2.2. KDevelop: KDE's IDE
          3. 29.2.2.3. Anjuta: An IDE for GTK/GNOME
          4. 29.2.2.4. Code Crusader
        3. 29.2.3. The command-line programming environment
      3. 29.3. Linux Programming Interfaces
        1. 29.3.1. Creating command-line interfaces
          1. 29.3.1.1. Creating text-mode user interfaces with ncurses
          2. 29.3.1.2. Creating text-mode user interfaces with S-Lang
        2. 29.3.2. Creating graphical interfaces
        3. 29.3.3. Application programming interfaces
      4. 29.4. Summary
    2. 30. Programming Tools and Utilities
      1. 30.1. The Well-Stocked Toolkit
      2. 30.2. Using the GCC Compiler
        1. 30.2.1. Compiling multiple source code files
        2. 30.2.2. GCC command-line options
      3. 30.3. Automating Builds with make
      4. 30.4. Library Utilities
        1. 30.4.1. The nm command
        2. 30.4.2. The ar command
        3. 30.4.3. The ldd command
        4. 30.4.4. The ldconfig command
        5. 30.4.5. Environment variables and configuration files
      5. 30.5. Source Code Control
        1. 30.5.1. Source code control using RCS
          1. 30.5.1.1. Checking files in and out
          2. 30.5.1.2. Making changes to repository files
          3. 30.5.1.3. Additional command-line options
        2. 30.5.2. Source code control with CVS
      6. 30.6. Debugging with GNU Debugger
        1. 30.6.1. Starting GDB
        2. 30.6.2. Inspecting code in the debugger
        3. 30.6.3. Examining data
        4. 30.6.4. Setting breakpoints
        5. 30.6.5. Working with source code
      7. 30.7. Summary
    3. A. Media
      1. A.1. Finding Linux Distributions on the DVD
        1. A.1.1. Fedora Linux
        2. A.1.2. KNOPPIX Linux
        3. A.1.3. Slackware Linux
        4. A.1.4. Ubuntu Linux
        5. A.1.5. Mandriva Linux
        6. A.1.6. AntiX Linux
        7. A.1.7. BackTrack 3 Linux Security Suite
        8. A.1.8. Gentoo Linux
        9. A.1.9. openSUSE Linux
        10. A.1.10. PCLinuxOS
        11. A.1.11. Inside Security Rescue Toolkit
        12. A.1.12. Puppy Linux
      2. A.2. Finding Linux Distributions on the CD
        1. A.2.1. Debian GNU/Linux
        2. A.2.2. Damn Small Linux
        3. A.2.3. SystemRescueCd
        4. A.2.4. Coyote Linux
        5. A.2.5. Tiny Core Linux
        6. A.2.6. SLAX
      3. A.3. Linux Distributions Not on the DVD or CD
      4. A.4. Creating Linux CDs
      5. A.5. Getting Source Code
    4. B. Linux History and Background
      1. B.1. Exploring Linux History
        1. B.1.1. From a free-flowing UNIX culture at Bell Labs
        2. B.1.2. To a commercialized UNIX
          1. B.1.2.1. BSD arrives
          2. B.1.2.2. UNIX Laboratory and commercialization
        3. B.1.3. To a GNU free-flowing (not) UNIX
        4. B.1.4. BSD loses some steam
        5. B.1.5. Linus builds the missing piece
        6. B.1.6. OSI open source definition
      2. B.2. Linux Myths, Legends, and FUD
        1. B.2.1. Can you stop worrying about viruses?
        2. B.2.2. Will you be sued for using Linux?
          1. B.2.2.1. Microsoft versus Linux
          2. B.2.2.2. The SCO lawsuits
          3. B.2.2.3. Software patents
          4. B.2.2.4. Other potentially litigious issues
        3. B.2.3. Can Linux really run on everything from handhelds to supercomputers?
        4. B.2.4. Will Microsoft crush Linux?
        5. B.2.5. Are you on your own if you use Linux?
        6. B.2.6. Is Linux only for geeks?
        7. B.2.7. How do companies make money with Linux?
        8. B.2.8. How different are Linux distributions from one another?
        9. B.2.9. Is the Linux mascot really a penguin?
      3. B.3. Summary
    5. GNU General Public License
      1. B.4. Preamble
      2. B.5. Terms and Conditions for Copying, Distribution and Modification

Product information

  • Title: Linux Bible® 2010 Edition: Boot Up to Ubuntu®, Fedora®, KNOPPIX, Debian®, openSUSE®, and 13 Other Distributions
  • Author(s): Christopher Negus
  • Release date: December 2009
  • Publisher(s): Wiley
  • ISBN: 9780470485057