
- •About the Author
- •Credits
- •How This Book Is Organized
- •Part I: Linux Basics
- •Part II: Installation
- •Part III: Configuration
- •Part IV: Administration
- •Part V: Maintaining the Linux System
- •How Each Chapter Is Structured
- •How to Use This Book
- •Conventions Used in This Book
- •What is Linux?
- •The origin of UNIX
- •Who started Linux?
- •Understanding Open Source
- •Understanding Closed Source
- •Understanding Artistic License
- •Is Freeware really free?
- •Is Shareware never free?
- •A comparison and contrast of licensing methods
- •The Growth of Linux
- •Linux on a Personal Computer
- •Graphical installation
- •Hardware detection
- •Graphical user interface
- •Linux limitations on the PC
- •Linux succeeds on the PC
- •Linux on workstations
- •Linux on servers
- •Summary
- •Assessment Questions
- •Scenarios
- •Answers to Chapter Questions
- •Assessment Questions
- •Scenarios
- •Linux Kernel
- •Kernel versions
- •Kernel availability
- •Linux Distributions
- •Beehive
- •BlueCat
- •Caldera OpenLinux
- •Debian
- •Corel
- •DragonLinux
- •Elfstone
- •Gentoo
- •Hard Hat Linux
- •KRUD
- •LinuxPPC
- •Mandrake
- •Phat Linux
- •Slackware
- •StormLinux
- •SuSE
- •TurboLinux
- •Yellow Dog Linux
- •Mini and Specialty Distributions
- •Astaro
- •KYZO
- •FlightLinux
- •NetMAX
- •Packages and Packaging Solutions
- •Red Hat Package Manager
- •Debian Package Management System
- •Tarball
- •Linux Resources
- •Summary
- •Assessment Questions
- •Scenarios
- •Lab Exercises
- •Answers to Chapter Questions
- •Assessment Questions
- •Scenarios
- •Linux In the Real World
- •Word Processing
- •Spreadsheets and databases
- •Web browsing
- •File transfer
- •More, more, and more applications
- •The Server and DNS
- •A Linux Web server
- •Linux e-mail server
- •File servers
- •Proxy, news, and search servers
- •FTP servers
- •Firewalls
- •Determining Linux Roles and Services
- •Comparing Linux with other operating systems
- •Hardware compatibility
- •Summary
- •Assessment Questions
- •Scenarios
- •Answers to Chapter Questions
- •Assessment Questions
- •Scenarios
- •Installing Linux
- •Final Preparations for Installation
- •Verification
- •Package selection
- •Final hardware verification
- •Pre-installation partitioning planning
- •Installing Linux
- •Text or GUI installation
- •Basic setup of Linux
- •Selecting the machine type
- •Partitioning the hard disk drive
- •Installing a boot manager
- •Creating the Boot Diskette
- •Networking
- •Additional installation information
- •Accounts and passwords
- •Additional packages to install
- •GUI installation
- •Obtaining video card information
- •Configuring the X windows system
- •Selecting the windows manager or desktop environment
- •Summary
- •Assessment Questions
- •Scenarios
- •Lab Exercises
- •Answers to Chapter Questions
- •Chapter Pre-test
- •Answers to Assessment Questions
- •Scenarios
- •Alternative to the GUI Installation
- •Command Line installation
- •Install the Linux system
- •Network installations of Linux
- •Review of a Linux Installation
- •Installation media
- •Initial selections
- •Installation type or class
- •Disk partitioning and formatting
- •Installing LILO
- •Network configuration
- •User accounts
- •Authentication methods
- •Package selection and installation
- •A Dual-Boot Installation of Linux
- •Linux with Microsoft Windows
- •Linux with Microsoft Windows NT and 2000
- •Linux and Solaris
- •Linux and other operating systems
- •Installing Additional Software with gzip and tar
- •Installing Additional Software with RPM
- •Removing software with RPM
- •Upgrading software with RPM
- •Query the RPM software
- •Verify the RPM software
- •Verify the package files
- •Upgrading the Kernel
- •Upgrading a Linux Kernel
- •System Log Files
- •The Final Test of the Installation
- •Summary
- •Assessment Questions
- •Scenarios
- •Lab Exercises
- •Answers to Chapter Questions
- •Chapter Pre-test
- •Assessment Questions
- •Scenarios
- •What is the X Window System?
- •The X Window System
- •X Client and Server communications
- •X Window Manager
- •Configuring X Window Systems
- •Custom X Window System Programs
- •Manual Configuration of the X Window System
- •Documentation
- •Summary
- •Assessment Questions
- •Scenarios
- •Lab Exercises
- •Answers to Chapter Questions
- •Chapter Pre-test
- •Assessment Questions
- •Scenarios
- •Basic Network Services
- •TCP/IP Protocol Suite
- •Connection protocols needed
- •Other network protocols
- •Configuring Basic Network Services
- •Host name
- •IP addressing
- •DHCP
- •Netmask
- •Hardware resources
- •Routing and gateways
- •PPP, SLIP and PLIP connections
- •Server Tasks with
- •IP aliases for virtual hosts
- •Apache Web Server
- •Samba File Server
- •Home directories
- •Disk shares
- •Configuring Client Services
- •SMB/CIFS
- •NIS client configuration
- •NFS client configuration
- •Configuring Internet Services
- •Web browser
- •POP and SMTP
- •TFTP
- •SNMP
- •Remote Access
- •Rlogin
- •Telnet
- •OpenSSH
- •Documentation
- •Summary
- •Assessment Questions
- •Scenarios
- •Lab Exercises
- •Answers to Chapter Questions
- •Chapter Pre-test
- •Assessment Questions
- •Scenarios
- •Adding Hardware
- •Memory
- •Swap
- •Adding a hard drive
- •Video and monitor
- •Printers
- •Configuration files
- •Setting environment variables
- •BASH
- •Documentation
- •Summary
- •Assessment Questions
- •Scenarios
- •Lab Exercises
- •Answers to Chapter Questions
- •Chapter Pre-test
- •Assessment Questions
- •Scenarios
- •Basic User and Group Administration
- •What are users and groups?
- •Creating users
- •Change user information
- •Deleting users
- •Creating groups
- •Getting Around Linux
- •Navigating Linux
- •Common file and directory commands
- •Setting File and Directory Permissions
- •Mounting and Managing File Systems
- •Mount
- •Umount
- •Mounted file systems
- •Summary
- •Assessment Questions
- •Scenarios
- •Lab Exercises
- •Answers to Chapter Questions
- •Chapter Pre-test
- •Assessment Questions
- •Scenarios
- •Multi-User Environment
- •The creation of Virtual Consoles
- •The Linux Terminal Server Project
- •Configurations for remote systems
- •Monitoring remote connections
- •Common Shell Commands
- •Basic shell scripts
- •Caution using root access
- •Navigating the GUI interface
- •Summary
- •Assessment Questions
- •Scenarios
- •Lab Exercises
- •Answers to Chapter Questions
- •Chapter Pre-test
- •Assessment Questions
- •Scenarios
- •Linux Runlevels
- •init
- •Shutting down Linux
- •Managing Linux Services
- •Configuring Linux Printing
- •lpd daemon
- •/etc/printcap
- •Printing management
- •Using the vi Editor
- •vi operation modes
- •Editing text files
- •Using the
- •Summary
- •Assessment Questions
- •Scenarios
- •Lab Exercises
- •Answers to Chapter Questions
- •Chapter Pre-test
- •Assessment Questions
- •Scenarios
- •Disk and File System Management
- •Repairing Partitions
- •System Automation and Scheduling
- •cron
- •Core Dumps
- •Analyzing core dumps
- •GNU Debugger
- •Managing Networking Interfaces
- •Installing System Packages and Patches
- •Compressed archive
- •Debian Package Installer
- •Slackware Package Installation
- •Summary
- •Assessment Questions
- •Scenarios
- •Lab Exercises
- •Answers to Chapter Questions
- •Chapter Pre-test
- •Assessment Questions
- •Scenarios
- •Linux Processes
- •Core services versus non-critical services
- •Process administration
- •Process control
- •Monitoring Log Files
- •Maintaining Documentation
- •Summary
- •Assessment Questions
- •Scenarios
- •Lab Exercises
- •Answers to Chapter Questions
- •Chapter Pre-test
- •Assessment Questions
- •Scenarios
- •Linux Security
- •Securing the Environment
- •Location
- •Environment
- •System Security
- •System/user files
- •Permissions
- •Log auditing
- •Backups
- •Linux Security Best Practices
- •Network security
- •Firewall
- •System security
- •Securing a Web server
- •Securing an FTP server
- •FTP program version
- •FTP configuration files
- •Process security
- •Summary
- •Assessment Questions
- •Scenarios
- •Lab Exercises
- •Answers to Chapter Questions
- •Chapter Pre-test
- •Assessment Questions
- •Scenarios
- •Disaster Recovery Planning
- •Types of data
- •Frequency and Scheduling
- •Storage and media types
- •Recovering data
- •Offsite storage
- •Linux Backup Tools and Commands
- •Third party tools
- •Tape devices
- •Summary
- •Assessment Questions
- •Scenarios
- •Lab Exercises
- •Answers to Chapter Questions
- •Chapter Pre-test
- •Assessment Questions
- •Scenarios
- •Identifying the Problem
- •Methodology and Best Practices
- •Troubleshooting Resources
- •Documentation resources
- •Internet resources
- •System Log Files
- •Tools for Log Files
- •Output to another file
- •Locating files
- •Process Configuration and Management
- •Stopping, Starting, and Restarting Processes
- •Configuration Files
- •Summary
- •Assessment Questions
- •Scenarios
- •Lab Exercises
- •Answers to Chapter Questions
- •Chapter Pre-test
- •Assessment Questions
- •Scenarios
- •Examining the Startup Process
- •Boot process steps
- •Analyzing Boot Process Errors
- •Common Boot Problems
- •Using System Status Tools
- •File System Check
- •System Resource Commands
- •Using the System Boot Disk
- •Types of boot disks
- •Creating a boot disk
- •Creating a rescue/utility disk
- •Summary
- •Assessment Questions
- •Scenarios
- •Lab Exercises
- •Answers to Chapter Questions
- •Chapter Pre-test
- •Assessment Questions
- •Scenarios
- •Common User Problems
- •Login problems
- •File and directory permissions
- •Printing problems
- •Mail problems
- •Software Package Problems
- •Package dependencies
- •Software and version conflicts
- •Backup and Restore Errors
- •Backup hardware
- •Backup software
- •File restore errors
- •Application Failures
- •Log files
- •Process and daemon errors
- •Web server errors
- •Telnet
- •Mail services
- •Basic Networking Troubleshooting
- •Networking connectivity
- •Network hardware problems
- •Summary
- •Assessment Questions
- •Scenarios
- •Lab Exercises
- •Answers to Chapter Questions
- •Chapter Pre-test
- •Assessment Questions
- •Scenarios
- •Mainboard Components
- •BIOS
- •System memory
- •System Resources
- •I/O addresses
- •Direct memory access
- •Laptop Considerations
- •PCMCIA
- •Linux Peripheral Configuration
- •Installing and Configuring SCSI Devices
- •SCSI definitions
- •SCSI technologies
- •SCSI cabling and termination
- •SCSI device configuration
- •Linux SCSI devices
- •ATA/IDE Devices
- •IDE drive configuration
- •Linux ATA/IDE Drive configuration
- •Linux Support for Other Devices
- •IEEE 1394 (Firewire)
- •Summary
- •Assessment Questions
- •Scenarios
- •Answers to Chapter Questions
- •Chapter Pre-test
- •Assessment Questions
- •Scenarios
- •What’s on the CD-ROM
- •System Requirements
- •Using the CD with Microsoft Windows
- •Using the CD with Linux
- •Microsoft Windows applications
- •Linux applications
- •Troubleshooting
- •Sample Exam
- •Exam Questions
- •Exam Answers
- •Taking a CompTIA Exam
- •How to register for an exam
- •What to expect at the testing center
- •Your exam results
- •If you don’t receive a passing score
- •About the Linux + Exam
- •Preparing for the Linux+ Exam
- •For More Information
- •Preamble
- •No Warranty
- •Glossary
- •Index
Какую работу нужно написать?

Chapter 3 Pre-Installation Planning |
55 |
In this chapter, you will learn about the roles that Linux can fulfill in an enterprise environment. I will discuss many of the services that Linux can provide, and these services will show you that Linux is comparable to all other operating
systems currently in use. The compatibility of Linux with most of today’s hardware will demonstrate the flexibility that it provides. This flexibility enables Linux to provide services, such as file storage, e-mail connectivity, and Internet services, and to interoperate with other file systems. In addition we’ll look at various Linux packages and distributions that provide enterprise services and identify where these options can be obtained. Finally, we’ll round out the chapter with a discussion on the needs of the customer and how the customer can provide the resources to use Linux effectively in the enterprise environment.
Linux In the Real World
1.3 Determine what software and services should be installed (e.g., client applications for workstation, server services for desired task), check requirements and validate that it is supported by Linux
1.6 Identify the function of different Linux services (e.g., Apache, Squid, SAMBA, Sendmail, ipchains, BIND)
The great benefit of Linux is that it can be used from the desktop to the server in the enterprise environment. How is this possible? Unlike other operating systems, Linux supports virtually every service that users may need. For example, an administrator can install Linux on a PC and use it to perform word-processing tasks, surf the Web, dial up with a modem, DSL, or cable — or connect via a network interface card (NIC), share files, and even play games. Playing games may not be the goal in an enterprise environment, but Linux is capable of supporting Web servers, files servers, database servers, and many more server-based applications. Linux can provide these services through the packages that are included with a distribution or through a download of these software packages to a Linux PC or server. Because Linux works on most platforms, it has a wide range of uses in the enterprise environment.
Setting up a desktop user is now as easy with Linux as it is with most other operating systems. The end user can now use a PC to perform daily tasks with Linux. Included with most Linux distributions are fully functional word processors, e-mail programs, spreadsheets, database programs, graphic views and manipulators, Web browsers, file transfer, printing support, presentation software, and virtually every other type of program supported by rival desktop operating systems. The availability of these features allows the enterprise user to create documents, chart profits or production, read and send e-mail, transfer files, create and view Web pages, and many other tasks that they need to perform. All of these abilities make Linux a capable operating system for the desktop enterprise environment.

56 |
Part II Installation |
Word Processing
A PC with a Microsoft operating system may use Microsoft Word or Corel WordPerfect for word-processing tasks, whereas a Linux-based system can use Corel WordPerfect, Kword, AbiWord, StarOffice Writer — or one of many other Linux-based word processors. Using Linux instead of a Microsoft or Apple operating system can present problems with word processing because Microsoft doesn’t have a version of MS Word for Linux. This can cause some issues with compatibility of file formats, but because all these word processors can save in a format compatible with other word processors, compatibility isn’t as difficult an issue as it may once have been. The ability to use a compatible word processor allows Linux to be easily integrated into an enterprise word processing solution.
Spreadsheets and databases
Although word processing may be one of the most needed tools in an enterprise environment, spreadsheets and databases may have equal or even greater importance in some workplaces. With Linux, users can create high quality spreadsheets and databases files with programs such as Corel Quattro, StarOffice Base, KSpread, or one of many other available programs. These programs are highly useable and capable of creating a spreadsheet or database in any office environment. With these applications, Linux is able to provide the required compatibility with programs that are used in other operating systems. Programs such as Corel Quattro, StarOffice Base, and KSpread can easily create a spreadsheet or database that is compatible in format with other commercial applications. Such compatibility is vital because interoperations with other versions of databases and spreadsheets make Linux a viable selection in the enterprise environment.
Web browsing
Although word processing, spreadsheets, and databases are very important in today’s enterprise environment, Web browsing may have as much significance in performing and staying informed in the business world. Linux can be used to support Web browsing with several programs, such as Netscape, Opera, and Konqueror. Netscape, Opera, and Konqueror support most Web sites, and users find the browser interfaces easy to use. Therefore, Linux enables users to browse the Internet as easily as they can with any other operating system — but some problems can occur. One of the problems that can arise when using Linux to browse the Web is non-compatibility with some Web sites that use certain proprietary code. The reality of the current Web marketplace is that Microsoft products have become widely used in many areas. Because Web designers have no formal standard that must be adhered to when building a Web page, it is possible, and increasingly common, for designers to leverage browser-specific features built into Microsoft’s Internet Explorer. Because Microsoft does not support a Linux version of Internet Explorer, some Web pages may not display as intended on the popular Linux

Chapter 3 Pre-Installation Planning |
57 |
browser applications. If the browser doesn’t understand the information being sent from the Web page, it may fail to display the page or cause part or all of a page to be corrupted. As the popularity of Linux — and Linux Web browsers in particular — increases, it will hopefully encourage Web developers to write code that adheres to industry standards, rather than create proprietary solutions that only work on certain browsers.
Because Netscape also supports the standards for Internet mail, its mail component — which uses POP3 and SMTP — can be used to read and send e-mail. Many other e-mail clients are available, such as Kmail and StarOffice Mail. Although these mail programs may easily work for most users, some features are not supported by these mail programs. Groupware programs, such as Microsoft’s Exchange, provide non-standard applications for scheduling and other grouporientated tasks. Users and organizations that require these types of “all-in-one” messaging systems may find that Linux is not the right choice for them. However, Linux’s ability to support standardized e-mail makes the task of setting up, configuring, and maintaining a pure, standards-based e-mail server easier for the users and support personnel. These types of e-mail programs are well documented and often have guided setup programs, which create a reliable and comfortable environment for the user and the enterprise.
File transfer
The ability to download files is also included in Linux via TCP/IP standards, such as FTP (File Transport Protocol) and TFTP (Trivial File Transport Protocol). These are standards supported in the TCP/IP stack that is included with Linux. At the command prompt, you can use the FTP command just as you would in any operating system that includes the TCP/IP networking protocol. Many users, however, don’t enjoy performing file transfers at the command line because somewhat cryptic commands may confuse the novice user. Several utilities, such as gFTP, KFTP or Igloo FTP Pro, provide graphical user interfaces (GUI) that work in a Windows environment and provide easy-to-use file transfer clients. These tools are very similar to the tools that are available in virtually every other operating system — thus making Linux just as useful and reliable.
More, more, and more applications
Linux provides virtually any application that a user in the enterprise environment needs. For example, do you need a chat or pop-up client to make interoffice communications easier? Try kiam, kicq, kpopup, kTuxPop, or kYahoo, which all provide connectivity to instant messaging applications, such as AOL Instant Messenger (AIM), Yahoo instant messaging, and even Winpopup compatibility. Integrated office