Red Hat Linux 8 Unleashed. Copyright 2003 by Sams Publishing. International Standard Book Number: X. Warning and Disclaimer

Similar documents
Sams Teach Yourself Java 2 in 21 Days, Fourth Edition. Copyright 2004 by Sams Publishing. International Standard Book Number:

Please choose the best answer. More than one answer might be true, but choose the one that is best.

Sams Teach Yourself ASP.NET in 24 Hours

Users Manual. OP5 System 2.4. OP5 AB. Page 1 of 6

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

Sams Teach Yourself Apache 2 in 24 Hours

Operating Systems Linux 1-2 Measurements Background material

Fedora 12 Essentials

Accurate study guides, High passing rate! IT TEST BOOK QUESTION & ANSWER. Ittestbook provides update free of charge in one year!

RH133. Red Hat Linux System Administration

INTRODUCTION TO LINUX

Contents at a Glance COPYRIGHTED MATERIAL. Introduction...1 Part I: Becoming Familiar with Enterprise Linux...7

RHCE BOOT CAMP. The Boot Process. Wednesday, November 28, 12

Eclipse Kick Start. Copyright 2005 by Sams Publishing. International Standard Book Number:

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories

INSTALLING INSTALLING INSTALLING

Sams Teach Yourself ASP.NET in 24 Hours

CSE 265: System and Network Administration

CSE 265: System and Network Administration

Exam Questions RH133

Linux+ Guide to Linux Certification, Third Edition. Chapter 2 Linux Installation and Usage

Basic Shell Commands. Bok, Jong Soon

Linux Operating System

TinyNet. Creating Virtual Machines

The Ruby Way. Copyright 2003 by Que Publishing. International Standard Book Number: Warning and Disclaimer

Exam Name: Red Hat Certified Engineer on Redhat

INSTALLING INSTALLING INSTALLING

Linux Essentials. Smith, Roderick W. Table of Contents ISBN-13: Introduction xvii. Chapter 1 Selecting an Operating System 1

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

MCSE Windows 2000 Network Infrastructure Training Guide Exam (70-216) Dave Bixler, Larry Chambers, and Joseph Phillips

Stop all processes and then reboot - same as above startx. Log in as superuser from current login exit

INSTALLING INSTALLING INSTALLING

client X11 Linux workstation

ZENworks 2017 Update 1 Quick Reference - Bundle Features and Options

Getting Started with Linux

System Administration. Startup Process

INSTALLING INSTALLING INSTALLING

RHEL 5 Essentials. Red Hat Enterprise Linux 5 Essentials

Introduction to Linux. Fundamentals of Computer Science

Installing Altiris Agent on Ubuntu

File System Hierarchy Standard (FHS)

Perl and R Scripting for Biologists

INSTALLING INSTALLING INSTALLING

Prerequisites: General computing knowledge and experience. No prior knowledge with Linux is required. Supported Distributions:

RH202. Redhat Certified Technician on Redhat Enterprise Linux 4 (Labs) Exam.

User Guide Version 2.0

User Guide Linux for AT91CAP9-STK Version 1.1. User Guide LINUX FOR AT91CAP9-STK VERSION: 1.1 1/11

How to Use This Lab Manual

Disks, Filesystems 1

Using grub to Boot various Operating Systems

Some Linux (Unix) Commands that might help you in ENSC351

More on file systems, Booting Todd Kelley CST8177 Todd Kelley 1

CISC 220 fall 2011, set 1: Linux basics

Booting up and Shutting down A primer for troubleshooting

Prerequisites: Students should be comfortable with computers. No familiarity with Linux or other Unix operating systems is required.

More on file systems, Booting Todd Kelley CST8177 Todd Kelley 1

OPS235: Week 1. Installing Linux ( Lab1: Investigations 1-4)

CompTIA Linux+ Guide to Linux Certification Fourth Edition. Chapter 2 Linux Installation and Usage

Linux Systems Administration Getting Started with Linux

Disks, Filesystems, Booting Todd Kelley CST8177 Todd Kelley 1

Unix File System. Class Meeting 2. * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech

Linux Essentials. Programming and Data Structures Lab M Tech CS First Year, First Semester

Operating System Interaction via bash

Core Services SSL Installation Guide. Service Pack 9, July 2007

Chapter 02 Linux Installation and Usage

A+ Exam Cram 2. Copyright 2003 by Que Publishing. International Standard Book Number: Warning and Disclaimer


Support Notes for Red Hat Enterprise Linux ES v.4.6 for HP Integrity Servers

CS Fundamentals of Programming II Fall Very Basic UNIX

CST8177 Linux II. Linux Boot Process

Quick Start Guide for Intel FPGA Development Tools on the Microsoft* Azure* Platform

Installation Guide-x86, x86-64

Chapter 5: User Management. Chapter 5 User Management

Installing Connector on Linux

Permissions and Links

There are three separate utilities for configuring Linux kernel and they are listed below: Command-line interface # make config. Figure 1.

This is Lab Worksheet 13 - not an Assignment. Boot Process and GRUB

Operating Systems and Using Linux. Topics What is an Operating System? Linux Overview Frequently Used Linux Commands

LiLo Crash Recovery. 1.0 Preparation Tips. 2.0 Quick Steps to recovery

RTLinux Installation Instructions

Filesystem Hierarchy Operating systems I800 Edmund Laugasson

EView/400i IBM i (iseries-as/400) Management for Micro Focus Operations Manager i (OMi)

Instructions: Step 1: Respond to the following: IT131 Linux+

Course 55187B Linux System Administration

The landscape. File hierarchy overview. A tree structure of directories The directory tree is standardized. But varies slightly among distributions

Release Notes for Cisco Aironet Client Utilities, Version 2.0.x for Linux

Installation of Fedora 12 with CD

Control-M Workload Automation

Linux Essentials Objectives Topics:

LINUX FUNDAMENTALS. Supported Distributions: Red Hat Enterprise Linux 6 SUSE Linux Enterprise 11 Ubuntu LTS. Recommended Class Length: 5 days

IBM Endpoint Manager for OS Deployment Linux OS provisioning using a Server Automation Plan

hp StorageWorks Using the QLogic Driver for Single-path or Multi-path Failover Mode on Linux Systems

INSTALLING INSTALLING INSTALLING

CREATION OF A MINIMAL STAND ALONE RTAI SYSTEM ================================================

About the Presentations

BootManage Administrator Installation Manual

Ubuntu Essentials. Ubuntu Essentials First Edition

Exam Linux-Praxis - 1 ( From )

Introduction to Linux

UNIX File Hierarchy: Structure and Commands

Transcription:

Red Hat Linux 8 Unleashed Copyright 2003 by Sams Publishing International Standard Book Number: 067232458X Warning and Disclaimer Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied. The information provided is on an "as is" basis. The author and the publisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book or from the use of the CD or programs accompanying it. When reviewing corrections, always check the print number of your book. Corrections are made to printed books with each subsequent printing. To determine the printing of your book, view the copyright page. The print number is right-most number on the line below the First Printing line. For example, the following indicates the 4 th printing of a title. First Printing: April 2002 06 05 04 03 10 9 8 7 6 5 4

Misprint Page 58 Bottom of page In this example, the kernel named VMLINUZ is loaded, and the second primary partition of the first IDE hard drive is specified at the root \ partition of the Red Hat Linux system. Page 65 Two references to F2 should be F3. Page 65 Two references to F3 should be F4. Page 65 Reference to F4 should be F5. Page 85 First code listing $ su -c "/sbin/ shutdown -h now" Page 85 Second code listing $ su -c "/sbin/ shutdown -h 0" Page 85 Third code listing $ su -c "/sbin/ shutdown -r now" Page 85 fourth code listing $ su -c "/sbin/ shutdown -r 0" Page 209 First sentence of second paragraph system states Page 209 First sentence of third paragraph Through Correction In this example, the kernel named VMLINUZ is loaded, and the second primary partition of the first IDE hard drive is specified at the root / partition of the Red Hat Linux system. $ su -c "/sbin/shutdown -h now" $ su -c "/sbin/shutdown -h 0" $ su -c "/sbin/shutdown -r now" $ su -c "/sbin/shutdown -r 0" run levels Via

Page 210 Third sentence in Note The codes vary among manufacturers, and the diagnosis of problems occurring during this phase of the boot process is beyond the scope of this book. Page 211 Second sentence in first Note There is even work underway to create a special Linux BIOS at http://www.acl.lanl.gov/linuxbio s/. Page 211 Second to last paragraph This step of the boot process begins with a message that the Linux kernel is loading, and a series of messages should be printed to the screen, giving you the status of each command in the rc.sysinit script. A failure should display an error message. Page 211 Second sentence in second to last paragraph Have a look at rc.sysinit, and you'll discover that it's just a text file filled with shell scripts. Page 214 First full sentence at top of page Vaules Page 215 Last two sentences of second-to-last paragraph Nothing is sacred about a specific The codes vary among manufacturers, and the diagnosis of problems occurring during this phase of the boot process is beyond the scope of this book and does not involve Linux. There is even work underway to create a special Linux BIOS at http://www.acl.lanl.gov/linuxb ios/ that will expedite the boot process because Linux does not need many of the services offered by BIOS. This step of the boot process begins with a message that the Linux kernel is loading, and a series of messages should be printed to the screen, giving you the status of each command in the rc.sysinit script. A failure should display an error message. The kernel may be passed the quiet option to suppress many of these messages. Have a look at rc.sysinit, and you'll discover that it's just a text file filled with shells script language. Choices Nothing is sacred about a specific number, but some services need to be running before others are started. You wouldn't want your Red Hat Linux system, for

number, but some service needs to be running before others are started. You wouldn't want your Red Hat Linux system to attempt to mount a remote network, for example, File System (NFS) directory without first starting networking and NFS services. Page 218 Paragraph after the Tip After all the system scripts have been run, your system is configured and all the necessary system services have been started. The final act of the init process is to launch the user shell[md]bash, tcsh, zsh, or any of the many command shells available. The shell launches, and you see login prompt on the screen. Page 222 Second sentence in next-to-last paragraph: If you are reconfiguring the X server, it's often convenient to change from runlevel to runlevel 3 to make testing easier and then switch back to runlevel 5 to re-enable the graphical login. Page 222 Second sentence in last paragraph To quickly manage a service (as root), call the service's /etc/rc.d/inti.d name on the command line with an appropriate keyword, such as start or stop. Page 223 Middle of the page Of course, the GUI tools mentioned before also have the functionality to start and stop specific services in your example, to mount a remote Network File System (NFS) directory without first starting networking and NFS services. After all the system scripts have been run, your system is configured and all the necessary system services have been started. If you are using a runlevel other than 5, the final act of the init process is to launch the user shell[md]bash, tcsh, zsh, or any of the many command shells available. The shell launches, and you see login prompt on the screen. If you are reconfiguring the X server, it's often convenient to change from runlevel 5 to runlevel 3 to make testing easier and then switch back to runlevel 5 to reenable the graphical login. The traditional way to manage a service (as root), is to call the service's /etc/rc.d/inti.d name on the command line with an appropriate keyword, such as start or stop. Of course, the GUI tools mentioned before also have the functionality to start and stop specific services in your current runlevel. The tool you choose is a matter of personal preference; a good sysadmin will

current runlevel. The tool you choose is a matter of personal preference. Page 224 First Tip Linux is full of shortcuts: If you exit the single-user shell, you'll go back to the default runlevel without worrying about using telinit. Page 225 Middle of the page If we find an error line, the error might be apparent to us or not. Page 226 Below the ksysv entry at the top of the page add this entry: Telnit[md]Change the current runlevel (the system state). Page 229 As a Red Hat Linux system administrator, you'll use the rpm command or one of its graphical clients to perform one of five basic tasks. Page 231 The fourth entry under Used To code Use PGP to Verify a Downloaded Package. Page 231 Second sentence under RPM Is for Programmers Programmers using rpm for development and distribution will use its -b or build option, along with a myriad of additional command-line flags. Page 231 preference; a good sysadmin will be aware of all of them. Linux is full of shortcuts: If you exit the single-user shell by typing exit at the prompt, you'll go back to the default runlevel without worrying about using telinit. If we find an error line, the cause of the error might be apparent to us or not. As a Red Hat Linux system administrator, you'll use the rpm command or the Red Hat graphical clients to perform one of five basic tasks. Use PGP to Verify a Downloaded Package. Programmers using rpm for development and distribution will use its rpmbuild command, along with a myriad of additional command-line flags. (using regular expressions)

Last paragraph (using expressions) Page 232 First paragraph after Note (such as two more vs) Page 235 First code line # rpm -q --scripts filename scripts.txt Page 235 Second code line # rpm -q --scripts filename less Page 237 Last code line # rpm -ba freetype.spec Page 238 First sentence under A Handy Software Installation Tool[md]CheckInstall When you compile applications from source, they won't show up in the RPM datebase and therefore can't be managed by RPM. Page 238 Last second of first paragraph under Graphical Package Management You cannot add your own packages to the Red Hat graphical tool. Page 241 Sixth line on the page Hacker Page 243 In parenthesis under final code line on (such as two more v's) # rpm -qp --scripts filename scripts.txt # rpm -qp --scripts filename less # rmpbuild -bb freetype.spec When you compile applications from source and install them, they won't show up in the RPM datebase and therefore can't be managed by RPM. You cannot add your own packages to the Red Hat graphical tool, which limits its usefullness. Intruder (Its number is -1.)

page (Its number is 1.) Page 244 In parenthesis at end of paragraph under first code line (20 to -19). Page 246 Near top of page Disk quotas are more fully covered in Chapter 10, "Managing the Filesystem." Page 248 First sentence under figure The System Monitor menu item is found in the System Tools menu. It can be launched from the command line with Page 250 After top listing at top of page, add the following items: Rpmbuild[md]Build RPM source and binary packages. Kill[md]Stop a process. Page 250 Next-to-last reference item http://www.uk.research.att.com/v nc/[md]at&t's soon-to-be-defunct home page for the Virtual Network Computing remote desktop software, available for a variety of platforms, including Red Hat Linux. This software has become so popular that it is now included with nearly every Linux distribution. Page 254 Third sentence under User (-20 to 19). Disk quotas are more fully covered in Chapter 9, "Managing Users." The System Monitor menu item (shown in Figure 8.6) is found in the System Tools menu. It can be launched from the command line with http://www.uk.research.att.com /vnc/[md]at&t's soon-to-bedefunct home page for the Virtual Network Computing remote desktop software, available for a variety of platforms, including Red Hat Linux. This software has become so popular that it is now included with nearly every Linux distribution. The new homepage for VNC is at http://www.realvnc.com/. The stereotypes of the "luser" and the "BOFH" also serve as cautionary tales describing what

Stereotypes Stereotypes also serve as cautionary tales describing what behavior is acceptable and unacceptable in the computing community. Page 255 In parenthesis in second paragraph The user's name Page 256 End of last sentence at top of page later in this section. Page 257 In parenthesis in paragraph under Managing Users (You learn more about that in the "Managing Disk Quotas" section at the end of this chapter.) Page 258 In the passwd entry at bottom of page This command makes the user inactive without eliminating the user's file. Page 271 Second code line on page # mount mount -o ro,remount /<partition to be remounted> Page 281 First sentence in second paragraph under Understanding the ext3 Filesystem Structure The ext3 filesystem can accommodate files as large as 2GB, directories as large as 2TB, and a maximum filename length of 255 charters. cautionary tales describing what behavior is acceptable and unacceptable in the computing community. The user's user name in the next section. (You learn more about that in the "Managing Disk Quotas" section in Chapter 8, "Managing Software and System Resources".) This command updates the "authentication tokens" used by the password management system. # mount -o ro,remount /<partition to be remounted> The ext3 filesystem can accommodate files as large as 2TB, directories as large as 2TB, and a maximum filename length of 255 charters. Page 292 In Linux, you use the mke2fs -j command to create an ext3

Second sentence of second paragraph after first Note In Linux, you use the mke3fs command to create an ext3 filestystem. Page 453 Above top line of page add: $ dig@i.gtld-servers.net www.ibm.com A +norec Page 455 Second sentence of second paragraph For example, 129.42.18.99 would be written as 99.18.32.129.inaddr.arpa. Page 459 Right column of first code entry Configuration files. Page 462 Second line of code #dig @j.root-servers.net.. ns > /var/named/root.hints Page 467 In first line of second paragraph under Resolver Configuration a hosts txt-like file Page 476 Delete last sentence in first paragraph under Managing DNS Security. Page 490 Code line in Caution # ln -s /dev/ttys0 /dev/modem Page 631 Second sentence of second paragraph under MDIR Versus Mailbox command to create an ext3 filestystem. For example, 129.42.18.99 would be written as 99.18.42.129.inaddr.arpa. The rndc.conf, named.conf configuration files. #dig @j.root-servers.net. ns > /var/named/root.hints a hosts-like text file # ln -s /dev/ttys2 /dev/modem With maildir, each mail folder has three subfolders: /cur, /new, and /tmp.

With maildir, each mail folder has three subfolders: cur, new, and tmp. Page 632 Middle of second paragraph under The Mail User Agent IPS Page 633 In first sentence use the explanation Page 636 Code listing in next-to-last line on page /etc/relay-domains Page 637 Second paragraph of Caution Add the following sentence at the end of the paragraph: The other way is to create a file.forward in root's home directory that contains the address that the mail should forward to. Page 637 Code listing in third-to-last line on the page /etc/access Page 644 Web address in next-to-last line on page http://people.freenet.do/courier dave/ Page 645 Web address in second line on page http://web.mit.edu/ravir/fetchya hoo/index.html ISP provides a brief explanation /etc/mail/relay-domains /etc/mail/access http://sourceforge.net/project s/hotwayd http://fetchyahoo.twizzler.org

Page 668 Code listing in first line after Caution storage.conf Page 671 In parenthesis in first sentence of paragraph above Running innd (history.dir and history.pag) Page 684 Web address in second sentence after Figure 20.9 should be: http://ils.secondix.com/wiki/ind ex.php/gnomemeetingmanual Page 707 In Table 22.1 -g -g Page 718 Second code listing on page $ ls.d?c Page 718 Third code listing on page $ ls *[09]* Page 793 Code listing at top of page # rpm -Uvh newkernel.src.rpm Page 795 Above the code listing in the middle of the page add the following code listing: # rm /usr/src/linux-2.4 Page 797 Code listing with No. 5 should be: patch -p1 <patch_filename> mypatch.log 2> &1 /etc/news/storage.conf (history.dir, history.index, and history.pag) -g $ ls *.d?c $ ls *[0-9]* # rpm -Uvh kernel-<new version>.src.rpm

Page 801 In first sentence after Figure 24.1 omit the word "not" Page 808 Switch the paragraph that begins with "If you are knowledgable" with the paragraph that begins "The second option," Page 823 First code listing at bottom of page should be: $ koshell & Page 829 First sentence in paragraph above Note Scanner support is provided by Scanners Access Now Easy (SANE). Page 831 Second line of code near bottom of page # cp zxvf vuesca75.tgz /usr/local/vuescan/ Page 835 Switch paragraph that begins with "The traditional Linux" with the paragraph that begins with "HylaFax is a" Page 837 Third sentence under Productivity Applications Written for Microsoft Windows Wine includes a program loader that you can use to execute a Windows binary, along with a.d11 library that implements Windows command calls, using the equivalent UNIX and X11 Scanner support is provided by Scanner Access Now Easy (SANE). # cp vuesca75.tgz /usr/local/vuescan/ Wine includes a program loader that you can use to execute a Windows binary, along with a.d11 library that implements Windows command calls, translating them to the equivalent UNIX and X11 command calls.

command calls. Page 841 -I[md]A lowercase L allows 31 character filenames; DOS won't like it, but everyone else deos. Page 870 The second sentence above the last bold code listing on the page You may install them at the same time with the command: Page 895 At the end of the Caution, add the following sentence: Vmware is proprietary software; read and heed the license. Page 908 Under the last code listing near the bottom of the page add the following code listing: Mdel[md]The DOS delete command -I[md]Allows 31 character filenames; DOS won't like it, but everyone else deos. You may install them in the following order with the command: This errata sheet is intended to provide updated technical information. Spelling and grammar misprints are updated during the reprint process, but are not listed on this errata sheet.