Certification. RPM, Boot Loaders, and Kickstart

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

Certification. System Initialization and Services

MODULE 02. Installation

Red Hat Technical Series Systems Management in the Enterprise with Red Hat Network version 1.0

CST8177 Linux II. Linux Boot Process

The LILO Configuration Handbook. Virgil J. Nisly

Using grub to Boot various Operating Systems

Redhat Basic. Need. Your. What. Operation G U I D E. Technical Hand Note template version

Chapter 6. Boot time configuration. Chapter 6 Boot time configuration

Part 1 : Getting Familiar with Linux. Hours. Part II : Administering Red Hat Enterprise Linux

Unit 2: Manage Files Graphically with Nautilus Objective: Manage files graphically and access remote systems with Nautilus

CST8207: GNU/Linux Operating Systems I Lab Ten Boot Process and GRUB. Boot Process and GRUB

PL-I Assignment Broup B-Ass 5 BIOS & UEFI

Linux-Kurs Themen - Lilo-GRUB 19. November 2005 Michel Bisson. Types of Boot Loaders: LILO,GRUB,SILO,Loadlin,ELILO,QUIK,VMELILO,ZIPL

B. The configuration will deny access to /var/web/dirl/private.html, but it will allow access to /var/web/dirl/subdir2/private.html, for example.

Installing MySQL Subscriber Database

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

Installation Tools for Clusters. Rajesh K., Computer Division, BARC

Exam Questions Demo LPI. Exam Questions Linux Networking Administration.

KillTest 䊾 䞣 催 ࢭ ད ᅌ㖦䊛 ᅌ㖦䊛 NZZV ]]] QORRZKYZ TKZ ϔᑈܡ䊏 ᮄ ࢭ

The Lecture's aim A preparation for the installation party: Prepare your computer for the installation Know what's going to happen Understand what's g

Red Hat Network Satellite 5.4

FastTrack to Red Hat Linux System Administrator Course Overview

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

Oracle VM Server Recovery Guide. Version 8.2

1Z Oracle Linux 5 and 6 System Administration Exam Summary Syllabus Questions

Recovering GRUB: Dual Boot Problems and Solutions

Linux/Citrix Virtual Environment Documentation

SysadminSG RHCSA Study Guide

How to Use This Lab Manual

Ftp Command Line Commands Linux Example Windows Put

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

WLM1200-RMTS User s Guide

Linux VPN Configuration

RH133. Red Hat Linux System Administration

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

RHCSA Rapid Track Course (RH199)

RedHat Certified Engineer

Linux+ Guide to Linux Certification, Third Edition

The kernel is not to be confused with the Basic Input/Output System (BIOS).

Upgrading the Cisco IOS XE Software

Linux Automation. Thomas Cameron. Red Hat. Colorado Software Summit: October 19 24, Copyright 2008, Copyright holder.

Oracle Ksplice for Oracle Linux

SA3 E7 Advanced Linux System Administration III Internet Network Services and Security

Managing Databases. Prerequisites. Information About the Database Administration Tools CHAPTER

ExpressCluster X LAN V1 for Linux

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

Performing Maintenance Operations

INSTALLING INSTALLING INSTALLING

IBM BigFix Version 9.5. Patch for Red Hat Enterprise Linux User's Guide IBM

Linux+ Guide to Linux Certification, Third Edition. Chapter 6 Advanced Installation

INSTALLING INSTALLING INSTALLING

CSE 265: System and Network Administration

CSE 265: System and Network Administration

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

Backup, File Backup copies of individual files made in order to replace the original file(s) in case it is damaged or lost.

Boot Process in details for (X86) Computers

Critical Analysis and last hour guide for RHCSA/RHCE Enterprise 7

SWsoft, Inc. Plesk Auto-Installer User's Guide

Red Hat Network Satellite 5.5

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

Creating and Restoring a Selective Solaris System Image Using Red Hat Network Satellite

LPI Linux-Linux Networking Administration. Download Full Version :

Overview 1 Preparing for installation 2

Boot. How OS boots

Manual File System Check Linux Command Line

History of Unix and Linux

Linux Administration

Getting Started with Linux. Are Covered in This Chapter: (GRUB: /boot/grub/grub.conf, /boot/grub/menu.lst, grub-install, grub).

Incident Response Platform Integrations BigFix Function V1.1.0 Release Date: October 2018

RTLinux Installation Instructions

Installing Linux on JMU Computer-Science Department Removable Hard Drives for CS-450 and CS-550

PASS4TEST IT 인증시험덤프전문사이트

Using the Offline Diagnostic Monitor Menu

Software Images. About Software Images. Dependent Factors. Send documentation comments to CHAPTER

MRCP. RPM Installation Manual. Administrator Guide. Powered by Universal Speech Solutions LLC

"Charting the Course... RHCE Rapid Track Course. Course Summary

Sysinstall main menu. Move the cursor down by using the DOWN-ARROW and select Standard.

1Z Oracle Linux 6 Implementation Essentials Exam Summary Syllabus Questions

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

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

Performing Software Maintenance Upgrades

ExpressCluster X 1.0 for Linux

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

Transferring Files Using HTTP or HTTPS

SA2 v6 Linux System Administration II Net Configuration, Software, Troubleshooting

At course completion. Overview. Audience profile. Course Outline. : 55187B: Linux System Administration. Course Outline :: 55187B::

Working with Configuration Files

Red Hat Network Satellite 5.0.0: Virtualization Step by Step

NETW 110 Lab 3 Post-Installation Configuration Page 1

MITEL PERFORMANCE ANALYTICS

"Charting the Course... MOC B: Linux System Administration. Course Summary

Installation of Fedora 12 with CD

1 LINUX KERNEL & DEVICES

How To Reinstall Grub In Windows 7 Without Losing Data And Programs

Vendor: RedHat. Exam Code: RH133. Exam Name: Red Hat Linux System Administration. Version: Demo

openqrm Technical Overview

Default Security Setup

B Commands. bandwidth (interface) Send document comments to

RHEL 5 Essentials. Red Hat Enterprise Linux 5 Essentials

Transcription:

Certification RPM, Boot Loaders, and Kickstart

UNIT 7 RPM, Boot Loaders, and Kickstart 1

UNIT 7: Objectives Upon completion of this unit the student should be able to: Use RPM to install, remove, update, and query packages Describe how to configure a multi-boot system Configure the GRUB and LILO boot loaders Configure Kickstart and perform automated installations 2

UNIT 7: Agenda Using RPM Installing Red Hat Linux on a multi-boot system Configuring a boot loader Deploying an installation server Installation using Kickstart 3

The RPM Way? Package installation is never interactive? Applies to all sw (core OS and add-ons)? No such thing as a patch to a package 4

RPM Package Manager RPM Components local database rpm and related executables package files rpmfind and metadirectories Primary Functions install/remove query verify build 5

Installing and Removing Software Installing and Removing Software Install: rpm -i, --install Upgrade: rpm -U, --upgrade Freshen: rpm -F, --freshen Erase: rpm -e, --erase Common Options Output options: -v, -h Preconditions: --nodeps, --replacefiles, --force Relocating: --excludepath, --prefix, --relocate, --badreloc, --root URL support: ftp (with globbing), http 6

Updating a Kernel RPM? Make sure to install kernel updates? Do not use rpm -U! rpm -ivh kernel-version.arch.rpm Boot new kernel to test Revert to old kernel if a problem arises rpm -e kernel-oldversion if no problems 7

rpm Queries Syntax: rpm -q what_packages what_information Package Options: -a package_name -f filename -p package_file_name Information Options: Default: package name -i: general information -l: file list 8

rpm Queries and Verification Additional query examples File Verification: rpm -V package_name rpm -Va Signature verification: gpg --import gpg_key rpm -import gpg_key At package install: rpm - checksig package_file_name 9

Other RPM Utilities and Features rpm2cpio: file extraction rpmdb-redhat: distribution database rpm -redhatprovides filename rpm -redhatprovides capability redhat-config-packages 1 0

Red Hat Network (RHN) RHN Components RHN account System identity /usr/sbin/up2date rhnsd daemon and queued actions Advantages Errata concurrency collective and remote administration 1 1

Automatic Dependency Resolution? automatic installation of dependent packages? invoked with "--aid" option.? use in conjunction with rpmdb-redhat? macro can indicate where package files found 1 2

RHN in the Enterprise?Workgroup Service? System grouping? Multiple administrators?proxy Server? Updates cached locally? Private channels?satellite Server? Client profiles stored locally? Custom channel management 1 3

RHN Registration /usr/sbin/up2date username, password, system name Remote Information Hardware Profile Software Profile (RPM list) Subscribed Channel Local Digital Certificate /etc/sysconfig/rhn/systemid 1 4

The up2date utility Interactive or batch invocations Functions Freshen with published errata/updates Install new packages Resolve package dependencies /usr/sbin/up2date-config install or download only cache dir: /var/spool/up2date 1 5

Remote Administration Web based administration https://rhn.redhat.com Multiple subscribed systems Queued actions Local polling: rhnsd Every 2 hours by default /usr/sbin/rhn_check does the hard work 1 6

Boot Loader Components Boot Loader 1st Stage - small, resides in MBR or boot sector 2nd Stage - loaded from boot partition Minimal specifications for Linux: kernel location, root partition, label Minimal specification for other OS: boot device, label 1 7

LILO and lilo.conf LILO was standard boot loader in older versions of Red Hat Linux Configuration file is /etc/lilo.conf /sbin/lilo must be run for lilo.conf changes to take effect /sbin/lilo -t to test configuration before installing /sbin/lilo -v to install LILO or update configuration /sbin/lilo -u to restore the MBR backup 1 8

GRUB and grub.conf GRUB is an advanced replacement for LILO Command-line interface available at boot prompt Boot from ext2/ext3, ReiserFS, JFS, FAT, minix, or FFS filesystems Supports MD5 password protection /boot/grub/grub.conf Changes to grub.conf take effect immediately unlike LILO, don't need to reinstall when configuration is modified if MBR on /dev/hda is corrupted, reinstall GRUB with /sbin/grub-install /dev/hda 1 9

Starting the Boot Process: LILO LILO boot: forced with <SHIFT>, <CAPS LOCK> Image selection (<TAB> lists) Linux kernels Partition boot sectors (other OSes) Argument passing LILO parameters kernel parameters init arguments or environment 2 0

Starting the Boot Process: GRUB Image selection select with up/down arrows on the boot splash screen Argument passing change an existing stanza in menu editing mode issue boot commands interactively on the GRUB command line 2 1

Multiboot Systems Linux can coexist with other operating systems, including the following: Windows NT/2000 DOS, Windows 3.x/9x/ME/XP NetBSD, FreeBSD, and other open systems Two major issues arise when implementing multiboot systems: Partitioning and the boot process 2 2

Red Hat Linux Network Installation Server Necessary for network-based installs Often faster than CDROM-based installation methods Provides an easy distribution platform for the enterprise Shares the RedHat directory via NFS, FTP and/or HTTP 2 3

Using Kickstart to automate installation? Kickstart is a component of the installer that automates installation? Kickstart supports all installation methods? The installer reads information from an ASCII file rather than prompting for it 2 4

Kickstart: Commands Section? Constructs arguments that are passed to configuration utilities ( commands )? The absence of required specifications (e.g., keyboard) will raise the appropriate utility? Commands section must come first 2 5

Kickstart: %packages? %packages specifies components groups and RPMs to install? Component groups in the comps.xml file are specified with @ component-group? Third-party RPMs cannot be specified without modifying hdlist? Package names only (not version) 2 6

Kickstart: %pre, %post?%pre gives you the first word? executes as a bash shell script? executes after Kickstart file is parsed?%post gives you the final word? Can specify interpreter (bash is default)? chroot ed by default, but may be run without chroot 2 7

End of Unit 7 Questions and answers Summary In what files are GRUB and LILO configured, respectively? What LILO command installs the first stage loader? What GRUB command does this? Where can the Kickstart configuration file be stored? 2 8