You are previewing Moving to the Linux® Business Desktop.
O'Reilly logo
Moving to the Linux® Business Desktop

Book Description

Switch your business to Linux: proven techniques for working IT Professionals

This is the complete technical resource for migrating your business desktops to Linux, administering them efficiently, and using them to drive cost savings throughout your organization. Respected Linux Journal columnist Marcel Gagné walks you step-by-step through planning and managing the transition, getting users up and running, and keeping them happy. Gagné covers hardware, productivity applications, messaging, coexistence with Windows environments, support, and much more. This is also the first book with in-depth coverage of using Linux Terminal Server Project (LTSP) thin clients to dramatically reduce the cost and complexity of computing.

  • Deploy Linux with your existing PCs, printers, and IT/network infrastructure

  • Centrally manage users and security through Webmin's convenient Web interface

  • Deliver reliable email services with Postfix, or integrate Linux mail clients with Microsoft Exchange servers

  • Configure Windows file sharing with Samba, and Linux file sharing with NFS

  • Secure network communications with Linux firewalls and OpenSSH

  • Plan and deploy LTSP thin clients and diskless workstations and the server support for them

  • Provide LDAP directory services to all your clients

  • Support users by "remote control"—without leaving your desk

  • From network security to spam reduction, automated backup/restore to collaboration groupware, Gagné offers specific solutions and proven techniques for leveraging the full power of Linux in your business.

    Say goodbye to the expense, hassle, and insecurity of Windows desktops! Say hello to business computing the way it's supposed to be—with Linux!

    About the Author

    Marcel Gagné is best known as the author of the Linux Journal's "Cooking with Linux" series, winner of the Readers' Choice award for favorite column for three straight years. He has written two highly acclaimed Addison-Wesley books: Moving to Linux and Linux System Administration: A User's Guide.

    © Copyright Pearson Education. All rights reserved.

    Table of Contents

    1. Copyright
      1. Dedication
    2. Praise for Marcel Gagne's Moving to Linux
    3. More Praise for Marcel Gagne's Moving to Linux
    4. Acknowledgements
    5. 1. Getting to Know Linux
      1. 1. Introduction
        1. What Is Linux?
          1. Is Linux Really Free?
          2. The GPL
          3. So What Do I Gain?
            1. Security
            2. Stability
            3. Power
            4. Money
            5. Freedom from Legal Hassles
          4. What Do I Lose?
            1. Hardware and Peripheral Support
          5. Software Packages
          6. A Step into the Unknown
          7. Some Tips on Using this Book
          8. Quick Tips and Shelling Out
        2. Meet Your Desktop
        3. Help Me!
          1. The Linux Documentation Project
          2. Linux User Groups
        4. About the CD
          1. Want to Try Linux Right Now?
        5. It's My Philosophy
        6. Resources
      2. 2. Overview of Deployment Options
        1. Getting Linux
        2. Getting a Free Copy of Linux
        3. Package Managers and Updates
        4. Dual Booting
        5. Preserving Your Data
        6. A Linux-Only System
        7. Windows on Linux
          1. VMware
          2. Win4Lin
        8. Desktop Considerations
          1. Making The Switch…Easy!
        9. Transitional Applications
        10. Breaking Free!
        11. Resources
      3. 3. Installation
        1. Getting Ready for Your Installation
        2. Hardware Considerations
        3. Dual Booting Revisited
          1. A Sample FIPS Session
        4. An Installation Comparison
          1. A Very Generic Install
        5. A Mandrake Linux Install
        6. Putting On the Fedora
        7. A SUSE Install
        8. Not So Tough Installs
        9. Starting and Stopping Linux
        10. And Now…Linux!
        11. Resources
      4. 4. Getting Your Hands Dirty
        1. Getting to Know You…KDE
          1. A Few Words about X
          2. Logging in
            1. Click Here! Click Here!
        2. Becoming One with the Desktop
        3. Your First Application
        4. Windows, Title Bars, and Menus, Oh My!
          1. The Title Bar
          2. On to the Menu Bar
          3. Resizing Windows
        5. Command Central
        6. A Polite Introduction to the Command Line
        7. Changing Your Password
      5. 5. Customizing the Desktop
        1. I Am Sovereign of All I Survey
          1. Changing the Background
        2. Save My Screen, Please!
        3. Moving Things Around
        4. Is That a Theme or a Motif?
          1. Window Decorations
          2. Themes and Styles
        5. Adding Icons and Shortcuts to Your Desktop
          1. Miscellaneous Changes
        6. Resources
      6. 6. Using Konqueror for File Management
        1. Files, Directories, and the Root of All Things
        2. Wherever You Go…
          1. Navigating the Navigation Panel
          2. Enhancing Konqueror
          3. Uh, Roger, Copy That…
          4. Creating New Directories
          5. “I've Changed My Mind,” or Renaming Files
          6. Copying Files and Directories (and Moving, Too!)
          7. Wait! What about Links?
        3. Which Brings Us to Permissions
          1. Deleting Files and Directories
          2. My World, My Way
    6. 2. Administration and Deployment
      1. 7. Installing New Applications
        1. Linux and Security
        2. Identifying Software Packages
        3. The Many Faces of Software Installation
          1. SUSE Software Package Installs
        4. Mandrake's urpmi
          1. Mandrake's urpmi Made Even Easier
        5. Searching for Common Ground
        6. KPackage
          1. Installing Packages
          2. Dealing with Dependencies
        7. RPMs, the Shell Way
          1. Rebuilding RPMs from Source
        8. Debs, The Shell Way
          1. Great, But Can You Tell Me What Is Already There?
          2. Finding Out a Package's Current Release Level
          3. What Is That Strange File?
          4. Using apt-get to Install or Update Software
          5. Educating apt-get
        9. Look, Use the Source
        10. The Extract and Build Five-Step
          1. Step 1: Unpacking the Archive
          2. Steps 2 through 5: Building Your Programs
          3. README, Please!
        11. Getting Your Hands on Software
        12. Resources
      2. 8. Devices and Services
        1. Yes, It Runs with Linux!
        2. Plug and Play
        3. Getting Familiar with Your Hardware
          1. PCI Devices
          2. USB Devices
        4. Modems versus Winmodems
          1. The Winmodem/Linmodem Roundup
        5. Devices under the Skin
          1. Major Minor
        6. What? More Devices?
        7. Services and Runlevels
          1. Daemons and Other Not-So-Scary Things
          2. The inittab File
          3. The rc.local File and Runlevels
          4. Switching between Runlevels
          5. The chkconfig Command
        8. Runlevels the Graphical Way
          1. Creating Your Own Startup Scripts
        9. Resources
      3. 9. Network and Internet Connections
        1. Before You Begin
        2. Getting on the Net
        3. Connecting to the Net with a Modem
          1. Cable Modems and High-Speed DSL
          2. Getting Down to the Details
        4. A Light-Speed Introduction to TCP/IP, Part 1
          1. Protocols and Suites
          2. Services and Ports
          3. IP Addresses, Networks, and Subnets, Oh My!
            1. What Are Domains?
          4. IP Addresses and Networks
          5. Subnets, Netmasks, and Broadcast Addresses
            1. Netmasks
            2. Broadcast Addresses
            3. Subnets
          6. Intermezzo
        5. Setting Up Your PC Network
          1. Drivers
          2. Setting the IP Address
        6. Routing
          1. Using netstat
        7. Domain Name Services (DNS)
          1. The /etc/hosts File
          2. Will the Real DNS Please Stand Up
        8. Setting Up Your Own Name Server
          1. Defining Your Domain
          2. The /etc/named.conf File
          3. The /etc/named.conf File
          4. Zones
          5. Your Own Zone File
          6. And Now the Reverse DNS Zone
          7. Does It Work?
          8. What's All This about Lame Servers?
          9. Who Gets to See the Information?
          10. DNS Wrap-up
        9. Time Synchronization
          1. rdate
          2. NTP
        10. Resources
      4. 10. Becoming One with the Shell
        1. Linux Commands: An Easy Start
        2. Working with Files
          1. File Naming Conventions
          2. Listing Files with Emotion!
        3. A Peek at Metacharacters
        4. File Permissions in the Shell
          1. Not-So-Hidden Files
          2. Strange Filenames That Just Won't Go Away
        5. More on rm, or “Oops! I didn't really mean that.”
        6. Making Your Life Easier with alias
          1. Forcing the Issue
        7. Standard Input and Standard Output
        8. Pipes and Piping
          1. tee: A Very Special Pipe
          2. STDERR
          3. The Road to Nowhere
        9. Linux Commands: Working with Directories
        10. There's No Place Like $HOME
        11. More on File Permissions
        12. User and Group Ownership
        13. Who Can Do What?
        14. Who Was that Masked User?
          1. The setuid Bit
        15. File Attributes
        16. Finding Anything
        17. Using grep
        18. Processes
          1. Forests and Trees
          2. Interrupting, Suspending, and Restarting Processes
        19. Killing Processes
        20. Working With Editors
        21. Meet Kate
        22. I Am vi, the Great and Powerful
          1. :q, :w, :wq, and ZZ
          2. Recovering a vim Session
          3. Power vi: Start-up Options
        23. Still More Editors: Emacs, Pico, and NEdit
        24. Resources
      5. 11. Web-based Administration
        1. Introducing Webmin
          1. Running Webmin
        2. Modular Functionality
        3. Creating Webmin Users
        4. Upgrading Webmin
        5. Moving On
        6. Resources
      6. 12. Users and Groups
        1. When Not to Use the root User
        2. Managing Users
        3. Managing Groups
          1. Adding Groups
          2. Modifying Groups
          3. Removing Groups
        4. Adding Users
        5. About Home Directories
        6. Group Participation
        7. Email-Only Accounts
          1. Yet More User-Creation Controls
        8. Modifying a User Account
        9. Deleting a User Account
        10. Checking the Password File
        11. KUser
        12. Other User Adminstration Tools
        13. What Next?
          1. I Logged In from Where?
      7. 13. Backup and Restore
        1. Backup Everything? And to What?
        2. Basic Tools in Every Linux System
          1. Using cpio
          2. Working with tar
          3. Backing Up Windows Workstations
        3. Selecting a Backup Medium
        4. K3b for a Friendlier Burn
          1. Getting Familiar with K3b
          2. Ready to Burn that Backup?
        5. Keeping Your Data in rsync
          1. “Data, Meet rsync.”
          2. No Remote Necessary
        6. Backing Up with dump
          1. Restoring with—You Guessed It—restore
        7. Other Backup Solutions
        8. Final Words
        9. Resources
      8. 14. Printers and Printing
        1. Selecting Printers for Linux
          1. Getting Information on LPD
        2. CUPS
        3. Kprinter
        4. Other Printer Administration Tools
        5. Resources
      9. 15. Electronic Mail
        1. Postfix
          1. Setting Up Postfix
          2. Stopping and Restarting Postfix
          3. Setting Up Users and Aliases
          4. A Quick Conversation About hash
          5. Setting Up the POP3 or IMAP Server
        2. Not-So-Stupid Postfix Tricks
          1. The Multiple Domain, Similar Address Dilemma
          2. The Multidrop Domain
          3. Stop the Spam!
          4. Track Those Emails
        3. Postfix via Webmin
        4. Resources
      10. 16. LDAP
        1. Introducing LDAP
          1. KAddressBook
          2. LDAP in Depth
        2. GQ, A Graphical LDAP Tool
        3. Other Graphical LDAP Clients
        4. Going Further
        5. Resources
      11. 17. Web Services
        1. The Apache Web Server
        2. Building Apache from Source
        3. A Brief Visit to PHP Land
        4. Basic Apache Configuration
          1. Common Changes
        5. SquirrelMail
          1. Plugins, Plugins, and More Plugins
        6. An Introduction to PostgreSQL
        7. Raising The Bar: eGroupWare
          1. Moving On
        8. Resources
      12. 18. Samba
        1. Getting and Building Samba
        2. Adding Samba Users
        3. Configuring the Server
        4. The PC Side
        5. Printing with Samba
          1. Printing from the Windows Client
        6. Accessing the Network Neighborhood
        7. The GUI Way to Administer Samba
        8. Backing Up Windows Workstations
        9. Resources
      13. 19. Linux File Sharing (NFS)
        1. How Does NFS Work?
          1. Making a Remote File System Available
          2. Mounting an NFS Partition
          3. Specifying Mounts with /etc/fstab
        2. Simplifying Network Mounts with Linux autofs
        3. Network Information Service
          1. Configuring the NIS Master Server
          2. Configuring the NIS Client
            1. The /etc/nsswitch.conf File
        4. Resources
      14. 20. Thin Clients: The Server
        1. How Thin Clients Work
        2. DHCP
          1. Setting Up DHCP
            1. The Webmin Approach
          2. Assigning Fixed DHCP Addresses
        3. A Trivial Primer On TFTP
        4. LTSP 4.0 Installation Procedures
          1. And Then… The Kernel
          2. Configuring LTSP 4
        5. XDMCP
          1. Back to Our Configuration
          2. The lts.conf File
          3. How Many SCREENs?
        6. Help Me!
        7. Resources
      15. 21. Thin Clients: The Clients
        1. Converting PCs to Thin Clients
          1. Alternative Thin-Client Hardware
        2. Advanced Thin-Client Configuration
        3. Linux Thin Clients, via Windows
          1. Enter Cygwin
        4. Performance Tips
        5. Resources
      16. 22. Remote Control
        1. Virtual Network Computing (VNC)
        2. KDE Remote Desktop Connection
        3. rdesktop for Windows Control
        4. Resources
      17. 23. Security
        1. OpenSSH
        2. Controlling Access to Your System
          1. What Is a Script Kiddie?
        3. The Basics: TCP Wrappers
        4. An iptables Firewall
        5. Graphical Firewall Tools
          1. Webmin
          2. KMyFirewall
        6. Resources
    7. 3. The Linux Business Desktop
      1. 24. Email Clients
        1. Be Prepared
        2. Kmail
          1. The Importance of Being Networked
        3. Let's Communicate!
          1. Receiving Mail
          2. Your Little Black Book
          3. Attached to You
          4. Send Now or Later
        4. Evolution
          1. Sending and Receiving Mail
          2. What to Use?
        5. Other Options
        6. Resources
      2. 25. Getting Organized
        1. Korganizer
          1. Adding an Event
          2. So Much To-Do
          3. Printing Your Calendar
          4. Wow! Déja-vu (Recurring Events)
          5. Inviting Others to an Event
            1. What Happens When You Get Invited?
          6. Importing Calendars
        2. Evolution
          1. Creating Appointments
            1. Let's Do That Again: Evolution Recurrence
          2. The Makings of a Meeting
          3. Tasks and Other To-Dos
        3. Other Tools
        4. Resources
      3. 26. Surfing the Net
        1. Konqueror
          1. Page Home for Me
        2. Cool Konqueror Tricks
          1. Split Views
          2. Super-Speedy Searches
          3. Go for the Big Screen
          4. Yum…Cookies
          5. Ban the Pop-Ups Forever!
          6. Keeping Tabs on the Web
        3. Mozilla
          1. Working from Home
          2. Mozilla Does Tabs, Too
          3. Still Don't Like Pop-Up Ads?
          4. Cookie Control
          5. The Mozilla Sidebar
        4. Wrapping up
        5. Resources
      4. 27. Word Processing (It Was a Dark and Stormy Night…)
        1. OpenOffice.org Writer
          1. Write Now!
          2. The Hunt for Typos
          3. What Language Is That?
          4. Saving Your Work
        2. Printing Your Document
          1. Toolbars of Every Kind
        3. Help!
        4. To Word, or Not to Word?
        5. Personalizing Your Environment
          1. Screen Fonts
        6. Running on AutoPilot
        7. Navigating Style
          1. Navigating the Rivers of Text
        8. Speaking of Document Elements. . .
        9. Direct PDF Exports
        10. More! Give Me More!
        11. Other Options
        12. Resources
      5. 28. Spreadsheets:Tables You Can Count On
        1. Starting a New Spreadsheet and Entering Data
          1. Basic Math
          2. Saving Your Work
          3. Complex Charts and Graphs
        2. Magical Totals
        3. Nice, Colorful, Impressive, and Dynamic Graphs
        4. Final Touches
          1. A Beautiful Thing!
        5. Alternatives
        6. Resources
      6. 29. Presentation Graphics: For Those Who Need No Introduction!
        1. Getting Ready to Impress
          1. Inserting Slides
          2. Adding Color
          3. Printing Your Presentation
        2. Instant Web Presentations
          1. How About A Little Flash? Shocking!
        3. So What's with the Penguin?
        4. Extra! Extra!
        5. Resources
      7. 30. Office Graphics and Art (Just Call Me Leonardo)
        1. Working with a Digital Camera
        2. Picture-Perfect Konqueror
        3. Scanning
        4. Sharing a Scanner on Your Network
        5. Scanning under KDE: Kooka
          1. Saving Your Work
        6. Optical Character Recognition
        7. Welcome to the GIMP
          1. The First Time
          2. Easy Logos with the GIMP
          3. Saving and Opening Your Work
          4. Printing Your Masterpiece
          5. Tools, Tools, and More Tools
          6. Now, on to the Tool Icons
        8. Touching Up Photographs
          1. So What Is Script-Fu?
          2. Becoming a GIMP Guru
        9. Resources
      8. 31. Instant Messaging
        1. What is Jabber?
        2. Kopete
          1. Adding Kopete Contacts
        3. Instant Messaging with GAIM
        4. What about Windows Users?
        5. Resources
      9. 32. Video Conferencing
        1. GnomeMeeting
          1. The Road Ahead
        2. Resources
      10. A. The GNU General Public License
      11. B. Automation and Scripting
        1. cron: Punching Linux's Clock
          1. Testing Your Job
          2. Editing the crontab
          3. Could I See an Example?
        2. Running Jobs with at
        3. A Question of Permissions
        4. An Introduction to Writing Shell Scripts
        5. Shells as Far as the Eye Can See
        6. It's Commands All the Way Down
          1. Passing Parameters
          2. A First Look at Variables
          3. More on Variables
          4. Special Characters
          5. You Can Quote Me on That
        7. Really Programming the Shell
        8. Specifying the Shell
        9. Resources
      12. About the CD-ROM
        1. Minimum Suggested Requirements and Instructions
        2. License Agreement
        3. Technical Support