Final Flashcards

Theory

1
Q

Kickstart Configuration: %packages

A

Specifies the software to be installed on the target system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Kickstart Configuration: %post scripts

A

Configures the system after all of the software has been installed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Kickstart Configuration: %pre script

A

Configures the system after all of the software has been installed. Executed before any disk partitioning is done.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Installation commands: url

A

Specifies the location for the installation media.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Installation commands: repo

A

Tells Anaconda where to find the packages for installation. This option must point to a valid yum repository.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Installation commands: text

A

Forces text mode install.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Installation commands: vnc

A

Allows the graphical installation to be viewed remotely via VNC.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Installation commands: askmethod

A

Do not automatically use the CD-ROM as the source of packages when installation media is detected in the CD-ROM drive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Partitioning commands: clearpart

A

Clears the specified partitions before installation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Partitioning commands: part

A

Specifies the size, format, and name of a partition.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Partitioning commands: ignoredisk

A

Ignores the specified disks when installing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Partitioning commands: bootloader

A

Defines where to install the bootloader.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Partitioning commands: volgroup, logvol

A

Creates LVM volume groups and logical volumes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Partitioning commands: zerombr

A

Disks whose formatting is unrecognized are initialized.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Configuration commands: lang

A

Sets the language to use during installation and the default language of the installed system. (Required)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Configuration commands: keyboard

A

Sets the system keyboard type. (Required)

17
Q

Configuration commands: timezone

A

Defines timezone, NTP servers, and whether the hardware clock uses UTC.
Ex. timezone –utc –ntpservers=time.example.com Europe/Amsterdam

18
Q

Configuration commands: auth

A

Sets up the authentication options for the system. (Required)

19
Q

Configuration commands: rootpw

A

Defines the initial root password.

20
Q

Configuration commands: selinux

A

Sets the state of SELinux on the installed system.

21
Q

Configuration commands: services

A

Modifies the default set of services that will run under the default systemd target.

22
Q

Configuration commands: group, user

A

Create a local group or user on the system.

23
Q

What are two ways to create a Kickstart configuration file?

A

Use the system-config-kickstart utility or use a text editor

24
Q

/root/anaconda-ks.cfg

A

Contains the Kickstart directives that can be used to generate the freshly installed system.

25
Q

ksvalidator

A

A utility that checks for syntax errors in a Kickstart configuration file. It will ensure keywords and options are properly used, but it will not validate URL paths, individual packages, or groups, nor any part of %post or %pre scripts.

26
Q

Steps to install RHEL server using Kickstart

A
  1. Use system-config-kickstart to create a Kickstart configuration file.
  2. Use a text editor to add logical volume management commands to the Kickstart
    configuration file.
  3. Check the configuration file for syntax errors with ksvalidator.
  4. Publish the Kickstart configuration file via HTTP, FTP, or NFS.
  5. Boot Anaconda from installation media.
  6. Specify the ks= option to point the installer to the Kickstart configuration file.
27
Q

Line Anchors

A

Control the location of where the regular expression looks for a match. ^, a beginning of line anchor, or $, an end of line anchor.