Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Linux+ Certification Bible.pdf
Скачиваний:
46
Добавлен:
15.03.2015
Размер:
3.78 Mб
Скачать

Chapter 5 Advanced Installation 163

This table provides a list of just some of the locations of important system files that you can use to configure and verify how the system is functioning. Knowing the location of the files and what they are used for will aid you in quickly troubleshooting a system when problems arise.

The Final Test of the Installation

2.19 Validate that an installed application is performing correctly in both a test and a production environment

At this point, you have installed the system and additional software, and you have checked that the system and its logs are functioning. You need to complete the final testing of the system, which usually means that the system is ready to be deployed into a production environment. You should have documented everything that you have done to the system. Your documentation should include the checklists that you used to install the system, all the hardware that you included, the partitioning scheme that you used, and the networking configurations, packages, and other system configurations, and any other packages that you installed before deployment. This documentation should provide a system history that will make it easy for others to follow what has been done and how to resolve issues that may arise. After you have completed this documentation, it’s time to give the end user access to the system. This is the final stage of testing, because the end user will be able to try and perform their daily functions which tests proper system functionality. If no issues arise during final testing, the system is fully functional. This completes the installation of Linux and the deployment into the production environment.

Summary

This chapter explains many of the basics of Linux system installation. This task involves several major areas:

Preparation for Installation

Verify that the hardware is supported

Plan the partitioning of the HDD

Plan the configuration of the network

Plan the system class

Plan for the installation of additional packages

164 Part II Installation

Installation of Linux

Media selection

Initial selections

Installation type

Disk partitions and formatting

LILO or GRUB installation

Network configuration

Root and user account information

Authentication configuration

Package selection and installation

Post Installation

Installing additional packages

Verification of installed packages

System log’s location and usage

Recompiling the kernel

Documentation and deployment

Chapter 5 Study Guide 165

STUDY GUIDE

The Study Guide section provides you with the opportunity to test your knowledge about the Linux+ exam objectives that are covered in this chapter. The Assessment Questions provide practice for the real exam, and the Scenarios provide practice with real situations. If you get any questions wrong, use the answers to determine the part of the chapter that you should review before continuing.

Assessment Questions

1.What is the main alternative to a GUI installation?

A.Text

B.Command line

C.Shell

D.Graphical

2.What is the recommended partitioning tool included with every distribution of Linux today?

A.Disk Druid

B.Format

C.fdisk and cfdisk

D.Partition Magic

3.Which of the following file system types supports journaling?

A.ext2

B.FAT32

C.Reiser

D.FAT16

4.What is the purpose of the swapon command when installing Linux in command line interface mode?

A.Create a swap partition

B.Create and activate a swap partition

C.Create a swap area in RAM

D.Activate a created swap partition

166 Chapter 5 Study Guide

5.When would an Inode of 1024 be used instead of the default 4096?

A.A few very large files are expected on the system

B.A few very small files are expected on the system

C.Many large files are expected on the system

D.Many small files are expected on the system

6.What condition is indicated if only the LI appears when attempting to boot a Linux system with LILO?

A.Primary boot loader has been started

B.Secondary boot loader has been loaded

C.Tertiary boot loader has been loaded

D.Secondary boot loader signals it has been loaded

7.Which of the following is required with a network installation of Linux?

A.FQDN

B.Gateway

C.NIC

D.CD-ROM

8.When creating a Dual-Boot system, where is the recommended place to install LILO?

A.MBR

B.Extended partition

C.The first partition of the HDD

D.Linux root partition’s boot sector

9.Where should LILO not be installed when Linux is being added to a system that is already using Microsoft Windows 2000 with NTFS?

A.MBR

B.Extended partition

C.The first partition of the second HDD

D.Linux root partition’s boot sector

Chapter 5 Study Guide 167

10.What is gzip?

A.An installation program

B.A compression utility

C.An archive utility

D.A file system

11.What is tar?

A.An installation program

B.A compression utility

C.An archive utility

D.A file system

12.Which is the standard command used to uncompress gzip files?

A.uzip

B.unzip

C.GNUzip

D.gunzip

13.What is the RPM switch for only installing packages?

A.-i

B.-U

C.-I

D.-e

14.What is the command used to install an RPM package named filename1.2-2.i386.rpm?

A.rpm -i filename-1.2-2.i386.rpm

B.rpm -ivh filename-1.2-2.i386.rpm

C.rpm -evh filename-1.2-2.i386.rpm

D.rpm -U filename-1.2-2.i386.rpm

15.What is the command used to remove an RPM package named filename1.2-2.i386.rpm?

A.rpm -i filename-1.2-2.i386.rpm

B.rpm -ivh filename-1.2-2.i386.rpm

C.rpm -evh filename-1.2-2.i386.rpm

D.rpm -Uvh filename-1.2-2.i386.rpm

168 Chapter 5 Study Guide

16.The following command can be used to install an RPM package: rpm -Uvh filename-1.2-2.i386.rpm. What functions does this perform?

A.Upgrades with additional information and hash marks.

B.Installs with additional information and hash marks.

C.Does not upgrade if an older package is not already installed. If the older package exists, then upgrades with additional information and hash marks.

D.Installs the package with additional information and hash marks, then removes old packages.

17.Which command is used to see which RPM version of tar was installed on the system?

A.rpm -q tar

B.rpm -V tar

C.rpm -K tar

D.rpm -Q tar

18.Where are the automatically mounted file systems listed?

A./etc/lilo.conf

B./etc/fstab

C./etc/inittab

D./etc/syslog.conf

19.Where would the processor type be determined?

A./etc/fstab

B./etc/rc.d

C./proc/cpuinfo

D./etc/sysconfig

20.Where are most of the boot-up log files kept?

A./etc/log/

B./var/log/

C./sbin/log/

D./root/log/

Соседние файлы в предмете Операционные системы