User's Guide ------------ Progeny Linux Systems, Inc. Version: 1.00p00, 2008.03.02-20:48 ------------------------------------------------------------------------------- Abstract -------- This "User's Guide" is nothing but a reformatted "Progeny User's Guide". Contents are adjusted for the standard Debian system. Copyright Notice ---------------- Copyright (C) 2001 by Progeny Linux Systems, Inc. This document may be used under the terms the GNU General Public License version 2 or higher. This document was created from GPL version of document at http://archive.progeny.com/progeny/debian/doc which page states as follows: Within this directory you will find several forms of the Progeny Debian User's Guide. As of the March 19, 2002 the User's Guide is licensed under the terms of the GNU General Public License. This debiandoc-sgml was created from users-guide-html.tar.gz using simple shell and perl scripts with the help of w3m, gpm, vim, mc, etc. . This content was touched-up slightly by Osamu Aoki and those portions are also licensed under the terms of the GNU General Public License. ------------------------------------------------------------------------------- Contents -------- 1. Introducing Debian 1.1. Learning About Linux 1.2. Learning About Debian 1.3. Learning About Progeny Debian 1.4. What is in this Product?? 1.5. Conventions Used in This Manual 1.6. Familiarizing Yourself with Linux 2. Preparing to Install Debian 2.1. Understanding Your System's Hardware 2.1.1. Finding Sources of Hardware Information 2.1.2. Gathering Hardware Information 2.1.3. Checking Hardware Compatibility 2.1.4. Meeting Minimum Hardware Requirements 2.2. Gathering Information About Linux Device Names 2.2.1. Understanding Device Names 2.2.2. Finding Information About Partitions 2.2.3. Understanding Windows Device Names 2.2.4. Understanding Linux Device Names 2.2.5. Reading Linux Device Names 2.2.6. Translating Windows Names to Linux Names 2.3. Backing Up Your System 3. Installing Debian 3.1. Organizing the Install 3.1.1. Preparing for the Install 3.1.2. Installing Multiple Operating Systems 3.1.3. Preparing a CD or Floppy Installation 3.1.4. Changing the Boot Order on IDE Computers 3.1.5. Changing the Boot Order on SCSI Computers 3.1.6. Installing From a Floppy 3.1.7. Installing From a Network 3.1.8. Installing Progeny Debian Without a Graphical Display 3.1.9. Navigating the Install Program 3.1.10. Navigating Without a Mouse 3.1.11. Opening a Virtual Terminal for Troubleshooting 3.2. Installing the Minimal System 3.2.1. Selecting the Installation Target 3.2.2. Creating and Editing Partitions 3.2.3. Limitations of the Partitioning Tool 3.2.4. Working Around Incompatible Partitions 3.3. Configuring Your System 3.3.1. Starting the Configuration Stage 3.3.2. Selecting Options to Configure 3.3.3. Setting the Date And Time 3.3.4. Configuring Users and Passwords 3.3.5. Choosing a Secure Password 3.3.6. Setting the Root Password 3.3.7. Creating a Regular User Account 3.3.8. Configuring Password Levels 3.3.9. Configuring the Video Card 3.3.10. Configuring the Monitor 3.3.11. Setting the Desktop Graphic Display 3.3.12. Configuring the Pointer 3.3.13. Setting Advanced Graphic Display Options 3.3.14. Configuring Electronic Mail 3.3.15. Configuring Printers 3.3.16. Configuring the Network 3.4. Selecting Software to Install 3.5. Installing Software From the Extras CD 4. Starting and Stopping the System and Graphical Interface 4.1. Working With User Accounts 4.1.1. Understanding Regular User Accounts 4.1.2. Understanding the Root Account 4.2. Logging in to Debian 4.2.1. Logging in Graphically 4.2.2. Logging in from a Command Line 4.3. Shutting Down Debian 4.3.1. Shutting Down from the Desktop 4.3.2. Shutting Down From the Command Line 4.3.3. Shutting Down From the Keyboard 4.4. Starting and Shutting Down the Graphical Interface 4.4.1. Starting a Graphical Interface From the Command Line 4.4.2. Exiting the Graphical Interface 4.4.3. Keeping the X Window System Running in the Background 4.4.4. Closing Down an X Window System 4.5. Changing User Accounts 5. Getting to Know the Command Line 5.1. Why Use the Command Line? 5.2. Starting a Command Line 5.3. Entering Commands 5.3.1. Understanding the Parts of a Command 5.3.2. Understanding Command Structures 5.3.3. Understanding Common Options 5.3.4. Entering Multiple File Names for a Command 5.3.5. Entering Commands with Strings 5.3.6. Using Metacharacters or Wild Cards 5.3.7. Entering Multiple Commands 5.3.8. Combining Commands 5.3.9. Running Programs in the Background 5.3.10. Stopping Commands from Running 5.4. Navigating the Command Line 5.4.1. Changing directories 5.4.2. Reading the Contents of Directories 5.4.3. Identifying Types of Directory Listings 5.4.4. Finding Your Current Location 5.4.5. Clearing the Screen 5.5. Using Command Line Shortcuts 5.5.1. Using Tab Completion 5.5.2. Using Command History 5.5.3. Using Text Pasting 5.5.4. Using Command Aliases 5.5.5. Abbreviating File Path Names 5.5.6. Redirecting Input and Output for Commands 5.5.7. Using Environment Variables 5.6. Finding Help for Commands 5.6.1. Using man Pages 5.6.2. Using Info Documents 5.6.3. Using whatis 6. Getting to Know the Desktop 6.1. Understanding Graphical Interfaces 6.2. Getting to Know the Parts of the Default Desktop 6.2.1. The Menus 6.2.2. The Panel 6.2.3. The File Manager 6.2.4. The Workspaces 6.3. Finding Your Way Around the Desktop 6.3.1. Using A Three Button Mouse 6.3.2. Using the Desktop Pop-Up Menus 6.3.3. Using Keyboard Shortcuts 6.3.4. Manipulating Windows 6.3.5. Reading Icon Properties 6.3.6. Opening A Command Line 7. Making the Desktop Your Own 7.1. Configuring Monitor Color Display 7.2. Customizing General Settings for GNOME and Sawfish 7.3. Customizing Program Launchers 7.3.1. Adding Launchers 7.3.2. Deleting Launchers 7.3.3. Recreating Default Launchers 7.3.4. Positioning Desktop Launchers Automatically 7.4. Customizing General Desktop Behavior 7.5. Customizing the Panel 7.5.1. Adding Applets to the Panel 7.6. Customizing the Menu 7.7. Customizing Individual Windows 7.8. Starting Files With Programs: Setting MIME Types 7.8.1. Adding MIME Types 7.8.2. Editing a MIME Type 7.8.3. Deleting a MIME Type 8. Searching for Files and Text 8.1. Understanding Linux Files 8.1.1. Understanding Linux Names 8.1.2. Understanding File Extensions in Linux 8.2. Introducing the Linux Directory Structure 8.2.1. Using Directories to Find Files 8.2.2. Understanding Absolute and Relative File Paths 8.3. Searching from the Desktop 8.3.1. Using the find Command From the Desktop 8.3.2. Using the locate Command From the Desktop 8.3.3. Searching From the GNOME Midnight Commander 8.4. Searching From the Command Line 8.4.1. Searching for Files: Using the find Command 8.4.2. Searching for Files From the Command Line Using the locate Command 8.4.3. Searching for Text From the Command Line: Using grep Commands 8.4.4. Using Metacharacters With grep Commands 8.5. Viewing Files From the Desktop 8.6. Viewing Files From the Command Line 8.6.1. Viewing Short Files: Using the cat Command 8.6.2. Viewing Files with Scrolling: Using the less Command 8.6.3. Viewing Files Backwards: Using the tac Command 8.6.4. Viewing the Start of Files: Using the head Command 8.6.5. Viewing the End of Files: Using the tail Command 8.7. Comparing Files from the Command Line 8.7.1. Making Simple Comparisons of Files: Using the comm Command 8.7.2. Making Complex Comparisons: Using the diff Command 8.7.3. Comparing Three Files: Using the diff3 Command 9. Working with Directories, Files, and Links 9.1. Creating New Files From the Desktop 9.2. Creating New Files From the Command Line 9.3. Creating New Directories From the Desktop 9.4. Creating New Directories From the Command Line 9.5. Selecting Files From the Desktop 9.6. Selecting Multiple Files From the Command Line 9.7. Copying Files From the Desktop 9.8. Copying From the Command Line 9.9. Moving Files From the Desktop 9.10. Moving Files From the Command Line 9.11. Renaming Files From the Desktop 9.12. Renaming Files From the Command Line 9.13. Deleting Files From the Desktop 9.13.1. Deleting Files Permanently 9.13.2. Moving To the Trash 9.13.3. Restoring From the Trash 9.14. Deleting Files From the Command Line 9.15. Merging Files 9.15.1. Merging Using a Viewing Command 9.15.2. Merging Files Using the diff3 Command 9.16. Working With Symbolic Links 9.16.1. Viewing Symbolic Links From the Desktop 9.16.2. Viewing Symbolic Links From the Command Line 9.16.3. Adding Links From the Desktop 9.16.4. Adding Links From the Command Line 9.17. Changing Owners 9.17.1. Changing Owners From the Desktop 9.17.2. Changing Owners From the Command Line 9.18. Changing Groups 9.18.1. Changing Groups From the Desktop 9.18.2. Changing Groups From the Command Line 9.19. Changing Permissions 9.19.1. Viewing Permissions From the Desktop 9.19.2. Viewing Permissions From the Command Line 9.19.3. Changing Permissions from the Desktop 9.19.4. Changing Permissions From the Command Line 9.19.5. Changing File Date and Time Attributes 9.19.6. Setting Special File Attributes 10. Reading System Information 10.1. Reading System Information From the Desktop 10.1.1. Using System Information from the Desktop: Using the System Info Tool 10.1.2. Viewing Process Information from the Desktop: Using the gtop Command 10.1.3. Viewing User Information from the Desktop: Using the gw Command 10.1.4. Using the Monitor Applets 10.2. Using Command Line Tools 10.2.1. Commands for Reading System Information 10.2.2. Commands for Reading Memory Information 10.2.3. Commands for Reading Process Information 10.2.4. Commands for Reading User Information 10.2.5. Reading /proc Files 10.3. Reading Log Files 10.3.1. Reading Standard Log Files From the Desktop 10.3.2. Reading Standard Log Files From the Command Line 10.3.3. Reading Non-Standard Log Files 10.3.4. Creating Custom Logs Using Redirection 11. Installing, Removing, and Upgrading Software 11.1. Understanding Packages 11.2. Understanding Package Management Tools 11.3. Understanding Debian Package Management 11.3.1. Understanding the Life Cycle of a Package 11.3.2. Understanding Package Information 11.3.3. Finding Package Management Files 11.3.4. Understanding Package Statuses 11.4. Understanding Selection States 11.4.1. Understanding Package Flags 11.5. Installing and Removing Package Sets With gnome-apt-pkgset 11.6. Installing and Removing Packages With the apt-pkgset Command 11.7. Installing and Removing Packages With the apt-get Command 11.8. Editing Source Lists 11.8.1. Adding a New Source Using an Interface 11.8.2. Adding a New Source from a Text Editor 11.8.3. Adding a New CD to the List of Sources 11.9. Managing Packages With the dpkg Command 11.9.1. The dpkg Command (Package Management): Options 11.9.2. The dpkg Command (Package Management): Argument 11.9.3. The dpkg Command (Package Management): Actions 11.10. Installing Unpackaged Software 11.11. Making Debian Packages From Other Formats 12. Doing Everyday Administration 12.1. Managing User Accounts 12.1.1. Adding a User Account 12.1.2. Deleting a User Account 12.1.3. Editing a User Account 12.1.4. Changing Individual Passwords 12.1.5. Choosing a Password 12.2. Managing Groups 12.2.1. Reading the /etc/group File 12.2.2. Adding a Group 12.2.3. Deleting a Group 12.2.4. Editing a Group 12.3. Managing Printing 12.3.1. Checking the Status of Print Jobs 12.3.2. Removing Jobs From a Printer Spool 12.3.3. Reading the Status of a Printer Spool 12.3.4. Printing From the Command Line 12.4. Managing Processes 12.4.1. Understanding Processes 12.4.2. Viewing Active Processes From the Desktop 12.4.3. Viewing Active Processes From the Command Line 12.4.4. Viewing Intensive Processes 12.4.5. Stopping a Process From the Desktop 12.4.6. Stopping a Process From the Command Line 12.4.7. Setting the Priority for a Process From the Desktop 12.4.8. Setting the Priority for a Process From the Command Line 12.5. Backing Up and Compressing Files 12.5.1. Planning a Backup 12.5.2. Choosing a Backup Tool 12.5.3. Backing Up and Restoring Using the cpio Command 12.6. Scheduling Jobs 12.6.1. Scheduling With the crontab Command 12.6.2. Scheduling With the at Command 12.7. Archiving and Compressing From the Desktop 12.8. Compressing and Archiving Files From the Command Line 12.8.1. Archiving and Compressing Using the tar Command 12.8.2. Compressing and decompressing Files With the gzip Command 12.8.3. Compressing and decompressing With the bzip2 Command 12.9. Checking or Repairing a File System 13. Configuring the System 13.1. Understanding Configuration Methods 13.1.1. Understanding the System Settings 13.1.2. Understanding Manual Configuration 13.1.3. Recompiling a Kernel 13.2. Configuring Hardware 13.2.1. Configuring a Printer 13.2.2. Configuring a Sound Card 13.2.3. Setting Up Personal Information Devices 13.2.4. Setting Up a Scanner 13.3. Configuring Partitions 13.3.1. Partitioning a Hard Drive 13.3.2. Mounting and Unmounting Filesystems 13.3.3. Creating a Swap Partition or File 13.3.4. Configuring the Boot Loader 13.3.5. Making a Bootable Recovery Disk 13.4. Configuring Networks 13.4.1. Configuring an Ethernet Card 13.4.2. Checking a Modem Connection 13.4.3. Configuring a Network Connection 13.4.4. Preparing to Configure a Network Connection 13.4.5. Configuring a Dialup Internet Connection 13.4.6. Setting Up E-Mail 13.5. Configuring the Graphical Display 13.5.1. Configuring a Video Card From the Desktop 13.5.2. Configuring a Video Card Manually 13.5.3. Configuring a Monitor From the Desktop 13.5.4. Configuring a Monitor Profile Manually 13.5.5. Setting Display Settings from the Desktop 13.5.6. Setting Display Settings Manually 13.5.7. Configuring a Pointer From the Desktop 13.5.8. Configuring a Pointer Manually 13.6. Changing Desktops 13.6.1. Changing Window Managers From a Desktop 13.6.2. Changing the Keyboard Mapping 13.6.3. Changing Window Managers From the Command Line 13.6.4. Adding Window Managers to the Login Screen 13.7. Changing Other Settings 13.7.1. Setting Date and Time From the Desktop 13.7.2. Setting Date and Time From the Command Line 13.7.3. Setting the Command Shell 13.7.4. Adding Fonts A. Automating Multiple Installs A.1. Creating Configuration Files A.1.1. Creating the Global Configuration File (global.cfg) A.1.2. Creating the debconf Configuration File (debconf.cfg) A.1.3. Creating the Network Modules File (netmod.lst) A.1.4. Creating the SCSI Module File (scsimod.lst) A.1.5. Creating the Network Configuration Database (network.cfg) A.1.6. Creating the Partitioning Information File (partinfo.cfg) A.1.7. Creating the Package Selection List (select.cfg) A.1.8. Creating the Post Installation Script (postinst) A.1.9. Creating the Sources List File (sources.lst) A.2. Creating the Automated Installer Floppy A.3. Starting an Automated Install B. Acknowledgements and Thanks C. Contacting Progeny Linux Systems D. GNU General Public License ------------------------------------------------------------------------------- 1. Introducing Debian --------------------- This user guide is a touched-up debiandoc-sgml version of "Progeny Debian Manual". Please also refer to FAQ (http://www.debian.org/doc/manuals/debian-faq/), APT HOWTO (http://www.debian.org/doc/manuals/apt-howto/), Debian reference (http://www.debian.org/doc/manuals/quick-reference/), and other documents in Debian Documentation Project (http://www.debian.org/doc/). Debian is a version of the Debian _GNU_ /Linux operating system. The CDs that come with this manual contain not only a complete operating system, but also the tools for most computing needs. If you want an even larger selection of software, you can download it for free from the Debian web site (http://www.debian.org/). This manual is designed to get started with Debian. It is also designed for use in front of your computer. The manual does not assume that you are an expert. However, it does assume that you have used computers before, and want to transfer your skills to Linux. At the very least, you are assumed to be willing to learn. Linux tools have come a long way in the last few years, but Linux is still built with a do-it-yourself philosophy. While you can ignore this philosophy, adapting it can bring a sense of power and control to your computing. If you master this manual, you will still not be an expert. To cover Linux completely requires hundreds of pages. However, you will be able to configure the basic parts of your system and be ready to explore Linux on your own. 1.1. Learning About Linux ------------------------- Linux (http://www.linux.org/) is an operating system: a series of programs that let you interact with your computer and run other programs. Linux is modelled on the unix operating system. From the start, Linux was designed to be a multi-tasking, multi-user system. These facts are enough to make Linux different from other well-known operating systems. However, Linux is even more different than you might imagine. In contrast to other operating systems, nobody owns Linux. Much of its development is done by unpaid volunteers. Development of what later became Linux began in 1984, when the _GNU_ Free Software Foundation (http://www.gnu.org/) began development of a free unix -like operating system. Linux's name is derived from that of Linus Torvalds, who began development of a unix -like kernel in 1991. While many groups and individuals have contributed to Linux, the largest single contributor is still the Free Software Foundation, which created not only most of the tools used in Linux, but also the philosophy and the community that made Linux possible. Linux is released under the _GNU_ General Public License ( _GPL_ ). Unlike most software licenses, the _GPL_ encourages users to freely copy, change, and distribute source code. For the Free Software Foundation, the emphasis of the _GPL_ is on free software as a philosophical right. The group that focuses on applying the ideals in the _GPL_ to business solutions is called the Open Source movement. Its emphasis is on the faster development and higher quality of software released under a public licence. However, to outsiders, these differences are mainly a matter of emphasis. Although the _GPL_ is often said to encourage fragmentation, Linux remains more or less standardized for several reasons. First, final approval of changes to the kernel are overseen by Linus Torvalds and his closest associates, especially Allan Cox. Second, Linux is released in different versions or distributions. Some distributions, like Debian, are volunteer efforts. Others, like Progeny, are commercial. However, all programs are kept as compatible as possible within the same distribution. Many programs also work with other distributions, or can be made to work with a little effort. Third, volunteer software projects are usually coordinated by informal project managers known as maintainers. Although anyone can write improvements to a piece of software, the maintainer makes the final decision about which improvements become an official part of the project. Usually, the maintainer makes these decisions after consulting the leading contributors to the project. These mechanisms are loose enough that Linux users still have immense freedom of choice in their software. For example, Linux users can choose from a dozen different command line shells and several graphical desktops. This selection is often bewildering to users of other operating systems, who are not used to thinking of the command line or desktop as something that they can change. In addition to software selection, Linux is less likely to crash, better able to run more than one program at the same time, and more secure than many operating systems. With these advantages, Linux is the fastest growing operating system in the server market. More recently, Linux has begun to be popular among home and business users as well. 1.2. Learning About Debian -------------------------- Debian (http://www.debian.org/) is a popular version of Linux. It is developed by a decentralized team of over 600 volunteer programmers in all parts of the world, and includes over 6000 software packages. Debian was founded in 1993 by Ian Murdock, now president and CEO of Progeny which funded and created the previous version of this "User's Guide". The name of Debian combines Ian's name with that of his wife Debra. Its full name, Debian _GNU_ /Linux, recognizes the central role of the GNU Free Software Foundation in developing Linux. Debian has been a major force in the rise of Linux and Open Source software over the last seven years. In fact, the Debian Free Software guidelines became the main source of the Open Source Definition in Although Debian has been almost entirely non-commercial, it is one of the most popular distributions of Linux. It is also the basis for several commercial distributions, including Progeny. Debian is especially popular among advanced users because of its technical excellence and its deep commitment to the needs and expectations of the Linux community. Debian also introduced many features to Linux that are now commonplace. For example, Debian was the first Linux distribution to include a package management system for easy installation and removal of software. It was also the first Linux distribution that could be upgraded without requiring reinstallation. Debian continues to be a leader in Linux development. Its apt program is second to none for managing software over the Internet. Moreover, its development process is an example of just how well the Open Source development model can work - even for very complex tasks such as building and maintaining a complete operating system. 1.3. Learning About Progeny Debian ---------------------------------- _This section is Progeny specific and does not apply for the standard Debian system. Rewrite desirable._ May put list of present and past Debian based distributions here. Progeny Debian is not a distribution spun off from Debian in the sense that Mandrake is based on Red Hat. Progeny's efforts are contributions to Debian, not a replacement for it. In fact, many Progeny employees are (or have been) actively involved with Debian. One of Progeny Debian main goals is to bring ease of use and system integration enhancements to Debian without taking away the flexibility and power of the underlying Debian system. The areas that Progeny is working in include installation, system administration, hardware detection, and software management. Another goal is to apply an additional testing and release cycle to the general Debian development cycle. Progeny hopes that this effort will help Debian provide its users with more frequent current and stable releases. So far as possible, Progeny works with existing free software, and with existing Debian development efforts. As with Debian, all of Debian's development occurs in an open forum. Everyone is welcome and encouraged to participate. To get involved in Progeny's Debian development efforts, subscribe to the progeny-debian mailing list. Send an e-mail to progeny-debian-request@lists.progeny.com with the word subscribe in the subject line or message body. 1.4. What is in this Product?? ------------------------------ _This section is Progeny specific and does not apply for the standard Debian system. Rewrite desirable._ May replace with available sources of Debian, such as: * Net-install with CD (Put URL) * Net-install with FD (Put URL) * Full CD (See Debian site for local venders.) The box that this manual came in should contain: * The Install cd , containing the operating system . * The Extras cd, containing additional programs, including the kde desktop. * Two source code cd s. * An Install floppy for systems that cannot start from the cd drive. * A Modules floppy for rarer drivers that cannot fit anywhere else. * A registration card for technical support a three month subscription to the Progeny Service Network. * The Progeny Debian User's Guide (this manual). If anything is missing, please contact Progeny Linux Systems at 1-317-833-0313 or custserv@progeny.com. 1.5. Conventions Used in This Manual ------------------------------------ To help you concentrate on learning, this manual uses as few conventions as possible. In fact, it has only three: * When you have to choose an icon or menu item with the mouse, you may be told to "select" or to "click" or "click on." All these instructions mean that you should select an item with the cursor while depressing the left mouse button. Similarly, "right click" means to use the right mouse button, while, "middle click" means to use the middle mouse button or the equivalent. * Information to type appears in a `fixed width font text', like this: `chmod 777 todo.txt' . Punctuation after this text should not be typed. * indicates variable information. For example, the standard format for a command is: The italics indicate that any command can replace the word "command" any options the word "options" and so on. Following are proposed conventions by "Osamu". * PRGN: `program-name' * FILE: `/full/path/name/to/file' `/directory' * PACKAGE: `package-name' * TT: `short command input and console output' * EXAMPLE: # root-command -option $ shell-user-command -option * Use punctuation outside of "quotation". This is not right English but clear manual contents. * Convert "Type command -option ." into shell console screen: $ command -option _[Note]_ Whenever files are a variable, you can also use a directory name. _[Note]_ Variable information may include source and target. The source is the file that original information is taken from. The target is the file that is acted upon. For example, when a file is copied, the source is the file being copied, and the target is the new copy that is created. 1.6. Familiarizing Yourself with Linux -------------------------------------- This manual introduces concepts as you are likely to need them. For now, here are some concepts that may be new to you: * Linux generally uses a three-button mouse. If you do not have a middle mouse button, you can emulate three buttons by clicking the left and the right mouse buttons at the same time. * The command line is much more flexible than you might think. It includes the abilities to cut and paste, to re-use previous commands, and to complete what you have typed in with a command. * For greater security, Linux makes strict use of accounts. Unlike some operating systems, you cannot bypass logging in to the system by pressing the Enter key. Most users have only limited access to files. Typically, only the root user (also called the super user or system administrator) has access to all files. * Linux has a consistent system for naming hardware, but the system is different from that of other popular operating systems. You should know the Linux naming system to avoid accidentally over-writing information. * Linux's directory system is similar to unix 's. Knowing the structure can help you find files. * Debian includes several boot managers. * `lilo': classic general purpose boot manager. * `grub': new improved general purpose boot manager. * `syslinux': for making boot floppy on DOS FAT system. * `loadlin': boot Linux from DOS. * `mbr': replacement for the DOS master boot loader. With a boot manager, you can use more than one operating system on the same computer. * Many Linux system settings can be changed by editing a configuration file in a text editor. * `nano' * `vim' * `emacs' * ... * Linux provides services such as printing through a number of independent programs or processes. * Processes that start with your machine and run in the background until you need them are called daemons. At first, these differences may seem overwhelming. Take your time and learn them as the need arises. Once you have learned them, you will find that the features of Linux give you more convenience, efficiency, and hands-on control than other popular operating systems. ------------------------------------------------------------------------------- 2. Preparing to Install Debian ------------------------------ Installing Linux is much easier than it was a few years ago. However, if you have never installed an operating system, installing Linux can still be nerve-wracking. You may find that your hardware either does not support Linux or needs to be configured manually to work well. To avoid trouble during the install, gather the information you need during the install before you start. This chapter explains how to: * Meet hardware requirements. * Name partitions according to Linux's and Windows' conventions. * Prevent accidental data loss during the install. 2.1. Understanding Your System's Hardware ----------------------------------------- In most cases, you can let Debian detect your hardware and accept the settings suggested during the install. However, these suggestions may not always work. To minimize problems, before you install, you should: * Gather information about your hardware before you start to install. At the very least, have the information handy if you need it. * Check hardware compatibility. * Check that your computer meets the minimum requirements for the type of install that you want to do. 2.1.1. Finding Sources of Hardware Information ---------------------------------------------- Hardware information can be gathered from: * The manuals that come with each piece of hardware. * The _bios_ setup screens of your computer. You can view these screens when you start your computer by pressing a combination of keys. Check your manual for the combination. Often, it is the Delete key. * The cases and boxes for each piece of hardware. * The System window in the Windows Control Panel. * System commands or tools in another operating system, including file manager displays. This source is especially useful for information about _ram_ and hard drive memory. * Your system administrator or Internet Service Provider. These sources can tell you the settings you need to set up your networking and e-mail. 2.1.2. Gathering Hardware Information ------------------------------------- The exact information you need depends on how much control you want over the install: * If you want, you can let the installer automatically partition your hard drive and accept the settings that the installer suggests. However, these settings may not be the best ones for your hardware. _[Warning]_ Do not do an automatic installation without first backing up important information. Otherwise, you may lose the information. * If you want a custom install, the following table shows the information needed. To save time, collect this information before you start the install. At the very least, know where you can find the information quickly. _[Note]_ If you need to contact Progeny technical support, you will probably need to provide additional information before technical support can help you. Hardware Information Needed for an Install +-------------------------------------------------------------------+ |Hardware| Information You Might Need | |--------+----------------------------------------------------------| | | * How many you have. | | | * Their order on the system. | |Hard | * Whether ide or scsi (most computers are ide). | |Drives | * Available free space. | | | * Partitions. | | | * Partitions where other operating systems are | | | installed. | |--------+----------------------------------------------------------| | | * Model and manufacturer. | | | * Resolutions supported. | |Monitor | * Horizontal refresh rate. | | | * Vertical refresh rate. | | | * Color depth (number of colors) supported. | | | * Screen size. | |--------+----------------------------------------------------------| | | * Type: serial, ps, or usb. | |Mouse | * Port. | | | * Manufacturer. | | | * Number of buttons. | |--------+----------------------------------------------------------| | | * Model and manufacturer. | | | * Type of adapter. | | | * Domain name. | |Network | * dhcp host name. | | | * ip Address. | | | * Netmask. | | | * Gateway. | | | * Name server. | |--------+----------------------------------------------------------| |Printer | * Model and manufacturer. | | | * Printing resolutions supported. | |--------+----------------------------------------------------------| | | * Model and manufacturer. | |Video | * Video ram available. | |Card | * Resolutions and color depths supported (these should | | | be checked against your monitor's capabilities). | +-------------------------------------------------------------------+ 2.1.3. Checking Hardware Compatibility -------------------------------------- Many brand name products work without trouble on Linux. Moreover, hardware for Linux is improving daily. However, Linux still does not run as many different types of hardware as some operating systems. In particular, Linux usually cannot run hardware that requires a running version of Windows to work. Although some Windows-specific hardware can be made to run on Linux, doing so usually requires extra effort. In addition, Linux drivers for Windows-specific hardware are usually specific to one Linux kernel. Therefore, they can quickly become obsolete. So called win-modems are the most common type of this hardware. However, printers and other equipment may also be Windows-specific. Author suggests that you avoid all such hardware. You can check hardware compatibility by: * Checking manufacturers' web sites for new drivers. * Looking at web sites or manuals for information about emulation. Lesser known brands can sometimes use the drivers or settings for better-known ones. * Checking hardware compatibility lists for Linux, such as http://www.linuxdoc.org/HOWTO/Hardware-HOWTO/. * Searching the Internet for other users' experiences. 2.1.4. Meeting Minimum Hardware Requirements -------------------------------------------- Once you have gathered information about your computer's hardware, check that your hardware will let you do the type of installation that you want to do. Depending on your needs, you might manage with less than some of the recommended hardware listed in the table below. However, most users risk being frustrated if they ignore these suggestions. Recommended Minimum System Requirements +-------------------------------------------------------+ |Install Type| Processor | RAM | Hard Drive | |------------+--------------+-------------+-------------| |No desktop |Pentium 100 |16 megabytes |450 megabytes| |------------+--------------+-------------+-------------| |With Desktop|Pentium 100 |64 megabytes |1 gigabyte | |------------+--------------+-------------+-------------| |Server |Pentium II-300|128 megabytes|4 gigabytes | +-------------------------------------------------------+ _[Note]_ If you are using a desktop, you will find that some window managers run better with more ram. 2.2. Gathering Information About Linux Device Names --------------------------------------------------- Linux uses its own system for naming hardware. If you know this system during installation, you can choose your options more intelligently. You can also avoid over writing partitions that you want to keep. 2.2.1. Understanding Device Names --------------------------------- All operating systems use a system for naming devices such as hard drive partitions and serial and parallel ports. Partitions are subdivisions of your hard drive. Serial and parallel ports are connectors on the back of your computer where devices such as a mouse or printer can be connected to the system. No matter what operating system you are using, hard drives are divided into partitions. Partitions can be of three types: primary, extended, and logical. A hard drive can have up to four primary partitions. However, as hard drives grew in size, a way around this limitation was needed. The answer was extended partitions, which can be partitioned into any number of smaller or logical drives. 2.2.2. Finding Information About Partitions ------------------------------------------- You can find information about your partitions by using: * `fdisk' on Linux or Windows. * `cfdisk' on Linux. * `_GNU_ parted' on Linux. * `PartitionMagic' from Windows or a boot floppy. _[Warning]_ Do not use PartitionMagic to create Linux partitions. Debian's install program is not compatible with `PartitionMagic'-created partitions. The result may be the loss of all partitions and all the data on them. Instead, use the Install cd to start your machine, and open a virtual terminal by pressing Ctrl-Alt-F2. Then use the `parted' tool. See Section 13.3.1, `Partitioning a Hard Drive'. [_This section is Progeny specific and does not apply for the standard Debian system. Rewrite desirable._] 2.2.3. Understanding Windows Device Names ----------------------------------------- Many users are familiar with Window's naming system: * `A' and `B' are the first and second _floppy_ drives. * _The first primary partition_ is `C'. Often, this is the only partition on a Windows system. * All primary partitions on all hard drives are named first. * Logical drives are named, starting with the first one on the first hard drive. * The last drive letter is usually the _cd_ drive. * _Serial ports_ are prefixed with `com' and start at 1. * _Parallel ports_ are prefixed with `lpt' and start at 1. The Windows naming system has several problems. First, few modern computers have a second floppy drive. Therefore, `B' is rarely used. More importantly, if you add or delete one partition, the names of many partitions can change. As a result, you can easily lose track of your partitions. 2.2.4. Understanding Linux Device Names --------------------------------------- Linux takes a consistent approach to naming. All drives and ports are named in the same way: * An `id' for the type of device. These `id's include `hd' for an _ide_ hard drive, `ttyS' for a _serial port_, and `lp' for a _parallel port_. * A letter `id' for the device. If, like most users, you have an _ide_ system, then: * `a' is the _primary master device_. * `b' is the _primary slave device_. * `c' is the _secondary master device_. * `d' is the _secondary slave device_. _[Warning]_ Check your _bios_ or the contents of each device to find details about master and slave devices. * A number `id' for the partition or port. Primary or extended partitions are named `1-4', while logical partitions are named `5' or higher. * _Serial and parallel ports_ start with `0', and can have any number. For example, the first partition on the first ide hard drive is `hda1' Similarly, the first serial port is `ttyS0'. This naming convention is simple, and gives you information about your system. The device `id' gives you information about the type of hardware installed, while the partition `id' tells you whether it is a primary or logical partition. In addition, if you add or delete partitions, only the number `id' changes. Even then, it can only change so far. A logical partition can never become `hda4', because `4' is reserved for primary partitions. By contrast, `D' could be either type of partition under Windows. Similarly, when you re-arrange primary partitions on one hard drive, the numbering of primary partitions on other hard drives is unaffected. Under Windows, changing primary partitions on any drive affects all primary partitions on the system. 2.2.5. Reading Linux Device Names --------------------------------- Before you install, decide whether you want to keep any existing partitions on your system. _[Warning]_ Linux partitions made with PartitionMagic are not compatible with the Debian install program. If you do, then translate the partition names to the Linux conventions so that you know where they are when you install. Linux Device Names +-------------------------------------------------------------------+ | Device Type |General| Specific | |----------------------------+-------+------------------------------| | | |A letter, starting with a, | |Partitions on an ide hard |hd |then: | |drive or a cd drive | | | | | | * 1 to 4 for a primary or | | | | extended partition. | | | | * 5 or more for a logical | | | | partition. | |----------------------------+-------+------------------------------| | | |A letter, starting with a, | | | |then: | |Partitions on a scsi hard | | | |drive or a cd drive |sd | * 1 to 4 for a primary | | | | partition. | | | | * 5 or more for a logical | | | | partition. | |----------------------------+-------+------------------------------| |Floppy drives |fd |A number, starting with 0. | |----------------------------+-------+------------------------------| |Serial or com ports |ttyS |A number, starting with 0. | |----------------------------+-------+------------------------------| |Parallel ports |lp |A number, starting with 0. | +-------------------------------------------------------------------+ 2.2.6. Translating Windows Names to Linux Names ----------------------------------------------- If you are installing Linux on an existing computer, translate Windows names to Linux names to avoid confusion. For example, if all your Windows files are on C, then you need to translate C into the Linux name if you want to be sure that you never delete or reformat the partition. _[Note]_ On most computers, your Windows C partition is hda1 in the Linux naming system. However, check before working with any partitions. Notice, too, that port names on Windows start with 1, while on Linux they start with 0. Linux Equivalents for Common Windows Device Names +---------------------------------------------------+ | Type of Device |Windows|Linux| |-------------------------------------+-------+-----| |1st floppy drive |A |fd0 | |-------------------------------------+-------+-----| |1st partition, 1st hard drive ( ide )|C |hda1 | |-------------------------------------+-------+-----| |1st partition, 1st hard drive (scsi) |C |sda1 | |-------------------------------------+-------+-----| |1st serial port |com1 |ttyS0| |-------------------------------------+-------+-----| |1st parallel port |lpt1 |lp0 | +---------------------------------------------------+ 2.3. Backing Up Your System --------------------------- Before you start to install Debian, back up your system. At the very least, make copies of important files. You may also want to create new rescue disks for existing operating systems. So long as you are careful, these precautions should be unnecessary. However, even experienced computer users can make mistakes, or face an unexpected power interruption. If anything does happen, backing up your system will save you hours of time and trouble. ------------------------------------------------------------------------------- 3. Installing Debian -------------------- _This section is Progeny specific and does not apply for the standard Debian system. Rewrite desirable._ Please refer to the official documents: Installation Manual (stable version) (http://www.debian.org/releases/stable/installmanual) and Installation Manual (testing version) (http://www.debian.org/releases/testing/installmanual) if you have any doubts. This chapter explains how to install Progeny Debian for the first time. If you want to: * Upgrade an existing Debian or Debian-based operating system, . * Do identical installs on different machines, See Appendix A, `Automating Multiple Installs'. Progeny Debian features a graphical installer. The installer automatically detects many types of hardware, and suggests many settings. If you do not need a graphical display, you can use text-mode from the second stage of the install onwards. The first stage of the install uses a basic vga mode which almost every system should be able to support. If you run into problems, you can usually follow the settings suggested by the installer and get a working system. After configuration, you can fine-tune the configuration from within Progeny Debian. Installation should take 30-60 minutes. The exact time depends on your choices, your experience, and the speed of your system. _[Note]_ If you have already installed Progeny Debian on your system, use the Add/Remove Software option to upgrade your system rather than reinstalling. Unlike some commercial distributions, Progeny Debian is not designed to reinstall over an existing system. Installation consists of five steps: * Organizing the install. * Installing the minimal system. * Configuring Progeny Debian. * Selecting and installing software. * Installing Software on the Extras cd . 3.1. Organizing the Install --------------------------- Immediately before installing, you need to: * Prepare for the install. * Choose the order in which to install different operating systems. * Decide on your install source and prepare for its use. Progeny Debian can be installed from: * A floppy and cd. * A cd. * A network. * Start the install. 3.1.1. Preparing for the Install -------------------------------- Collect the information about your system that you need, and have it handy during the install. Depending on how you choose to install, this information may include: * The partitions on the hard drive and which ones already contain an operating system. * The manufacturer and model for your video card, monitor, and printer. * Settings for your network or for your internet connection. In addition, back up any information that you do not want to lose. Errors or power surges and interruptions during the install could lose or corrupt it. For complete information about preparing for an install, See Chapter 2, `Preparing to Install Debian'. _[Note]_ Linux partitions created using `PartitionMagic' are incompatible with the Debian install program. If you have any, delete them and re-create the partitions using `parted' or Debian `fdisk'. 3.1.2. Installing Multiple Operating Systems -------------------------------------------- If you are going to install more than one operating system on the same machine, install all versions of Windows first. Otherwise, the Windows installation program may destroy your ability to start other operating systems or encourage you to reformat partitions with other operating systems. You can recover from these actions or avoid them, but installing Windows first saves you trouble. 3.1.3. Preparing a CD or Floppy Installation -------------------------------------------- Depending on your computer, you may need to change the boot order in the bios so that you can start from a cd or floppy. _[Note]_ You only need the floppy if your computer cannot start from a cd . The boot order is a listing of the drives that your computer tries to start from, and the order in which drives are tried. Your machine starts with the first operating system that it finds. How you change the boot sequence may depend on whether you have an ide or scsi system. 3.1.4. Changing the Boot Order on IDE Computers ----------------------------------------------- * 1 As your computer starts, press the keys to enter the bios utility. Often, it is the Delete key. However, consult the hardware documentation for the exact keystrokes. * 2 Find the boot sequence in the setup utility. Its location depends on your bios , but you are looking for a field that lists drives. Common entries on ide machines are C, A, cdrom or A, C, cdrom . C is the hard drive, and A is the floppy drive. * 3 Change the boot sequence setting so that the cdrom or the floppy is first. Usually, the Page Up or Page Down keys cycle through the possible choices. * Save your changes. Instructions on the screen tell you how to save the changes on your computer. _[Note]_ Remember to change the boot order after the minimal Progeny system is installed, so that you restart your machine from the hard drive. 3.1.5. Changing the Boot Order on SCSI Computers ------------------------------------------------ * 1 As your computer starts, press the keys to enter the scsi setup utility. You can start the scsi setup utility after the memory check and the message about how to start the bios utility displays when you start your computer. The keystrokes you need depend on the utility. Often, it is Ctrl-F2. However, consult your hardware documentation for the exact keystrokes. * 2 Find the utility for changing the boot order. * 3 Set the utility so that the scsi id of the cd drive is first on the list. _[Note]_ If you need to use the floppy drive, follow the instructions for changing the boot order on ide computers. Floppies are never scsi devices. * 4 Save your changes. Instructions on the screen tell you how to save the changes on your computer. Often, you must press F10. 3.1.6. Installing From a Floppy ------------------------------- If your computer cannot start from the cd drive, you need to start from a floppy disk: * 1 Check that the computer is set to boot from the floppy drive. See Section 3.1.3, `Preparing a CD or Floppy Installation'. * 2 Place the Install floppy in the floppy drive. * 3 Place the Progeny Debian cd in the cd drive. * 4 Restart your computer. The installation program begins. 3.1.7. Installing From a Network -------------------------------- A network install provides a single install source for multiple machines. When doing a network install, you might want to create an auto-install floppy. See Appendix A, `Automating Multiple Installs'. If you do not understand networks, do not attempt a network install without the help of your system administrator. * 1 Insert the Progeny Debian cd or install floppy . Then restart your computer. A text screen opens, giving instructions for a network install. A command line is at the bottom of the screen. * 2 At the command line, type: linux nfscd host:path options You must enter the host and the path. If you have a dhcp connection, the network configuration is automatically detected. Otherwise, you may need to add other options. Typical Network Install Options +---------------------------------------------------------------+ | Option | What It Does | |----------+----------------------------------------------------| |broadcast=|The address used for transmitting (broadcasting) | | |packets to all hosts on a network. | |----------+----------------------------------------------------| |gateway= |The address of the machine that is the default route| | |to machines not on the local subnet. | |----------+----------------------------------------------------| |host |The nfs server. | |----------+----------------------------------------------------| |ipaddr= |The address of the machine on which you are | | |installing Progeny Debian. | |----------+----------------------------------------------------| |nameserver|The address of the systems that provide hostname | |= |lookup services to your system. | |----------+----------------------------------------------------| |netmask= |The bitmask that defines the part of the system's | | |network address that identifies the network. | |----------+----------------------------------------------------| |path |The path to the network-mounted or nfs -mounted cd | | |drive from which you are installing. | +---------------------------------------------------------------+ 3.1.8. Installing Progeny Debian Without a Graphical Display ------------------------------------------------------------ The Progeny Debian installer is designed primarily for users who want a graphical display. However, you may decide not to use a graphical display (the X Window System) if you are an experienced user, or are installing a server. If you do not want a graphical display, note the following steps: * Start the minimal install with the command linux secondstage= text. The minimal installation will use a generic vga display, but the other stages will be text based. * At the start of the configuration stage, do not select X configuration. * During the software installation stage, do one of the following: * De-select the pre-selected gnome and X Window package set. * Leave the default package sets, then remove the gnome and X Window package set once Progeny Debian starts. 3.1.9. Navigating the Install Program ------------------------------------- The install program detects your mouse so that you can use it during the install. The install program uses a simple set of buttons for navigation: * Back: Returns you to the previous screen. * Next: Moves to the next screen. * Cancel: Exits the install program. In some cases, a button may not be available until a task is completed. 3.1.10. Navigating Without a Mouse ---------------------------------- If your mouse does not work in the install program, you can use the keyboard to navigate the menu choices. Later, you can configure your mouse in the Pointer screen or after the install. To navigate the install program without a mouse, use: * The left arrow key or Shift-Tab key to move between buttons and selections in the current screen. * The space bar to select an item in the current screen. * The Enter key to activate choices. 3.1.11. Opening a Virtual Terminal for Troubleshooting ------------------------------------------------------ If you have trouble installing Progeny Debian, you can open a virtual terminal: * During the minimal install stage, press Ctrl-Alt-F2. Press Alt-F7 to return to the install. * During the configuration stage, middle-click anywhere on the screen except for the window. * During software installation, the output displays for you. You may also want to open a virtual terminal if you need to use parted to partition your hard drive before installing. 3.2. Installing the Minimal System ---------------------------------- Installing the minimal system is the first stage in the installation of Progeny Debian. Installing the minimal system consists of three steps: * Selecting the target installation: Determining which hard drive and partitions are used. * Partitioning your hard drive: Creating and formatting the partitions for the install. * Configuring the system start-up: Choosing whether to use the grub boot manager, an existing boot manager (such as lilo ), or no boot manager. Once you have made your choices, the necessary partitions are prepared and the minimal system is installed. * 1 Start your machine with the Install cd and, if necessary, the Install Floppy. See Section 3.1.3, `Preparing a CD or Floppy Installation' See Installing From a Floppy. A text introduction appears. img/Installing.png * 2 Do one of the following: * Start a network install by entering a command at the prompt at the bottom of the screen. See Section 3.1.7, `Installing From a Network', or press F1. or * Set the install program to use a non-graphical install after the minimal installation. The minimal install uses a basic vga mode that should be usable on any computer. At the command prompt, type: linux secondstage=text, then press the Enter key. or * Start an install by pressing the Enter key. In all cases, the install program starts to load. After a moment, the install program starts and the Welcome screen opens. img/Installing.png img/Installing.png During the minimal install, you can troubleshoot by opening a virtual terminal. Press Ctrl-Alt-F2. To return to the installer, press Alt-F7. * 3 Select the Next button. The Select Installation Target screen opens. img/Installing.png * 4 Select your installation target. See Section 3.2.1, `Selecting the Installation Target'. Each target uses your hard drive in a different way: * Entire drive: The entire hard drive is used for the install. A Linux swap partition of 125 megabytes is created for you. The rest of the drive is used for a Linux partition. * Free space: Only the free space on the hard drive is used. The first available free space on any hard drive that is greater than one gigabyte is used for the install. The Linux partition is as large as possible. The swap partition is 125 megabytes in size. * Custom partitioning: The hard drive is used the way that you decide. img/Installing.png Back up all important information before doing custom partitioning. Otherwise, you may lose information. * 5 Do one of the following: * If you selected Entire disk, choose the hard drive to use. Then press the Next button. img/Installing.png img/Installing.png If an error dialog opens, asking whether you want a new partition table created, select the No button. Otherwise, all partitions on your hard drive are destroyed. Before continuing, use the Install cd to start your system, then used parted from a virtual terminal to create partitions. * If you selected custom partitioning, divide your hard drive the way you want if you selected Custom partitioning. Then press the Next button. See Section 3.2.2, `Creating and Editing Partitions'. img/Installing.png If you are installing over an existing Progeny Debian installation, select Custom install and re-format the partitions. Otherwise, the reinstall may fail. In all cases, the Configure System Startup screen opens. img/Installing.png * 6 Choose the boot loader to use: * Use grub : By default, Progeny uses the Grand Unified Bootloader (grub) . If you previously installed another boot loader, you may need to edit grub to add other operating systems. See Section 13.3.4, `Configuring the Boot Loader'. If you are already using grub, and have Windows on the first partition of the first hard drive, an entry for Windows is automatically created. If you have Windows installed on another partition, you must manually reconfigure grub to start Windows. See Section 13.3.4, `Configuring the Boot Loader'. * Use a different boot loader: Select if you plan to keep using a different boot loader, such as lilo, that is already installed. You may need to edit entries after configuration. grub is loaded on to the root partition for Progeny Debian. * Do Not Install a Boot Loader: No bootloader is used. The standard master boot record on the computer is used. You will only be able to use Progeny Debian until you set up and configure a bootloader. * Create a Startup Floppy: Select this option to create a boot floppy as an alternate means of booting your system. img/Installing.png Do not select both Create a Startup Floppy and Do Not Install a Boot Loader together. If you do, then the floppy will not be bootable. When choosing this option, you should know that: * Booting from a floppy is considerably slower than other choices. * All information on the floppy is over written. Back up any important information before creating the floppy. * The install floppy that comes with the Progeny Debian box set can be used as a recovery disk, but the one created with this option is specific to your system. Select the Next button when you are finished. The Preparing System Screen opens. * 7 Wait while the installer partitions and formats your hard drive, then installs the minimal system. The Preparing System screen displays the progress. img/Installing.png img/Installing.png Progress for formatting the disk shows the percentage of partitions created, not the total amount of hard drive space formatted. Installing a minimal system takes about 10 to 15 minutes. When the minimal system is installed, the Next button is enabled. Press the Next button to complete the minimal system installation. The Finish screen opens. img/Installing.png * 8 Press the Finish button to restart your system so that you can configure it. See Section 3.2.3, `Limitations of the Partitioning Tool'. * 9 Remove the Install cd when instructed to by the install program. img/Installing.png img/Installing.png If necessary, change the boot order of your computer to start it from the hard drive. If you forget, restart your computer and try again. 3.2.1. Selecting the Installation Target ---------------------------------------- Selecting the Installation Target is the first step in configuring the minimal system. Unless you select Custom partitioning, it is also the only step. Each installation target uses your hard drive in a different way. If you are unsure of which to choose, study the advantages and disadvantages of each target to decide which is best for you. Installation Targets for Progeny Debian +-------------------------------------------------------------------+ | Advantages | Disadvantages | |-------------------------------------------------------------------| |Entire Disk | |-------------------------------------------------------------------| | | * You lack full control of the | | | process. | | | * Information is lost unless you | | | back it up. | | | * The default setup may not be what | | * You do not need any | you want, especially if you are an| | special knowledge. | advanced user. | | * It's quick. | * A single large disk can be | | | inconvenient. For example, when | | | fschk is used at bootable, you may| | | need to wait a long time. | | | * You cannot use this option if you | | | have multiple operating systems on| | | the system. | |-------------------------------------------------------------------| |Free Space | |-------------------------------------------------------------------| | * Information is not | * The hard drive must have enough | | destroyed. | continuous space for the necessary| | * Existing partitions are | partitions. | | kept. | * You lack full control of the | | * You do not need any | process. | | special knowledge. | * The partitions created may be | | * It's quick. | smaller than you want or need. | |-------------------------------------------------------------------| |Custom | |-------------------------------------------------------------------| | * You fully control the | | | process. | | | * You decide whether to | * You must understand what you are | | keep existing | doing. | | partitions. | * You could destroy information by | | * You can put major | accident. | | directories such as / | | | home or /usr on | | | different partitions. | | +-------------------------------------------------------------------+ 3.2.2. Creating and Editing Partitions -------------------------------------- img/Installing.png When you select Custom partitioning as your installation target, the Edit Partitions screen opens. Using the Edit Partitions screen, you can create, delete, or edit partitions. Partitions are divisions of your hard drive. You need at least a root partition before you can continue the install. You should also add a swap partition for virtual memory. If you want, you can also create other partitions. For example, many Linux users prefer to have personal files on a separate partition to make back ups easier. Similarly, some put printer queues on a separate partition to limit their size. To create or edit a partition: * 1 Select a partition to edit or a block of free space in which to create a partition from the Edit Partition screen. Your selection is highlighted. img/Installing.png For detailed information about the Edit Partition screen, see Section 3.2.2.1, `Reading the Edit Partition Screen'. * 2 Select the New or Edit button. In both cases, the Partition screen opens. img/Installing.png * 3 Enter the features of the partition. See Section 3.2.2.2, `New and Edit Screen Fields'. img/Installing.png If you are editing an existing partition, you cannot change the type or size. Nor can you make a swap partition bootable. You must have a root partition. In addition, you probably want a swap partition. You may also want to create other partitions. You can change the mount point of an existing partition without losing the information on it. However, if you select the Format? box, you lose all information on an existing partition as soon as you continue the installation. * 4 Select the ok button when you are finished. You return to the Edit Partition screen. If you were creating a partition, the partition is now listed, and the entry for Free Space is either smaller or no longer listed. * 5 Repeat steps 1 to 4 for each partition that you want to create or edit. Remember not to format existing partitions without backing up important information. * 6 Select the Next button to carry out your changes to your hard drives. A confirmation screen appears. img/Installing.png * 7 Select the Yes button to continue with the install. img/Installing.png Changes to your partitions are not made until you select the Next button. If you change your mind about partitions that you create or edit, you can select the Undo All button to return the hard drive you selected to its original state. You can also use the Back button to choose another installation target. 3.2.2.1. Reading the Edit Partition Screen ------------------------------------------ +-------------------------------------------------------------------+ |Column| Information | |------+------------------------------------------------------------| | |The directory from which you access the partition in the | |Mount |Linux directory structure. | |Point | | | |To be readable from Linux, all partitions must have a mount | | |point except the swap partition. | |------+------------------------------------------------------------| | |The Linux name for the hard drive or partition. (***) | |Name | | | |Drives are displayed in a tree structure, with partitions as| | |branches of the tree. | |------+------------------------------------------------------------| |Size |The size of the partition in megabytes or gigabytes. | |------+------------------------------------------------------------| | |The state of the partition. | | | | | |Usually, the only statuses that you see are: | | | | | | * To be mounted: The partition is ready for use, and will | | | be mounted, but is not going to be formatted. | | | * To be formatted: The partition needs to be formatted | |Status| before it is ready for use. | | | * Bootable: The partition is listed as bootable in | | | Windows. If a Windows installation is on the first | | | partition, the installer detects it and sets it as | | | Bootable automatically. | | | | | |[Installing] | | |No changes are carried out until you select the Next button.| |------+------------------------------------------------------------| | |The format or filesystem of the partition. Possible formats | | |are: | |System| | | | * Linux ext2: The native Linux format. | | | * Linux swap: The Linux swap partition. | | | * Free Space: No format. | +-------------------------------------------------------------------+ ***) See Section 2.2.5, `Reading Linux Device Names'. 3.2.2.2. New and Edit Screen Fields ----------------------------------- +-------------------------------------------------------------------+ | Field | Choices | |----------+--------------------------------------------------------| | |Select the Format? box to format the partition All | |File |information is lost. | |System | | |Flags |To avoid difficulties, select this option if you are | | |installing over an existing Progeny Debian install. | |----------+--------------------------------------------------------| | |The format of the partition. Possible formats are: | | | | | | * Linux ext2: The native Linux format. | | | | | | This format is the one most commonly used in Linux. | | | | | | * Linux swap: The Linux swap partition. | | | | | | This format is used for virtual memory, which may | | | improve performance. You can have as many swap | |File | partitions as you have space for. | |System | | |Type |After you install, you can recompile your kernel to add | | |support for other types of filesystems. Linux can | | |support over two dozen filesystems, including fat16 ( | | |msdos in Linux), the format used by dos and early | | |versions of Windows. | | | | | |fat 32 ( vfat in Linux) is supported by default in | | |Progeny Debian. fat 32 is the format used by recent | | |versions of Windows. | | | | | |Several types of journalled filesystems are also | | |available. | |----------+--------------------------------------------------------| | |The directory from which you read the partition. | | | | | |You can select the directory from the drop-down list or | | |enter it in the field. Choices from the drop- down list | | |are: | | | | | | * /: The root or top directory in the tree. | | | * /boot: Files needed to start Linux. | | | * /home: Users' home directories and personal files. | | | * /tmp: Temporary files. | | | * /usr: Common system files for all users. | | | * /usr/share: Common system files for all users, | |Mount | including many basic programs. | |Point | * /var: Variable files, including logs and queues. | | | * /var/spool: Queues for information, such as print | | | jobs. | | | | | |A common place for non-Linux partitions is in the /mnt | | |directory. For convenience, you can call the mount | | |points by their Windows name. For example: /mnt/C. | | | | | |You must have at least a root directory before | | |continuing with the install. In addition, a swap file | | |gives better performance, enabling you to use virtual | | |memory. Putting other directories on different | | |partitions can make backing up or recovering easier. | |----------+--------------------------------------------------------| | |Select the Bootable? box to include the partition among | | |the possible choices when you start the computer. | |Partition | | |Flags |To be bootable, the partition must either have an | | |operating system installed, or else be the one on which | | |you plan to install Progeny Debian. | |----------+--------------------------------------------------------| | |The size of the partition. | |Partition | | |Size |To change the size, either enter the size directly in | | |the field or use the arrow keys to change it. | |----------+--------------------------------------------------------| |Partitions|Choices are primary or logical. | |----------+--------------------------------------------------------| |Units |The units of measurement for the partition size: | | |megabytes (mb) or gigabytes (gb). | +-------------------------------------------------------------------+ 3.2.3. Limitations of the Partitioning Tool ------------------------------------------- Currently, you cannot: * Resize an existing partition. Instead: * a Back up the information on the partition. * b Delete the partition. * c Create a new partition of the size you want. * Change the format of an existing partition. Instead: * a Back up the information on the partition. * b Delete the partition. * c Create a new partition with the format you want. * Mount existing partitions not in ext2 or swap format. Mount these partitions after the install by editing /etc/fstab. See Section 13.3.2.1, `Mounting Drives When the System Starts'. 3.2.4. Working Around Incompatible Partitions --------------------------------------------- Partitions created by some versions of Windows or PartitionMagic are incompatible with the install program. If an error dialog displays, asking if you want to create a new partition table, select No and exit the install program if you want to keep your existing partitions. To work around this problem: * 1 Backup all data on all partitions. * 2 Start your system using the Progeny Debian cd as a boot disk. * 3 When the install program starts, press Alt-Ctrl-2 to start a virtual terminal. * 4 Use the parted utility to create new partitions. See Section 13.3.1, `Partitioning a Hard Drive'. 3.3. Configuring Your System ---------------------------- Configuring your system is the second stage in installing Progeny Debian. It occurs after the minimal system has been installed, and you have restarted your computer. Configuration should take about 10 to 15 minutes, depending on your knowledge and your computer system's speed. If you need more information, select the Help button to the right of an item. Configuration takes you through a series of screens to configure the different aspects of the system. You can choose which aspects to configure. Once installation is complete, you can use the tools you used during the installation by selecting them from the System menu of the gnome Control Center. 3.3.1. Starting the Configuration Stage --------------------------------------- After the minimal system has been installed: * 1 Select the Finish button from the final screen. Your computer reboots. * 2 Remove the Progeny CD and floppy from their drives when the install program instructs you. Your computer restarts. * 3 If necessary, change the boot order on your machine so that it starts from the hard drive. See Section 3.1.3, `Preparing a CD or Floppy Installation'. img/Installing.png If your forget to change the boot order, restart your computer and try again. Restarting your machine a second time does not affect the install process. After a moment, the Insert cd-rom screen opens. * 4 Put the Progeny Debian Install cd into the drive and press the Enter key. After a moment, the System Configuration screen opens. img/Installing.png img/Installing.png If your video card or monitor is not detected automatically, text-based installation screens open. For details on how to use these screens, See Section 3.3.9, `Configuring the Video Card' See Section 3.3.10, `Configuring the Monitor' img/Installing.png If you started the installation program with linux secondstage=text, then the configuration stage is text-based instead of graphical. * 5 Select the Next button to start the configuration stage of the install program. The Select Options to Configure screen opens. img/Installing.png Middle-click anywhere on the screen except the window to open a virtual terminal for troubleshooting. 3.3.2. Selecting Options to Configure ------------------------------------- img/Installing.png * 1 Select the options to configure. By default, all options are configured except X configuration. You must configure Users and Electronic Mail. img/Installing.png If you want a desktop, select X configuration. Most users should configure all options. However, if you decide not to, you can configure from the desktop. * 2 Select the Next button to continue. The Date and Time Screen opens. 3.3.3. Setting the Date And Time -------------------------------- img/Installing.png * 1 Under Time Zone, select your Region from the drop-down list. * 2 Select your Time Zone from the drop-down list. The list varies with the region that you select. * 3 Select the options you want: * The System set to utc box to set the system to Greenwich Mean Time. * The path to your Network Time Server, if you have one. * 4 Under Date and Time, select the month. The arrow on the left move the month backward, while the arrow on the right moves it forward. * 5 Select the year. The arrows on the left move the year backward, while the arrow on the right moves it forward. If you move the month from December to January, the year changes automatically. * 6 Select the day by highlighting it on the calendar. * 7 Enter the hour, minute and seconds. In each field, you can either enter highlight the current entry and over write it or else use the arrow keys to change it. * 8 Set the time to am or pm . If you prefer a 24 hour clock, you can reset the date later using the date command. * 9 Select the Set Date and Time button. Press the Next button when you are done. The User screen opens. 3.3.4. Configuring Users and Passwords -------------------------------------- img/Installing.png User configuration has three steps: * Setting the root password. * Creating a regular user (optional, but recommended). * Setting password strength. Before entering passwords for either the root or new user, you might want to See Section 3.3.8, `Configuring Password Levels'. 3.3.5. Choosing a Secure Password --------------------------------- A secure password is one that is hard to crack. That is, it is: * A mixture of letters, numbers, symbols, and of upper and lower case. * At least six characters long. * Not based on anything associated with you, such as a birthday, a spouse's name, a pet, or a favorite sports team or movie. * Not a common word found in a dictionary. * Different from your passwords on other machines. * Different to your user account. * Not written down anywhere. 3.3.6. Setting the Root Password -------------------------------- The root user has full access to the system. Ordinarily, the root account is used only for administration and configuration. See Chapter 4, `Starting and Stopping the System and Graphical Interface'. * 1 Enter the password for the root user (The user account for the root user is "root"). See Section 3.3.8, `Configuring Password Levels'. * 2 Re-enter the password to confirm it. img/Installing.png Unless the two passwords match, a warning displays before you move to the next screen. 3.3.7. Creating a Regular User Account -------------------------------------- A regular user account has limited access to the system. Even if you know the root password, ordinarily you do most of your work in a regular user account. See Chapter 4, `Starting and Stopping the System and Graphical Interface'. * 1 Leave the check box beside "Create new user" selected. Press the Next button. In almost every case, you want to create at least one regular user account. After installation, you can create other user accounts as necessary. * 2 Enter a user name for the account. Typically, the user name is some combination of your first and last name, such as jmacdonald. * 3 Enter the full name for the account. The full name may or may not be identical to the user name. * 4 Enter a password for the account. See Section 3.3.8, `Configuring Password Levels'. * 5 Re-enter the password to confirm it. img/Installing.png Unless the two passwords match, you receive a warning before moving to the next screen. 3.3.8. Configuring Password Levels ---------------------------------- * 1 Select one of the following: * Maximum Strength: md 5 passwords are enabled. The default is to enable them. md 5 passwords add security to your system. They also allow passwords longer than 8 characters long. * Compatible with unix -like Systems: md 5 passwords are not enabled. md 5 passwords may be incompatible with older systems, or ones on a network that using a Network Information System (nis) Unless you have compatibility problems, accept the default of Maximum Strength. * 2 Leave the appropriate box checked to enable shadow passwords. With shadow passwords enabled, passwords are encrypted and stored in a file readable only by the root user. Shadow passwords are a standard security measure. However, they sometimes cause problems on networks that use a Network Information System (nis). Unless you have compatibility problems, accept the default and enable shadow passwords. * 3 Select the Next button to continue. If you chose to configure the graphical display, the Video Card screen opens. If you did not choose to configure the graphical display, the Electronic Mail screen opens. See Section 3.3.14, `Configuring Electronic Mail'. 3.3.9. Configuring the Video Card --------------------------------- img/Installing.png Information about your video card is detected automatically by the system. However, you can change this information if necessary. img/Installing.png Choosing settings that are not supported by your video card could damage it or the monitor. * 1 Enter a name or identifier for your video card configuration. After the install, you can see this name in the XFree86Config file. * 2 If necessary, select the X server package (graphic display driver) to use. In most cases, you can use the one suggested by the install program. If you have trouble choosing an X server package that works, try xserver-xfree86 or xserver-vga. * 3 If necessary, select the manufacturer and driver to use. In most cases, you can select the one suggested by the install program. If you have trouble configuring the video card, use one of the generic settings at the bottom of the list. Generic vga or Generic vesa should work with most cards. * 4 If necessary, enter the amount of video memory for the card. In most cases, you can leave it blank. img/Installing.png This setting is provided for older cards and for trouble shooting. Under most circumstances, Progeny Debian automatically detects the video memory available. * 5 Select the Next button. The Monitor configuration screen displays. 3.3.10. Configuring the Monitor ------------------------------- img/Installing.png Information about your monitor is automatically detected. However, you can change these settings if necessary. img/Installing.png Choosing settings that are not supported by your monitor could damage it or the video card. Consult the monitor documentation for the correct settings. * 1 Select a name for your monitor setting. You can find this name after the install in the XFree86Config file. * 2 Select the Simple, Medium, or Expert button to choose the means of configuring your monitor: * Simple: Select the monitor size from the drop-down list. Then select the ok button. * Medium: Select the resolution that you want to use from the drop down list. Then select the ok button. Your choice should not be greater than the highest resolution supported by both your monitor and your video card. * Expert: Enter the Horizontal Sync Range and Vertical Refresh Rate for your monitor. If you do not know these statistics, 30-130 for the Horizontal Sync and 60-160 for the Vertical Refresh should work for most monitors. img/Installing.png Simple and Medium modes or the suggested Horizontal Sync Range and Vertical Refresh Rate may not always give the best settings for your monitor. If necessary, you can change the settings after the install. * 3 Select the Next button to continue. The Desktop screen opens. 3.3.11. Setting the Desktop Graphic Display ------------------------------------------- img/Installing.png From the Desktop screen, you can set the resolution and color depth for the graphical display on your system. Settings for the graphic display depend on the capabilities of your video card and monitor. If you did not collect this information before installing, See Section 2.1.2, `Gathering Hardware Information'. img/Installing.png Choosing settings that are not supported by both your video card and monitor could damage either piece of hardware. * 1 Select the resolutions to support. By default, your desktop starts in the highest resolution supported, but you can change the resolution: * Temporarily, by pressing Alt-Ctrl-keypad+ to cycle through the available resolutions. * Permanently, by editing the XFree86Config file. * 2 From the drop-down list, select the color depth, or the number of colors that your desktop will use. Fewer colors mean a less realistic display of graphics, but a faster redraw time. However, if you have a video card with more than 4 megabytes of memory, for most purposes you can use the highest available color depth without any trouble. img/Installing.png Choosing settings that are not supported by both your video card and monitor could damage either piece of hardware. * 3 Select the Next button to continue. The Pointer screen opens. 3.3.12. Configuring the Pointer ------------------------------- img/Installing.png The pointer is usually a mouse. However, it can also be a trackball, a palette, or any other device that replaces a mouse. If you have been using the mouse during the install, you can accept the settings listed. However, if your mouse is not working, you adjust the settings. * 1 Select the port to use. In most cases, it is /dev/ttyS0 (com1) or /dev/ttyS1 (com2) for a serial mouse, or /dev/psaux for a ps2 mouse. * 2 Select the protocol or driver to use. If you are using a serial mouse, then select the name of the manufacturer from the drop-down list. Use ps2 for a generic ps2 mouse. If you cannot find a protocol for your mouse or pointing device, select Auto to have it detected automatically. You can also try different protocols to see if your mouse can use them. * 3 Select Emulate 3-button mouse if you have a 2 button one. With three button emulation, pressing both buttons on the pointer is the same as pressing the middle button on a three-button pointer. Linux is designed for use with a three button mouse, so most users of two-button mouses should choose this option. * 4 Select Enable scroll-wheel event to use a scroll wheel. If your mouse has a scroll wheel, you probably want this option. * 5 Select the Next button. The X Server screen opens. 3.3.13. Setting Advanced Graphic Display Options ------------------------------------------------ img/Installing.png From the X Server screen, you can set advanced options for your graphical display. If you are unsure what these settings mean, use the defaults. * 1 Select who can use a graphic display from the drop-down list: * Root Only: Only the root user. * Anybody: All users, whether local or remote. * Console Users Only: Users can only start the graphical display when working from the local keyboard and monitor. * 2 Select the process priority. This setting determines what share of your system's resources are given to the graphic display at any given time. img/Installing.png Changing the priority for your graphical display can seriously affect system performance. Do not change this setting from -10 unless you are sure what you are doing. * 3 Select the Next button. The Electronic Mail Configuration screen opens. 3.3.14. Configuring Electronic Mail ----------------------------------- img/Installing.png Unless set to local only, e-mail requires a network or dialup connection. You can configure a network during the install process or after. A dialup connection is not part of the install program, but you can set up one after the install process. If you need help with the choices on this screen, consult your system administrator or Internet service provider. * 1 Select the General mail setup. Choices are: * Internet Site: The same machine that originates the mail sends it and receives any incoming mail. * Internet with smarthost: A dedicated server delivers mail. This setting is often used when you are connecting to an Internet service provider. * Satellite system: No mail is delivered locally. Mail is delivered only through the smarthost. * Local only: E-mail can only be sent and received by users on the present machine. * No configuration: No e-mail is configured. * 2 Enter the outgoing mail hostname. Consult your system administrator or isp provider for the hostname needed. * 3 Enter the incoming mail hostname. Consult your system administrator or isp provider for the hostname needed. * 4 Enter the smtp relay host. Consult your system administrator or isp provider for the hostname needed. * 5 Check the appropriate box if you want a world-writable mail drop. A world-writable mail drop allows users to receive mail directly, instead of only through your network's mail system. It is faster, but can be a security risk. If in doubt, do not select world writable mail drop. * 6 Check the appropriate box if you want to use "procmail" for local mail delivery. Procmail lets you filter incoming messages and deliver them to folders other than your Inbox. You can use other tools to filter, so, if in doubt, do not use procmail. See Section 13.4.6.1, `Directing E-Mail Using procmail'. * 7 Select the Next button. The Printer screen opens. 3.3.15. Configuring Printers ---------------------------- img/Installing.png In this screen, you can configure printers for your system. * 1 Select the Printer definition to create or edit. If you have not created a Printer definition already, you can only select New. * 2 Enter a short name and a long name for the printer definition. These names can help you identify the printer. The short name appears on the printer spool, that stores files before they are sent to the printer, and in configuration files. The long name is used mainly to help you identify the printer. At some companies, printers are named with a theme, such as animals or famous people. However, names based on some combination of the manufacturer, model, and or path name of the printer may be easier to work with. * 3 Select the location of the printer: * Local: the printer is attached to the machine on which you are installing. You need to enter the device to which the local printer is attached. Usually, the device will be the first parallel port, /dev/lp0. * Remote: The printer is on a network to which your machine is attached. You need to enter: * The hostname: The machine to which the printer is attached. * The printer name: The name of the printer on the system to which it is attached. If you do not have this information, consult your system administrator. * 4 Select the printer driver from the list. Printers are listed by manufacturer, then by model. If your printer is not listed, it may be able to emulate one that is. Try Hewlett-Packard Laserjet drivers for both postscript and non-postscript printers. * 5 Select the Apply button to enter the printer definition. * 6 Add any other printer definitions by repeating this process. Notice that the definition you just entered is now listed in the drop-down list of printers. * 7 Select the default printer. If you entered only one printer definition in the previous screen, then it is already listed as default. * 8 Select the default paper size. If you are in North America, you can use the default Letter. If not, you probably want A4. * 9 Select the Next button. The Network screen displays. 3.3.16. Configuring the Network ------------------------------- img/Installing.png Network configuration is used not only for a network, but also for a cable or dsl internet connection. If you are an end-user, ask your system administrator or internet provider for the settings you need. * 1 Enter a hostname for your machine. * 2 Select one of the following: * No network configuration: Continue the install without setting up a network. If you want to add network support later, you can do so after the install. * Configure with dhcp: Network information is assigned automatically by the dhcp server. The dhcp hostname is assigned by an isp to your machine. This setting is optional. In most cases, it can be ignored. * Use manual settings: Enter the settings needed for the network: * Domain name: The name of the machine on which you are installing Progeny Debian. * ip address: The address of the machine on which you are installing Progeny Debian. * Netmask: The bitmask that defines the part of the system's network address that identifies the network. * Gateway: The address of the machine that is the default route to machines not on the network. * Name Servers: The address of the system that provide hostname lookup services to your system. img/Installing.png Check with your system administrator or Internet Server Production for the entries that you need. * 3 If your network connection is through a pcmcia or Cardbus network card, select the box beside Main network device is removable. * 4 Select the Next button. The Finish screen opens. img/Installing.png * 5 Select the Finish button to complete the configuration stage of installation. A bar graph displays the progress while the system is configured. img/Installing.png When your choices are entered, configuration is complete. The Available Software screen opens. 3.4. Selecting Software to Install ---------------------------------- [tasksel does similar thing] img/Installing.png Selecting software is the fourth stage of a Progeny Debian installation. Software is arranged in package sets. You can double-click on a package set to select individual packages. Progeny Debian pre-selects the following package sets: * Character-mode mail and news clients. * gnome applications. * gnome desktop system. * Mozilla * Netscape * X Window System img/Installing.png De-selecting the pre-selected packages then selecting Apply could remove parts of the operating system that you want to keep. Instead, use the Revert button and select packages individually. The time taken to install other software depends on your choices, and the speed of your machine. However, in most cases, choosing and selecting the software should take 15 to 20 minutes. * 1 Decide what package sets to install. To gather information to help you decide: * Select a package set: A brief description displays in the bottom pane. * Double-click on a package set: A window displays the packages that make up the set. If you have any familiarity with Linux, you can decide which packages to select. * Refer to the table at the end of this section. This table helps you decide whether you need a particular package set. * 2 Select the software to install. When a package set is selected, the box beside it has a check mark and its name displays in red. img/Installing.png Some packages are already selected. Do not de-select them unless you are sure what you are doing. The lower right corner of the window shows the status of the package set and how much space all your choices and the base system need. The total space used should be greater than the total space of all your Linux partitions (not including the swap file). Consult the table at the end of this section for help in selecting software. img/Installing.png The Extras cd contains other software that you can install from the desktop, including the kde desktop. * 3 Select the Apply button to start installing the packages. The Package Manager Output screen displays messages about the installation. img/Installing.png If you de-select default packages, use the Revert button instead of the Apply button. Otherwise, you could remove essential parts of the operating system. If screens may appear to ask for clarification during installation, consult the Help screens. In most cases, you can use the suggested settings. If the pane showing the progress of the install stops at a Y/N question, in most cases you can safely enter y (for "yes"). When the install is finished, the graphic display starts and a log in screen opens. * 4 Do one of the following: * Log in as root to configure other parts of the system or to install software on the Extras cd . or * Log in with your regular user account to start using your Progeny Debian system. or * Reboot to make sure that any initial services that are needed by the choices you have made during the install can start. img/Installing.png Although you can explore your Progeny Debian System immediately, plan on rebooting the system soon after you finish the installation process, just to make sure that everything is working properly. Software Package Sets +-------------------------------------------------------------------+ | Package | CD | Use | |----------------+--------+-----------------------------------------| |Apache web |Install |Sets up the system as a web server. | |server | | | |----------------+--------+-----------------------------------------| |Bind Domain Name|Install |Makes the system a Domain Name Server. | |Server | | | |----------------+--------+-----------------------------------------| |Character-mode | |Command line mail and news clients. | |mail and news |Install | | |client | |A default selection. | |----------------+--------+-----------------------------------------| |dhcp server |Install |Makes the system a dhcp server. | |----------------+--------+-----------------------------------------| |Debian package | | | |maintenance |Install |The creation of Debian (.deb) packages. | |tools | | | |----------------+--------+-----------------------------------------| |Document | |Document tools, including TeX, LaTex, | |preparation |Install |sgml and xml. | |tools. | | | |----------------+--------+-----------------------------------------| |ftp server |Install |Makes the system an ftp server. | |----------------+--------+-----------------------------------------| | | |Productivity applications, such as a word| |gnome |Install |processor and spreadsheet. | |applications | | | | | |A default selection. | |----------------+--------+-----------------------------------------| |gnome desktop | |The default Progeny Debian desktop. | |system |Install | | | | |A default selection. | |----------------+--------+-----------------------------------------| |gnu emacs |Install |The gnu emacs editor. | |----------------+--------+-----------------------------------------| |Games |Extras |A collection of games. | |----------------+--------+-----------------------------------------| | | |Productivity applications for the kde | |kde Office |Extras |desktop, such as a word processor and a | | | |spreadsheet. | |----------------+--------+-----------------------------------------| |kde Desktop |Extras |An alternate desktop. | |----------------+--------+-----------------------------------------| |kde Desktop | | | |system |Extras |Files needed to develop programs for the | |(Development | |kde desktop. | |files) | | | |----------------+--------+-----------------------------------------| |Linux 2.2 smp |Install |Linux kernel compiled for multi-processor| | | |support. | |----------------+--------+-----------------------------------------| |Linux 2.4 kernel|Install |Linux 2.4 kernel. | |(experimental) | | | |----------------+--------+-----------------------------------------| |Linux 2.4 kernel| | | |with smp support|Install |Linux 2.4 kernel compile for | | | |multi-processor support. | |(experimental) | | | |----------------+--------+-----------------------------------------| |Miscellaneous | |Print filters for various formats, | |print filters |Install |including TeX, dvi , and assorted | | | |graphics formats. | |----------------+--------+-----------------------------------------| | | |Open source web browser, e-mail client, | |Mozilla |Install |and news browser. | | | | | | | |A default selection. | |----------------+--------+-----------------------------------------| |nfs server |Install |nfs/nis server. | |----------------+--------+-----------------------------------------| | | |Non-free web browser, e-mail client, and | |Netscape |Install |news browser. | |Communicator | | | | | |A default selection. | |----------------+--------+-----------------------------------------| |Open ldap client|Install |Client support for using ldap servers. | |software | | | |----------------+--------+-----------------------------------------| |Open ldap server|Install |Server and support files for setting up | |software | |an ldap server. | |----------------+--------+-----------------------------------------| |Samba ( smb | |Suite of programs that allows Linux | |protocol) server|Install |systems to share files and printers with | | | |Windows systems over a network. | |----------------+--------+-----------------------------------------| |Scripting |Install |Scripting tools, such as tk/tcl. | |languages | | | |----------------+--------+-----------------------------------------| |Software | |A complete set of tools for developing | |development |Install |software. | |tools | | | |----------------+--------+-----------------------------------------| |Squid internet |Install |Proxy server for web and ftp clients | |object cache | | | |----------------+--------+-----------------------------------------| |Window managers |Install,|Alternative window managers. | | |Extras | | |----------------+--------+-----------------------------------------| | | |Provides graphical display. | |X Window System |Install | | | | |A default selection. | |----------------+--------+-----------------------------------------| |Xemacs |Install |An enhanced version of emacs designed for| | | |desktop use. | |----------------+--------+-----------------------------------------| |Vim |Install |An enhanced version of the unix text | | | |editor vi . | +-------------------------------------------------------------------+ 3.5. Installing Software From the Extras CD ------------------------------------------- Progeny Debian includes an Extras cd with additional software, including the kde desktop, a popular choice for a graphical display. To install software from the Extras cd: * 1 Log in to the system as the root user. * 2 Open a command line by selecting the icon on the top panel. img/Installing.png * 3 At the prompt, type: apt-cdrom add. Then follow the on-screen instructions, placing the Extras cd into the drive to add its package sets to the list on your system. * 4 From the menu in the top left corner of the screen, select Programs > System > Add/Remove Software. img/Installing.png The Configure Software screen opens. The screen resembles the one that you used to add software during the install, except that now it includes the contents of the Extras cd as well. * 5 Select the package sets to install. * 6 If you choose, double-click on a package set to view or select the individual packages in the set. * 7 Select the Apply button to install the software. The installation of your Progeny Debian system is now complete. If you need to fine-tune the system configuration, use the System tools in the gnome Control Center. They are similar to the screens that you use during installation. If you want to add software or upgrade the system, use the apt-get utility or select Programs > System > Add/Remove Software from the main menu. Re-installing over an existing Progeny Debian system is often difficult. If you do re-install, backup all important information and reformat the partitions you are using. ------------------------------------------------------------------------------- 4. Starting and Stopping the System and Graphical Interface ----------------------------------------------------------- Like any version of Linux, Debian has strict procedures for starting and stopping a system. These procedures are part of the operating system's security features. They also prevent accidental damage to the system. To start your computer, you must choose the operating system to load from the boot manager, and then log in to a user account. To stop your computer, you must log out of the user account, then halt or reboot the system. This chapter explains: * Working with User Accounts. * Choosing an operating system from the boot manager. * Logging in to a user account with a desktop or a command line. * Shutting down the system. * Starting and closing the graphical interface. * Changing user accounts after logging in. 4.1. Working With User Accounts ------------------------------- Linux is designed for multiple users. To use the system, you must log in with a user account. To use an account, you must know both the user name and the password. User accounts are organized into groups of accounts with similar access to the system. The software and the hardware you can use depends on the user account that you are using and the groups to which it belongs. For more information, When you install Debian, create at least two user accounts: a regular user account for everyday computing, and a root account for system administration. Normally, you also want one regular user account for each person who uses the system. 4.1.1. Understanding Regular User Accounts ------------------------------------------ A regular account is used for everyday computing. Each account has a home directory. By default, users' home directories are beneath the / home directory. This home directory is usually the same as the user name for the account. When you are logged in with an account, you usually can: * Read, write, and use files and directories in the account's home directory. * Read, write, and use a