Certification. System Initialization and Services

Similar documents
System Administration. Startup Process

Booting up and Shutting down A primer for troubleshooting

HOW LINUX BOOTS. As it turns out, there isn t much to the boot process:

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

CSE 265: System and Network Administration

CSE 265: System and Network Administration

CST8177 Linux II. Linux Boot Process

The Linux Boot Process

The Linux IPL Procedure

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

Exam Name: Red Hat Certified Engineer on Redhat

Runlevels, System Shutdown and Reboot

Introduction to Linux start-up. Hao-Ran Liu

Authored by: Brian E. Brzezicki Copyright 2013, Paladin Group LLC Reuse without permission is strictly prohibited

Integrated Lights-Out 3 Virtual Serial Port configuration and operation

Chapter 2 Booting Up and Shutting Down

Booting Up and Shutting Down. lctseng / Liang-Chi Tseng

Course 55187B Linux System Administration

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

Using grub to Boot various Operating Systems

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

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

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

OPERATING SYSTEMS. Božo Krstajić, PhD, University of Montenegro Podgorica.

FastTrack to Red Hat Linux System Administrator Course Overview

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

Booting Up and Shutting Down

Exam LFCS/Course 55187B Linux System Administration

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

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

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

MODULE 02. Installation

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

University of Pennsylvania Zachary Goldberg. CIS c. More Kernel Bits. 10/03/09 Slide 1

"Charting the Course... Enterprise Linux System Administration Course Summary

Linux/Citrix Virtual Environment Documentation

Certification. RPM, Boot Loaders, and Kickstart

grub-md5-crypt --help Usage: grub-md5-crypt [OPTION] Encrypt a password in MD5 format.

NETW 110 Lab 3 Post-Installation Configuration Page 1

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

Introduction to Linux Init Scripts

ENTERPRISE LINUX SYSTEM ADMINISTRATION

Advanced Unix System Administration

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

HP-UX System Administration Course Overview. Skills Gained. Who will the Course Benefit?

Advanced Operating Systems and Virtualization. Alessandro Pellegrini A.Y. 2017/2018

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

Thousands of Linux Installations (and only one administrator)

LPI EXAM LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2. Buy Full Product.

Exam Questions RH202

GL-280: Red Hat Linux 7 Update. Course Description. Course Outline

Initialization: runlevels

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

Guide to Linux+, Fourth Edition Chapter 2 Solutions

LPI Linux LPIC1. Module 1

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

CompTIA Linux+/LPIC-1 COPYRIGHTED MATERIAL

client X11 Linux workstation

LPIC 102. be familiar with standard runlevels in a Linux system

OPERATING SYSTEMS LINUX

systemd: What to Know and How to Transition

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

Virtual Data Center (vdc) Manual

1 LINUX KERNEL & DEVICES

Basic Shell Commands. Bok, Jong Soon

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

Automating Linux App Startup

The System Boot Process

WLM1200-RMTS User s Guide

Testpassport.

Slackware installation

LPI Exam LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2 Version: 6.0 [ Total Questions: 120 ]

CompTIA Exam LX0-103 CompTIA Linux+ [Powered by LPI] Exam 1 Version: 6.0 [ Total Questions: 120 ]

Chapter 02 Linux Installation and Usage

Linux for UNIX Administrators

EL Serial Port Server Installation Guide Errata

Oracle 1Z Enterprise Linux System Administration. Download Full Version :

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

How To Configure PowerAlert on Linux with the APC BackUPS Pro 280VA (v2.0, 5Sept2002)

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

What this Guide Covers. Additional Info. 1. Linux based Servers. 2. Windows Servers. 3. GoldLite and Virtual Servers. 4. Other servers. 5.

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

Linux Administration

Red Hat Network Satellite 5.0.0: Virtualization Step by Step

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

Automatically Logging on a User at Linux System Boot time for Console Management

RH133. Red Hat Linux System Administration

Boot Process in details for (X86) Computers

LPI Linux-Linux Networking Administration. Download Full Version :

Vendor: LPI. Exam Code: Exam Name: LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2. Version: Demo

SysadminSG RHCSA Study Guide

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

Title: Demonstrate the linux installation and administration settings.

Guideline for the installation of C-MOR Video Surveillance Virtual Machine on VMware ESX Server

LX0-103 Exam Questions Demo CompTIA. Exam Questions LX CompTIA Linux+ [Powered by LPI] 1

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.

LPIC-l/CompTIA. Certification. Lmux+ ONE. ALL a IN. (Exams LPIC-1/LX0-101 & LXO-102) Robb H. Tracy EXAM GUIDE. Graw Hill

UNIX System Administration

Automating Linux App Startup

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

Transcription:

Certification System Initialization and Services

UNIT 3 System Initialization and Services

UNIT 3: Objectives Upon completion of this unit the student should be able to: Describe BIOS functions with respect to the boot process Describe the functions of the boot loader List the functions performed by the kernel during boot State the functions of init Use inittab to configure init List the System V run levels and state the function of each Configure init scripts manually and with appropriate tools Shutdown and reboot a system into any run level 2

UNIT 3: Agenda BIOS boot time responsibilities kernel boot time responsibilities init boot time responsibilities System V run levels Boot scripts Shutdown and reboot 3

Boot Sequence BIOS Initialization Boot Loader Kernel initialization init starts and enters desired run level 4

BIOS Initialization Peripherals detected Boot device selected First sector of boot device read and executed 5

Boot Loader Boot loader loads and runs the kernel Broken into two separate stages First stage: located in boot sector Second stage: a file under /boot Choice of two standard boot loaders GRUB LILO 6

Kernel Initialization Kernel boot time functions Device detection Device driver initialization Mounts root filesystem read only Loads initial process (usually init ) 7

init Initialization init reads its config: /etc/inittab initial run level system initialization scripts run level specific script directories trap certain key sequences define UPS power fail / restore scripts spawn gettys on virtual consoles initialize X in run level 5 8

Run levels init defines run levels 0-6, S, emergency The run level is selected by either the default in /etc/inittab at boot passing an argument from the boot loader running init x after boot (where x is the desired run level) Show current and previous run levels /sbin/runlevel 9

Daemon Processes A daemon process is a program that is run in the background, providing some system service Two types of daemons: standalone Transient - controlled by the "super-daemon" xinetd 0

/etc/rc.d/rc.sysinit Important tasks include: - Sets kernel parameters in /etc/sysctl.conf - Sets the system clock - Loads keymaps - Enables swap partitions - Sets hostname - Root filesystem check and mount - Add RAID devices - Enable disk quotas - Check and mount other filesystems - Cleans up stale locks and PID files

/etc/rc.d/rc Initializes the default run level per the /etc/inittab file initdefault line (eg. Id:3:initdefault:). l0:0:wait:/etc/rc.d/rc 0 l::wait:/etc/rc.d/rc l2:2:wait:/etc/rc.d/rc 2 l3:3:wait:/etc/rc.d/rc 3 <---- (run level 3) l4:4:wait:/etc/rc.d/rc 4 l5:5:wait:/etc/rc.d/rc 5 l6:6:wait:/etc/rc.d/rc 6 2

System V run levels Run level defines which services to start Service scripts reside in /etc/rc.d/init.d Each run level has a corresponding directory: /etc/rc.d/rcx.d Symbolic links in the run level directories call the init.d scripts with a start or stop argument 3

/etc/rc.d/rc.local Run after the run level specific scripts Common place for custom modification 4

Virtual Consoles Multiple independent VT00-like terminals Defined in /etc/inittab Accessed with Alt-F_key or Ctrl-Alt-F_key from an X session /dev/ttyn: virtual console n /dev/tty0: the current virtual console Default Red Hat Linux configuration: 2 consoles defined consoles -6 accept logins X server starts on first available console, usually 7 5

Controlling Services Utilities to control default service startup ntsysv: ncurses based utility usable in virtual consoles chkconfig: command line utility that works well with scripts and Kickstart serviceconf (redhat-config-services): graphical utility that requires an X interface Utilities to control services manually service: immediately start or stop a standalone service chkconfig immediately starts and stops xinetdmanaged services 6

System Shutdown Shutting down the system shutdown -h now Halt poweroff init 0 7

System Reboot Rebooting the system Shutdown -r now reboot init 6 8

End of Unit 3 Questions and answers Summary What functions does the kernel perform at boot? What are the System V run levels? What commands can you use for shutting down and rebooting? 9