MarksUbuntuBook

Differences between revisions 13 and 14
Revision 13 as of 2006-04-21 23:55:59
Size: 20133
Editor: vsat-148-64-81-240
Comment:
Revision 14 as of 2006-04-21 23:58:40
Size: 20138
Editor: vsat-148-64-81-240
Comment:
Deletions are marked like this. Additions are marked like this.
Line 144: Line 144:
* Dial-up
* Direct Broadband
* PPPOE
* LAN
* Wireless
 * Dial-up
 * Direct Broadband
 * PPPOE
 * LAN
 * Wireless

Mark's Ubuntu Book

This page describes the Ubuntu book that Mark Stone is writing, and provides links to draft material.

Bibliographic Information

  • Title: Desktop Linux with Ubuntu
  • Author: Mark Stone
  • Publisher: Manning Press
  • Publication date: 2006

Draft Table of Contents

  • Preface
  • Intended readers
  • Using this book

Introduction

Table of Contents

PART I - Getting Started with Ubuntu

  • Part Introduction

1.0 Why Ubuntu?

  • 1.1 Linux
    • 1.1.1 Overview and Rationale
    • 1.1.2 Linux Distributions
  • 1.2 Debian
    • 1.2.1 What Is Debian?
    • 1.2.2 Stable, Testing and Unstable
  • 1.3 Ubuntu
    • 1.3.1 Origins of Ubuntu
    • 1.3.2 The Ubuntu Community
    • 1.3.3 Ubuntu Design Philosophy
  • 1.4 Summary

Here's the text of the Chapter 1 Summary:

Linux has grown from an experimental to a mature operating system, one that is now an important part of our technology infrastructure. For the desktop user this means that Linux is a more viable desktop platform than ever before.

Learning about Linux variations and the Linux community can be bewildering. Linux variations, commonly known as “distributions”, are differentiated in part by their package management systems. One key branch of the distribution family in this regard is the Debian distribution. Software in the Debian distribution is completely open source: it can be freely redistributed, modified, and the modifications freely redistributed. Thus while Debian is a large, comprehensive Linux distribution that evolves slowly, it has spawned a number of more focused distributions that start from Debian as a base.

Debian's package management system also uses a sophisticated approach that is highly network aware and does a superior job at tracking and managing dependencies between pieces of software. As a result, Debian-based Linux distributions are easier to update and maintained once the base software is installed.

Ubuntu is one Debian-based distribution, focused on ease of installation, ease of use, immediate usefulness, and regular release cycles.

A distribution is more than just a collection of software, however. It is also a community. The Debian community is one of the most mature and most active within the world of open source software, with tens of thousands of developers involved in maintaining the software, developing new software, or tracking and resolving bugs and security issues. The Ubuntu community is a separate community, but one that interacts and cooperates with the Debian community.

The Ubuntu community really consists of two parts. On the one hand, there is Canonical Ltd., the commercial company that provides services and support for Ubuntu, as well as dedicating some paid developers to work on Ubuntu. On the other hand, there is the community of Ubuntu volunteers, ranging from people who simply use Ubuntu to people who are actively involved in some of Ubuntu's many development project. Being an Ubuntu user means getting used to this broad, but unconventional supporting community. While commercial support for Ubuntu is available, your best resource for help is often the community of people just like you, learning and growing with Ubuntu.

2.0 Installing Ubuntu

  • 2.1 Getting Ubuntu
    • 2.1.1 Ordering a CD
    • 2.1.2 Downloading from the Internet
    • 2.1.3 Downloading with Bittorent
  • 2.2 Preparing for Installation
    • 2.2.1 Readying Your CD
    • 2.2.2 Finding Your Hardware Specifications
    • 2.2.3 Deciding on Single Boot or Dual Boot
  • 2.3 Initiating Installation
    • 2.3.1 Installation First Steps
    • 2.3.2 Partitioning During Installation
    • 2.3.3 Installing and Configuring Software
  • 2.4 Troubleshooting
    • 2.4.1 Command Line Basics
    • 2.4.2 Commands and Files for Diagnostics
    • 2.4.3 Manually Configuring Your Display
  • 2.5 Summary

Here's the text of the Chapter 2 Summary: In this chapter we've discussed the procedure for installing Ubuntu Linux on your computer. Ubuntu has a well-deserved reputation for being an easy Linux distribution to install, and your installation experience will most likely be straightforward. However, you have configuration choices to think through, and complications that may arise. We have tried to cover the most common situations that arise.

Installation begins with an Ubuntu install CD, which you can either order to have shipped to you or download as a CD image to be burned to a blank CD. When downloading you can either download from a central server, or download using Bittorrent. While Bittorrent is a bit complicated to set up, it offers a more scalable, robust means for downloading.

Before beginning installation, you should gather as much information as you can about your system: what devices are part of your system, including manufacturer and model, and what the characteristics of your system are (RAM, size of hard drive, screen resolution and monitor information). Before beginning installation you will also need to decide what setup you want. The main choices are between a single boot system (Ubuntu only), and a dual boot system (Windows and Ubuntu). You may want a dual boot system to continue running certain Windows applications. Before deciding you need a dual boot system, however, you should consider other options. You may want to try Ubuntu as a Live CD before actually installing it on your hard drive. You may also want to try running Windows applications directly under Linux, using an emulation technology or using a virtual machine.

If a dual boot system is the right step for you, then your installation will include re-partitioning your hard drive to present as if it were two hard drives, one for Windows and one for Linux. You should be able to re-size your existing Windows partition without data loss to make room for new partitions as the target of your Ubuntu installation.

Once you begin the actual installation process, you will be guided through a series of menus and questions that will prompt you to make choices and provide information specific to your computer. These questions are generally straightforward to answer, or offer acceptable defaults for you to select. Throughout the process the installer will be working behind the scenes to auto-detect and auto-configure your system, minimizing the choices you must make and the expertise you must have to complete a successful installation.

When installation problems do arise, we have presented a troubleshooting guide to get you started on diagnosing problems. This includes using commands and reading files that contain information about which devices your system has recognized and how it has configured them. We have also covered the most common installation problem in detail, namely low resolution setting for your graphical display.

With installation complete, you are now ready to start using Ubuntu Linux as a desktop system.

3.0 Surveying the Default Setup

  • 3.1 Booting Up and Logging In
    • 3.1.1 Booting with Grub
    • 3.1.2 Logging in via GDM
  • 3.2 Exploring Desktop Elements
    • 3.2.1 Using Virtual Desktops
    • 3.2.2 Understanding Gnome Panels
    • 3.2.3 Launching Applications with Icons
    • 3.2.4 Exploring Menus
  • 3.3 Navigating Files and Folders
    • 3.3.1 Viewing Default Folders
    • 3.3.2 Manipulating Files
  • 3.4 Getting Started with Applications
    • 3.4.1 Using Evolution
    • 3.4.2 Using Firefox
    • 3.4.3 Using OpenOffice Writer

    • 3.4.4 Using OpenOFfice Calc
  • 3.5 Summary

Before making changes and cutomizations to your new Ubuntu system, you need to understand what you actually have in the default setup, and the basics of how to use it. This chapter has presented the most important features of your Ubuntu desktop system, as well as the most typical tasks and applications in which users engage.

Ubuntu, like all Linux systems, is a true multi-user system. As a result, a great deal of user-specific customization is possible. The first step, however, is logging in identify yourself as a user to the system. In this chapter we've examined the Grub boot manager and the Gnome Display Manager (GDM), the two key pieces that enable you to start up your computer and log in. Once logged in, you are presented with the default Ubuntu desktop, a unified suite of the Gnome Desktop Environment, Metacity Window Manager, and Nautilus File Manager. We have looked at how these programs coordinate to produce the desktop, icons, panels, and menus that make up the default setup. An important differentiating Linux concept here is the idea of virtual desktops, or, as Ubuntu calls them,”workspaces”. These workspaces divide your total available desktop space into a number of different workspaces each of your screen resolution size. In this way you can expand your available desktop “real estate” by using and switching between workspaces.

We have also looked at the basics of the Nautilus File Manager. Nautilus is a sophisticated program for viewing, previewing, and manipulating files, but here we've lookedat just the most common file operations: changing between folders, creating folders, getting information about files, and moving, copying, or deleting files.

Finally, we've examined the most commonly used applications, with an emphasis on showing both the ease of use of these applications, and their similarity to their counterparts on systems like Microsoft Windows. The applications covered here are Evolution (for email), Firefox (for web browsing), OpenOffice Writer (for word processing), and OpenOffice Calc (for spreadsheets). We have also provided a brief introduction to whole OpenOffice.org suite of applications.

Eventually you will want to completely customize your Ubuntu system, to give it a look and feel that is your own, and to customize applications and short cuts to behave the way you want. You'll no doubt want to add applications, and maybe even remove a few. You'll want to edit menus, and add icons for your most frequently used applications. Before you change anything, though, you should understand what you have. Ubuntu is a very capable desktop system right out of the box with the default configuration, and you should explore that default configuration thoroughly before deciding what changes, if any, you want to make.

4.0 Getting Online

  • 4.1 Understanding Network Basics
  • 4.2 Identifying Your Network Setup
  • 4.3 Adding or Modifying a Network Connection
    • 4.3.1 Dial-up
    • 4.3.2 Direct Broadband
    • 4.3.3 PPP Over Ethernet
    • 4.3.4 LAN
    • 4.3.5 Wireless
  • 4.4 Activating and Deactiving a Network Connection
  • 4.5 Running Simple Network Diagnostics
    • 4.5.1 Checking the Network Interface
    • 4.5.2 Checking the Gateway
    • 4.5.3 Checking the Name Server
    • 4.5.4 Using Ping
  • 4.6 Summary

At present we think of “computer” and “networked computer” as virtually synonymous. The Internet is the knowledge engine of our time, and knowledge workers must have their computers connected to it. Fortunately, Linux was born from the same lineage as the research community that produced the Internet. Ubuntu carries that lineage, and offers a very capable networking system. In this chapter we've looked at networking with Ubuntu, and seen how to configure and manage the main types of network connections.

We have examined the basics of a computer network, including basic physical types of network connection (network media). We've also looked at the common patterns of logging on and authenticating on a network, as well as the basic elements that need to be present in a functioning network: a gateway for reaching other network destinations, and a name server to map network addresses onto network names. We've also looked at the key element of network management in Ubuntu, the Network Adminstration window (which you can open from “System -> Administration -> Networking”). This tool will show you currently configured network interfaces, as well as enable you to change or add network configurations. These configurations can even be made location specific, so that, for example, laptop users can use a different configuration depending on where they are. We've shown how the Network Administration window can be used to configure and manage the most common types of network configurations, specifically:

  • Dial-up
  • Direct Broadband
  • PPPOE
  • LAN
  • Wireless

Finally, we've looked at some of the diagnostic tools available to help determine the source of a problem when a network connection isn't working properly. These diagnostics involve an early glimpse at one of Linux's most powerful management tools, namely working from the command line interface. This approach provides a more direct view into the settings and configurations of an Ubuntu system. While seldom necessary for routine use, the command line interface provides access to the basic underpinnings of your Ubuntu system. Using direct network commands, we've seen how to examine your address, gateway and name server settings. We've also seen how to verify that those settings are live and producing reachable network results.

Mastering the basics of computer networks is the first step towards connecting your Ubuntu system to other computers and other devices. With a functioning network connection, you have not just a desktop system, but a powerful Internet work station.

5.0 Connecting to Other Devices

  • 5.1 Modes of Connection
    • 5.1.1 USB
    • 5.1.2 Serial and Parallel Cables
    • 5.1.3 Bluetooth
    • 5.1.4 LAN
  • 5.2 Typical Devices
    • 5.2.1 USB Printer
    • 5.2.2 Parallel Printer
    • 5.2.3 USB Camera
    • 5.2.4 Scanner
    • 5.2.5 Cell phone
  • 5.3 Summary

* Part Summary

PART II - Using Ubuntu

* Part Introduction

6.0 Understanding Users and Groups

  • 6.l What Is a Multi-User System?
  • 6.2 Super User Permissions
    • 6.2.1 The sudo Command
    • 6.2.2 Why No Root User?
  • 6.3 Adding Users and Groups
  • 6.4 Default Groups and Permissions
    • 6.4.1 The Users Group
    • 6.4.2 The Disk Group
    • 6.4.3 The Dialout Group
    • 6.4.4 The Audio Group
    • 6.4.5 The CDRom Group
  • 6.5 Summary

7.0 The Ubuntu Desktop

  • 7.1 Gnome Overview
    • 7.1.1 About Desktop Environments
    • 7.1.2 How Gnome Works
    • 7.1.3 Other Desktop Environments
  • 7.2 The Metacity Window Manager
    • 7.2.1 What's a Window Manager?
    • 7.2.2 How Metacity Works
    • 7.2.3 Other Window Managers
  • 7.3 Panels and the Virtual Desktop
    • 7.3.1 Switching Panels
    • 7.3.2 Changing the Number of Panels
    • 7.3.3 Making Items Sticky
  • 7.4 Menus, Taskbars, and Icons
    • 7.4.1 Standard Menu Entries
    • 7.4.2 Standard Taskbar Items
    • 7.4.3 Changing the Menu or Taskbar
    • 7.4.4 Adding Icons to the Desktop
  • 7.5 Folders and the File Hierarchy
  • 7.6 Keyboard Shortcuts
  • 7.7 Summary

8.0 Internet Applications

  • 8.1 Browsing the Web
    • 8.1.1 Firefox 8.1.2 Alternate Browsers
    8.2 Sending Email
    • 8.2.1 Evolution 8.2.2 Thunderbird 8.2.3 Mutt
    8.3 Instant Messaging
    • 8.3.1 GAIM 8.3.2 X-chat 8.3.3 Gnome Meeting
    8.4 Remote Access
    • 8.4.1 ssh 8.4.2 Running X Applications Over ssh 8.4.3 scp 8.4.4 sftp
    8.5 Summary

9.0 Office Applications

  • 9.1 OpenOffice.org Applications

    • 9.1.1 Word Processing 9.1.2 Spreadsheets 9.1.3 Presentation Software
    9.2 Alternatives
    • 9.2.1 AbiWord and Other Word Processors 9.2.2 Spreadsheets 9.2.3 Presentation software

    9.3 Working with PDF and PostScript

    • 9.3.1 XPDF 9.3.2 Ghostview

      9.3.3 Creating PDFs with OpenOffice

    9.4 Contact management
    • 9.4.1 Evolution and Other Gnome Tools 9.4.2 JPilot 9.4.3 Kontact
    9.5 Graphics
    • 9.5.1 GIMP 9.5.2 imagemagick
    9.6 Summary

10.0 Multimedia Applications

  • 10.1 Playing Audio
    • 10.1.2 CD Player 10.1.3 XMMS 10.1.4 RealPlayer/Helix
    10.2 Recording Audio
    • 10.2.1 Audacity
    10.3 Playing Video
    • 10.3.1 DVD Playback (xine) 10.3.2 Internet Media (real)
    10.4 Burning CDs/DVDs
    • 10.4.1 Burning CDs 10.4.2 Burning DVDs
    10.5 Digital Imaging

11. Games

  • 11.1 Casual Games
    • 11.1.1 Card Games 11.2.1 Dice Games 11.3.1 Simple Arcade Games
    11.2 Strategy Games
    • 11.2.1 Lincity 11.2.2 Freeciv 11.2.3 Wesnoth
    11.3 RPGs 11.4 Summary

12.0 Interacting with Other Operating Systems

  • 12.1 Wine 12.2 Crossover

    12.3 Win4Lin 12.4 VMWare 12.5 Summary

13.0 SOHO Networks

  • 13.1 Architecture of a SOHO Network 13.2 Firewalls and Gateways 13.3 Sharing Files and Printers over the Network 13.4 Remote Connections to other PCs 13.5 Virtual Network Connection (VNC) 13.6 Summary

14.0 Working from the Command Line

  • 14.1 CLI - Philosophy of the Command Line Interface 14.2 The Shell Environment 14.3 The Bourne Again Shell 14.4 Customizing Your Shell 14.5 The Power of Aliases 14.6 Shell scripts 14.7 Using gedit 14.8 Other Editors 14.9 Summary

Part Summary

PART III - Care and Upkeep of Ubuntu

Part Introduction

15.0 Managing Your Information

  • 15.1 File Properties
    • 15.1.1 Ownership 15.1.2 Permissions 15.1.3 Date Last Modified
    15.2 Folders and Recursion 15.3 Making Archives
    • 15.3.1 Zip 15.3.2 Tar 15.3.3 Gzip and Bzip
    15.4 Mounting File Systems 15.4.1 Information on CD 15.4.2 USB Storage Devices 15.4.3 Other Hard Drive Partitions 15.5 Backing Up Your Files
    • 15.5.1 Burning to CD 15.5.2 Copying to USB 15.5.3 Rsync
    15.5 Summary

16.0 Updating the Kernel

  • 16.1 What Is the Kernel? 16.2 Understanding Loadable Kernel Modules 16.3 Installing a new or updated kernel 16.4 Summary

17.0 Updating Software

  • 17.1 Packages and Dependencies 17.2 Debian and Ubuntu
    • 17.2.1 The Debian Package Archives 17.2.2 The Ubuntu Release Process 17.2.3 Relating Debian and Ubuntu
    17.3 The Ubuntu Software Repository system
    • 17.3.1 Main 17.3.2 Restricted 17.3.3 Universe 17.3.4 Multi-verse
    17.4 Software Management
    • 17.4.1 Synaptic 17.4.2 Aptitude 17.4.3 apt-get
      • 17.4.3.1 Using apt-get 17.4.3.2 Adding repositories to apt-get 17.4.3.3 Dpkg
    17.5 Summary

18.0 Customizing Your System

  • 18.1 Searching for Applications 18.2 Selecting and Configuring New Applications 18.3 Removing Unwanted Applications 18.4 Setting Up Alternate Network Configurations
    • 18.4.1 Switching Between Dial-up and Broadband 18.4.2 Roaming with Laptops
    18.5 Screen Resolution 18.6 Customizing Users and Groups 18.7 Summary

19.0 Configuration Files

  • 19.1 Overview of the Linux File Hierarchy 19.2 Boot Files 19.3 Start-up Files 19.4 Understanding Etc 19.5 Configuration Files in Your Home Folder 19.6 Summary

20.0 Diagnostics and Troubleshooting

  • 20.1 Processes and Resources 20.2 Device Management 20.3 System Monitor
    • 20.1 top 20.2 ps
    20.3 tracepath/traceroute/ping 20.4 Summary

21.0 Getting Help

  • 21.1 Ubuntu Community 21.2 Ubuntu Forums and Mailing Lists 21.3 IRC 21.4 Other useful resources 21.5 Summary

Part Summary

PART IV - Ubuntu Variations

Part Introduction

22.0 Kubuntu

23.0 Edubuntu

24.0 Ubuntulite

25.0 Ubuntu Live CD

Part Summary

GLOSSARY

INDEX

MarksUbuntuBook (last edited 2008-08-06 16:25:53 by localhost)