Booting up and Shutting down A primer for troubleshooting

Size: px
Start display at page:

Download "Booting up and Shutting down A primer for troubleshooting"

Transcription

1 Booting up and Shutting down A primer for troubleshooting In this section, we touch upon the startup and shutdown process on Linux. It is beyond the scope of this course to cover this topic in depth and we highly recommend that you read more about this topic in the official RedHat documentation or the documents listed at the end of this section. There is an abundance of information on this topic available in books and on the web. The Boot Up Process Please refer to the official RedHat documentation for details about the boot up process. Bootloaders Two common bootloaders in Linux are Lilo and grub. Bio-Linux currently uses grub. Grub installs a boot loader to the Master Boot Record. By configuring grub, you can put specific instructions in the Master Boot Record that allow you to load menus or command environments such that you could choose to start up different operating systems, pass information to the kernel, etc. The grub configuration file is at /boot/grub/grub.conf. Unless you are really into system work, you will probably not ever have to touch this file. More information on grub can be found at: Once grub has done its job, it hands over control of the machine to the operating system. Run levels Run Level Description 0 Halt 1 Single user mode 2 Multiuser, without networking (without NFS) 3 Full multiuser mode, with networking 4 Unused 5 the same as 3, but with X11 started automatically 6 Reboot

2 The first process run after the kernel has loaded is /sbin/init this runs with pid 1. The default run level on your system is 5. 0 and 6 are used for shutdown and reboot of the machine respectively. /sbin/init 0 is the same as running shutdown h now /sbin/init 6 is the same as running shutdown r now If neither the h or r options are given to the shutdown command, the default it to reboot to run level 1: single user mode. This is the runlevel used when troubleshooting system problems. To boot to single user mode, you can also use the command: /sbin/init 1 This can be run using sudo or run as root. /etc/inittab init reads the file /etc/inittab to determine what to do and when to do it. The default run level for your system is defined in this file. Entries in the /etc/inittab file take the form: id:runlevels:action:process For more information on this, please refer to the Boot Process section of the The CTDP Linux Startup Manual (link at the bottom of document). The series of lines where the action is contain the script name: /etc/rc.d/rc. This script takes the argument at the end of the line, (0, 1, 2, etc.), which correspond to a run level. Commands in this file cause the execution of kill scripts, (those that start with the letter K in the appropriate directory) to run, and then runs the startup scripts, (those that start with the letter S). This is done for each run-level, (as can be seen by the series of commands in the /etc/inittab file). Note that the K and S scripts are in fact softlinks to the scripts themselves, which are stored in /etc/init.d/ This is important to remember if you edit scripts. The K and S scripts are executed in alphanumeric order. Thus, if you are adding scripts, you can control when in the bootup/shutdown process they are executed, by giving an appropriate soft link name in the appropriate run level directory.

3 The kinds of things that can cause boot problems The root partition cannot be mounted A partition could not be automatically fsck d A partition has filled up completely especially the root partition or /var if it is its own partition The kernel was told to start up in runlevel 1 Loading errors Bad startup scripts Bad /etc/fstab file What happens when the machine shuts down? When you shut the machine down cleanly, a number of things happen: users logged in are notified the system is going down. (Hopefully you have given them advanced warning of this shutdown.) all running processes are sent a signal telling them to terminate all subsystems are shut down gracefully all users still on the system are logged off all pending disk updates are completed (sync) the system is taken to the specified runlevel sync sync is executed during the shutdown process. It schedules the necessary disk writes so that the system can exit cleanly. What happens when the system crashes If your machine does crash, upon the next boot, a full filesystem check will be carried out using fsck. Fsck goes through the system and tries to recover any corrupt files it finds. Anything resulting from this recovery operation is placed in a directory called /lost+found. Files in this directory will not always be complete or usable; it depends on how successful the recovery was. More on fsck fsck, (filesystem check) checks the filesystem s consistency, reports any problems it finds, and optionally repairs problems. With the exception of the root system, fsck runs on unmounted filesystems. To run fsck on the root system, you must be in single user mode.

4 You will probably not have to run fsck manually often, but please make sure you read the documentation on this important program so that you will understand how it works, and how to interpret the information it gives you, should a crash occur. Log files (sources of information!) /var/log/messages /var/log/boot.log /var/log/dmesg The /etc/nologin file If a file called /etc/nologin exists, no user can log in. Only root can be logged in at the console. This can be very useful when are troubleshooting and need the whole system to be up and functional, including networking, but don t want users logging onto the system. If you put information into the /etc/nologin file, that information will be reported to any user trying to log in. E.g. you can let them know the system is down for maintenance and to try back later. Starting and stopping services You can start and stop many of the services running on your machine by typing the name of the appropriate startup script, followed by start or stop. If the script has been written properly, you should be able to find what options are available by just typing the name of the script. For example, typing: /etc/init.d/sshd will give you information on the options available for running this script. Login initialisation files When a user logs in, a number of initialisation files are read. These vary according to what the default shell of the user is. System wide, the files of interest are: /etc/profile /etc/zshrc /etc/bashrc Users can override the defaults set centrally, or add their own settings, using dot files in their account. There are a number of possibilities depending on their default shell and what they want exactly.

5 Key files include ~/.profile ~/.login ~/.zshrc ~/.cshrc ~/.bashrc (executed by all non-login instances of bash) ~/.bash_profile (executed by a login bash session this file is not present, bash uses.profile instead) These files are sourced at different times:.profile,.bash_login, and.login are executed when a user logs in.zshrc,.cshrc,.bashrc, etc, are executed every time a new shell is spawned. On this basis information stored in a.login or.profile file should be that which needs to be executed at login time. This includes such things as: setting the PATH setting the default file protection (with umask) setting the terminal type setting other environmental variables The types of things you might want in a.xxxrc file include: setting shell variables defining aliases Note: Shell initialization files are executed before login initialisation files e.g. first.zshrc and then.login More on this topic can be found on the web at: Other useful commands and files chkconfig This lets you find out about, and update, runlevel information for your system s services. In other words, this is a command line tool for maintaining the /etc/rc.d/init.d directory hierarchy. e.g. to find out about all the services that chkconfig knows about, you can run /sbin/chkconfig --list A graphical interface to chkconfig can be run by typing:

6 serviceconf And if you are so inclined, there is also a text-based interface to chkconfig, which can be run by typing sudo /usr/sbin/ntsysv dmesg dmesg reports about the kernel booting. It shows the devices it has found and if it has been able to configure them all. A log of this output can be found at /var/log/dmesg. Information at the top of /var/log/dmesg includes the kernel version and build. /etc/motd The contents of the /etc/motd (message of the day) file appear on a user s terminal when they first log in. This is an extremely useful way to advertise messages about impending shutdowns if people are logging into your machine using terminal sessions such as ssh. /sbin/shutdown Run with different flags, this command allows you to shut down the machine cleanly, and to reboot into designated run levels. It also provides the facilities to provide a warning message to be displayed on user s terminals, and an option to cancel the shutdown. /sbin/reboot Please do not use reboot - use shutdown instead. On Linux systems not in level 0 or 6, using the command reboot will run the command shutdown instead. However, this is not necessarily true on other unix systems where reboot may not shut down the system as cleanly as shutdown. /sbin/runlevel This program displays the current and previous system runlevel. Other documents Essential System Administration by Aeleen Frisch, ISBN The CTDP Linux Startup Manual

7 Some Suggested Exercises 1) Read /etc/inittab to determine what scripts are executed in what order. Where/when is X started? What does this suggest about troubleshooting X problems? Read the /etc/rc.d/rc script. Can you see, looking at the information, why you can run virtual terminals using the Cntl-Alt-F1 through to Cntl-Alt-F6 keys combinations? 2) Read the man page for chkconfig. Find out about all the services chkconfig knows about on the machine you are working on. Look at the names of the scripts in the init directories for the various run levels, (/etc/rc.d/rc0.d, /etc/rc.d/rc1.d, /etc/rc.d/rc5.d, and so on.) Can you see a connection between the information you see in chkconfig and the scripts that will be executed at the various run levels? 3) Stop sshd running on your machine using the appropriate init.d command. Start sshd running again.

Certification. System Initialization and Services

Certification. System Initialization and Services 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

More information

CSE 265: System and Network Administration

CSE 265: System and Network Administration CSE 265: System and Network Administration System startup and shutdown Bootstrapping Booting PCs Boot loaders Booting into single user mode Startup scripts Rebooting and shutting down Bootstrapping i.e.,

More information

CSE 265: System and Network Administration

CSE 265: System and Network Administration CSE 265: System and Network Administration System startup and shutdown Bootstrapping Booting PCs Boot loaders Booting into single user mode Startup scripts Rebooting and shutting down Bootstrapping i.e.,

More information

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

RHCE BOOT CAMP. The Boot Process. Wednesday, November 28, 12 RHCE BOOT CAMP The Boot Process OVERVIEW The boot process gets a machine from the useless off state to the feature rich operating system we all know and love Requires cooperation between hardware and software

More information

System Administration. Startup Process

System Administration. Startup Process System Administration Startup Process Why Care? Every process on your system comes about by following a specific chain of events from the machine startup You may want to disable processes You may want

More information

Runlevels, System Shutdown and Reboot

Runlevels, System Shutdown and Reboot Information These notes were originally written in the year 2000 as part of a set of LPI Exam 101 training materials. The LPI training course at Bromley College was subsequently discontinued and some of

More information

Chapter 2 Booting Up and Shutting Down

Chapter 2 Booting Up and Shutting Down Chapter 2 Booting Up and Shutting Down Boot Up? 2 Shut Down? 3 Booting Up Starting up a computer Load kernel into memory and execute it. (1) BIOS load and run the MBR (Master Boot Record) (2) MBR searches

More information

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

HOW LINUX BOOTS. As it turns out, there isn t much to the boot process: 3 HOW LINUX BOOTS You now know the physical structure of a Linux system, what the kernel is, and how to work with processes. This chapter teaches you how the system starts (boots) that is, how the kernel

More information

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

Booting Up and Shutting Down. lctseng / Liang-Chi Tseng Booting Up and Shutting Down lctseng / Liang-Chi Tseng Booting Up Starting up a computer Load kernel into memory and execute it. (1) BIOS load and run the MBR (Master Boot Record) (2) MBR searches for

More information

Using grub to Boot various Operating Systems

Using grub to Boot various Operating Systems Operating Systems and Systems Integration Using grub to Boot various Operating Systems Contents 1 Aim 2 2 What You Will Do 2 3 Background 2 3.1 Installing grub in MBR from a floppy, and from the OS........

More information

The Linux IPL Procedure

The Linux IPL Procedure The Linux IPL Procedure SHARE - Tampa February 13, 2007 Session 9274 Edmund MacKenty Rocket Software, Inc. Purpose De-mystify the Linux boot sequence Explain what happens each step of the way Describe

More information

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

PL-I Assignment Broup B-Ass 5 BIOS & UEFI PL-I Assignment Broup B-Ass 5 BIOS & UEFI Vocabulary BIOS = Basic Input Output System UEFI = Unified Extensible Firmware Interface POST= Power On Self Test BR = Boot Record (aka MBR) BC =Boot Code (aka

More information

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

Authored by: Brian E. Brzezicki Copyright 2013, Paladin Group LLC Reuse without permission is strictly prohibited Authored by: Brian E. Brzezicki Copyright 2013, Paladin Group LLC Reuse without permission is strictly prohibited Traditionally Unix systems have used the ATT System V initialization mechanism In System

More information

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

More on file systems, Booting Todd Kelley CST8177 Todd Kelley 1 More on file systems, Booting Todd Kelley kelleyt@algonquincollege.com CST8177 Todd Kelley 1 bind mounts quotas Booting process and SysVinit Installation Disk rescue mode 2 A bind mount is used to mount

More information

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

LPIC 102. be familiar with standard runlevels in a Linux system LPIC 102 The boot process, init and runlevels 1 Aim After successfully working through this exercise, You will: be familiar with standard runlevels in a Linux system be able to rescue a system without

More information

Linux/Citrix Virtual Environment Documentation

Linux/Citrix Virtual Environment Documentation Linux/Citrix Virtual Environment Documentation Purpose This document provides information on creating a bootable Ubuntu flash drive, customizing the interface, and using basic commands. Contents Bootable

More information

Booting Up and Shutting Down

Booting Up and Shutting Down Booting Up and Shutting Down Booting Up Starting up a computer Load kernel into memory and execute it. (1) BIOS load and run the MBR (Master Boot Record) (2) MBR searches for the bootable slice (partition)

More information

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

More on file systems, Booting Todd Kelley CST8177 Todd Kelley 1 More on file systems, Booting Todd Kelley kelleyt@algonquincollege.com CST8177 Todd Kelley 1 bind mounts quotas Booting process and SysVinit Installation Disk rescue mode 2 A bind mount is used to mount

More information

CST8177 Linux II. Linux Boot Process

CST8177 Linux II. Linux Boot Process CST8177 Linux II Linux Boot Process Reference information from the text, http://www.linuxdoc.org and several other web sites Linux Boot Process Topics covered in this slide-set Basic definition of the

More information

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

HP-UX System Administration Course Overview. Skills Gained. Who will the Course Benefit? HP-UX System Administration Course Overview This Hewlett Packard HP-UX System Administration training course is designed to give delegates practical experience in the administration of an HP-UX UNIX System.

More information

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

Linux+ Guide to Linux Certification, Third Edition. Chapter 2 Linux Installation and Usage Linux+ Guide to Linux Certification, Third Edition Chapter 2 Linux Installation and Usage Objectives Install Red Hat Fedora Linux using good practices Outline the structure of the Linux interface Enter

More information

client X11 Linux workstation

client X11 Linux workstation LPIC1 LPIC Linux: System Administrator LPIC 1 LPI command line LPIC-1 Linux LPIC-1 client X11 Linux workstation Unix GNU Linux Fundamentals Unix and its Design Principles FSF and GNU GPL - General Public

More information

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

Oracle 1Z Enterprise Linux System Administration. Download Full Version : Oracle 1Z0-403 Enterprise Linux System Administration Download Full Version : http://killexams.com/pass4sure/exam-detail/1z0-403 B. It does not provide any protection to remote X connections. C. It allows

More information

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

Chapter 6. Boot time configuration. Chapter 6 Boot time configuration Chapter 6. Boot time configuration Chapter 6 Boot time configuration Last revised: 20/6/2004 Chapter 6 Outline In this chapter we will learn about: How the system boots How to configure the boot loaders

More information

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

Advanced Operating Systems and Virtualization. Alessandro Pellegrini A.Y. 2017/2018 Advanced Operating Systems and Virtualization Alessandro Pellegrini A.Y. 2017/2018 Basic Information Lecture Schedule: Course begins today! Course ends on June 1 st Lecture slots: Tuesday, 08.00 am 10.00

More information

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

Please choose the best answer. More than one answer might be true, but choose the one that is best. Introduction to Linux and Unix - endterm Please choose the best answer. More than one answer might be true, but choose the one that is best. SYSTEM STARTUP 1. A hard disk master boot record is located:

More information

Exam Name: Red Hat Certified Engineer on Redhat

Exam Name: Red Hat Certified Engineer on Redhat Vendor: Red Hat Exam Code: RH302 Exam Name: Red Hat Certified Engineer on Redhat Version: DEMO QUESTION 1 One Logical Volume is created named as myvol under vo volume group and is mounted. The Initial

More information

HP-UX System Administration

HP-UX System Administration HP-UX System Administration This intensive course is designed for experienced UNIX administrators who like to understand the differences between HP-UX and standard UNIX. It is essential that students have

More information

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

LPI EXAM LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2. Buy Full Product. LPI EXAM - 101-350 LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2 Buy Full Product http://www.examskey.com/101-350.html Examskey LPI 101-350 exam demo product is here for you to test

More information

Basic UNIX system administration

Basic UNIX system administration Basic UNIX system administration CS 2204 Class meeting 14 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright 2001-2003. System administration Thus far, we ve only discussed:

More information

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

Charting the Course... MOC B: Linux System Administration. Course Summary Description Course Summary This four-day instructor-led course is designed to provide students with the necessary skills and abilities to work as a professional Linux system administrator. The course covers

More information

CompTIA Linux+/LPIC-1 COPYRIGHTED MATERIAL

CompTIA Linux+/LPIC-1 COPYRIGHTED MATERIAL CompTIA Linux+/LPIC-1 COPYRIGHTED MATERIAL Chapter System Architecture (Domain 101) THE FOLLOWING COMPTIA LINUX+/LPIC-1 EXAM OBJECTIVES ARE COVERED IN THIS CHAPTER: 101.1 Determine and Configure hardware

More information

The Linux Boot Process

The Linux Boot Process The Linux Boot Process Dr. Billy Harris -- Linux booting -- init/services configuration Copyright 2002 Billy Harris (Billy-Harris@utc.edu) You are welcome to use and distribute this document so long as

More information

Basic Linux Security. Roman Bohuk University of Virginia

Basic Linux Security. Roman Bohuk University of Virginia Basic Linux Security Roman Bohuk University of Virginia What is Linux? An open source operating system Project started by Linus Torvalds kernel Kernel: core program that controls everything else (controls

More information

Advanced Unix System Administration

Advanced Unix System Administration Advanced Unix System Administration Lecture 5 February 14, 2007 Steven Luo Shared Libraries The dynamic linker Binaries have a symbol table containing functions, etc. and

More information

Course 55187B Linux System Administration

Course 55187B Linux System Administration Course Outline Module 1: System Startup and Shutdown This module explains how to manage startup and shutdown processes in Linux. Understanding the Boot Sequence The Grand Unified Boot Loader GRUB Configuration

More information

OPERATING SYSTEMS LINUX

OPERATING SYSTEMS LINUX OPERATING SYSTEMS LINUX Božo Krstajić, PhD, University of Montenegro Podgorica bozok@cg.ac.yu Process management Linux operating systems work with processes. Basically a process consists of program code

More information

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

SA2 v6 Linux System Administration II Net Configuration, Software, Troubleshooting SA2 v6 Linux System Administration II Net Configuration, Software, Troubleshooting Synopsis: This is the second System Administration class, a follow-on class for new administrators with limited networking

More information

UNIX System Administration

UNIX System Administration $!... 14:13 $$... 14:13.netrc...12:27-28 /etc/fstab... 6:25 /etc/hosts.equiv... 8:23 /etc/inittab Entries... 4:8 /etc/netmasks... 8:22 /etc/shells... 12:25 /home... 6:69 /tmp...6:61-67 /usr... 6:70 /var...

More information

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

At course completion. Overview. Audience profile. Course Outline. : 55187B: Linux System Administration. Course Outline :: 55187B:: Module Title Duration : 55187B: Linux System Administration : 4 days Overview This four-day instructor-led course is designed to provide students with the necessary skills and abilities to work as a professional

More information

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

CompTIA Linux+ Guide to Linux Certification Fourth Edition. Chapter 2 Linux Installation and Usage CompTIA Linux+ Guide to Linux Certification Fourth Edition Chapter 2 Linux Installation and Usage Objectives Prepare for and install Fedora Linux using good practices Outline the structure of the Linux

More information

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

This is Lab Worksheet 13 - not an Assignment. Boot Process and GRUB This is Lab Worksheet 13 - not an Assignment This Lab Worksheet contains some practical examples that will prepare you to complete your Assignments. You do not have to hand in this Lab Worksheet. Make

More information

NETW 110 Lab 3 Post-Installation Configuration Page 1

NETW 110 Lab 3 Post-Installation Configuration Page 1 NETW 110 Lab 3 Post-Installation Configuration Page 1 Objective At the conclusion of this lab, the student will learn some very basic functions of vi, use vi to perform some post-installation configuration

More information

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

University of Pennsylvania Zachary Goldberg. CIS c. More Kernel Bits. 10/03/09 Slide 1 More Kernel Bits 10/03/09 Slide 1 Rebooting Why would one ever need to reboot on Linux? Installing new driver?... (No) Installing new applications?... (No) Installing new... Anything?... (No) Reconfiguring...

More information

Chapter 02 Linux Installation and Usage

Chapter 02 Linux Installation and Usage Chapter 02 Linux Installation and Usage TRUEFALSE 1. A swap partition contains a filesystem. 2. When a user interacts with his computer, he interacts directly with the kernel of the computer's operating

More information

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

KillTest 䊾 䞣 催 ࢭ ད ᅌ㖦䊛 ᅌ㖦䊛 NZZV ]]] QORRZKYZ TKZ ϔᑈܡ䊏 ᮄ ࢭ KillTest Exam : 117-202 Title : LPI Level 2 Exam 202 Version : DEMO 1 / 6 1.Given this excerpt from an Apache configuration file, which of the numbered lines has INCORRECT syntax? 1:

More information

Automating Linux App Startup

Automating Linux App Startup Automating Linux App Startup David Boyes Sine Nomine Associates Agenda Runlevels, init, and symlinks, oh, my! Sequence of events during startup A sample application startup script Caveats on insserv, yast

More information

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

Vendor: RedHat. Exam Code: RH133. Exam Name: Red Hat Linux System Administration. Version: Demo Vendor: RedHat Exam Code: RH133 Exam Name: Red Hat Linux System Administration Version: Demo QUESTION NO: 1 You work as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based

More information

Linux+ Guide to Linux Certification, Third Edition

Linux+ Guide to Linux Certification, Third Edition Linux+ Guide to Linux Certification, Third Edition Chapter 14 Troubleshooting, Performance, and Security Objectives Describe and outline good troubleshooting practices Effectively troubleshoot common hardware-

More information

Basic Shell Commands. Bok, Jong Soon

Basic Shell Commands. Bok, Jong Soon Basic Shell Commands Bok, Jong Soon javaexpert@nate.com www.javaexpert.co.kr Focusing on Linux Commands These days, many important tasks in Linux can be done from both graphical interfaces and from commands.

More information

Introduction to Linux start-up. Hao-Ran Liu

Introduction to Linux start-up. Hao-Ran Liu Introduction to Linux start-up Hao-Ran Liu Boot process overview Hardware startup BIOS LILO or bootsect.s Linux kernel Mount root file system /sbin/init LILO is a versatile boot loader, but it is functional-equivalent

More information

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

Prerequisites: General computing knowledge and experience. No prior knowledge with Linux is required. Supported Distributions: This course prepares students to take the 101 exam of the LPI level 1 certification. The Linux Professional Institute (LPI) is the go to certification body for vendor independent Linux certifications.

More information

TestOut Linux Pro - English 4.0.x OBJECTIVE MAPPING: CompTIA Linux+ LX0-103

TestOut Linux Pro - English 4.0.x OBJECTIVE MAPPING: CompTIA Linux+ LX0-103 TestOut Linux Pro - English 4.0.x OBJECTIVE MAPPING: CompTIA Linux+ LX0-103 CompTIA Linux+ Powered by LPI LX0-103 Objectives The Linux+ Powered by LPI Exam: LX0-103 exam covers the following topics. #

More information

Exam Questions Demo LPI. Exam Questions Linux Networking Administration.

Exam Questions Demo   LPI. Exam Questions Linux Networking Administration. LPI Exam Questions 117-202 Linux Networking Administration Version:Demo 1.Given this excerpt from an Apache configuration file, which of the numbered lines has INCORRECT syntax? 1: 2:

More information

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

Actual4Test.   Actual4test - actual test exam dumps-pass for IT exams Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : RH-302 Title : Red Hat Certified Engineer on Redhat Enterprise Linux 5 (Labs) Vendors : RedHat Version

More information

LPIC-1 System Administrator

LPIC-1 System Administrator LPIC-1 System Administrator The world s largest and most recognized Linux Certification LPIC-1 is the first certification in LPI s multi-level Linux professional certification program. The LPIC-1 will

More information

Introduction to Red Hat Linux I: Easy Reference Index Page

Introduction to Red Hat Linux I: Easy Reference Index Page Introduction to Red Hat Linux I: Easy Reference Index Page Easy Reference Topics Module Page Common installation troubleshooting issues 2 2 Installation classes 2 3 Contents of the usr directory 4 5 File

More information

Initialization: runlevels

Initialization: runlevels Initialization: init The init process is always the first started (has a PID of 1) and will remain running until the system is shut down With init running, the kernel moves to the background awaiting system

More information

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

LiLo Crash Recovery. 1.0 Preparation Tips. 2.0 Quick Steps to recovery LiLo Crash Recovery ***** *** * I have captured this information from someone else website which I didn t record where I copied it from or when I copied it. And I ve left it as it is. The credit should

More information

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

CST8207: GNU/Linux Operating Systems I Lab Ten Boot Process and GRUB. Boot Process and GRUB Student Name: Lab Section: Boot Process and GRUB 1 Due Date - Upload to Blackboard by 8:30am Monday April 16, 2012 Submit the completed lab to Blackboard following the Rules for submitting Online Labs

More information

minit Felix von Leitner September 2004 minit

minit Felix von Leitner September 2004 minit minit Felix von Leitner felix-minit@fefe.de September 2004 minit What is this all about? This talk is about a new init program called minit. Several itches needed scratching: 1. Typical Linux distributions

More information

Exam Linux-Praxis - 1 ( From )

Exam Linux-Praxis - 1 ( From  ) Exam Linux-Praxis - 1 ( From http://www.linux-praxis.de ) (1)Which of the following commands results in mailing the content of the current directory to Bob? A. mail Bob < ls B. ls > mail Bob C. ls mail

More information

Exam LFCS/Course 55187B Linux System Administration

Exam LFCS/Course 55187B Linux System Administration Exam LFCS/Course 55187B Linux System Administration About this course This four-day instructor-led course is designed to provide students with the necessary skills and abilities to work as a professional

More information

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

Charting the Course... Enterprise Linux System Administration Course Summary Course Summary Description This is an in-depth course that explores installation, configuration and maintenance of Linux systems. The course focuses on issues universal to every workstation and server.

More information

. Fill in the Blank: A directory named mydir has just been... Points:10. Add Question Success: 64 questions added as a copy.

. Fill in the Blank: A directory named mydir has just been... Points:10. Add Question Success: 64 questions added as a copy. . Fill in the Blank: A directory named mydir has just been... Success: 64 questions added as a copy. A directory named mydir has just been created with the touch command. Nochmod commands have been issued

More information

Introduction to Linux Init Scripts

Introduction to Linux Init Scripts Introduction to Linux Init Scripts In this session we will cover the Linux initialization process, run levels, how to change the run level and how to initialize a script on login. LAB: http://processors.wiki.ti.com/index.php/sitara_linux_training:_init_scripts

More information

Getting Started with Linux

Getting Started with Linux Getting Started with Linux For those with experience using Microsoft Windows there will be many familiar ways of operating in a Linux environment. There are also a few key differences. The main differences

More information

Disks, Filesystems 1

Disks, Filesystems 1 Disks, Filesystems 1 sudo and PATH (environment) disks partitioning formatting file systems: mkfs command checking file system integrity: fsck command /etc/fstab mounting file systems: mount command unmounting

More information

Installation of the OS

Installation of the OS Lab 1 Installation of the OS 1.1 Objectives The goal of this first session is to install a Debian/Linux operating system from scratch on a Intel x86- based computer. The installation will be made on a

More information

Services, logging, accounting Todd Kelley CST8177 Todd Kelley 1

Services, logging, accounting Todd Kelley CST8177 Todd Kelley 1 Services, logging, accounting Todd Kelley kelleyt@algonquincollege.com CST8177 Todd Kelley 1 services syslog logger command line utility psacct lastcomm ac, last, lastlog 2 chkconfig vs service (review)

More information

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

Unit 2: Manage Files Graphically with Nautilus Objective: Manage files graphically and access remote systems with Nautilus Linux system administrator-i Unit 1: Get Started with the GNOME Graphical Desktop Objective: Get started with GNOME and edit text files with gedit Unit 2: Manage Files Graphically with Nautilus Objective:

More information

Presented by Bill Genske Gary Jackson

Presented by Bill Genske Gary Jackson Quintessential School Systems Session C Linux Presented by Bill Genske Gary Jackson Copyright Quintessential School Systems, 2009 All Rights Reserved 867 American Street --- Second Floor --- San Carlos,

More information

Automating Linux App Startup

Automating Linux App Startup Automating Linux App Startup David Boyes Session L55 2006 Sine Nomine Associates Agenda Runlevels, init, and symlinks, oh, my! Sequence of events during startup A sample application startup script Separating

More information

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

Actual4Test.   Actual4test - actual test exam dumps-pass for IT exams Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : RH133 Title : Red Hat Linux System Administration Vendor : RedHat Version : DEMO Get Latest & Valid

More information

This course is for those wanting to learn basic to intermediate topics in Solaris 10 system administration.

This course is for those wanting to learn basic to intermediate topics in Solaris 10 system administration. Course Summary Description This course teaches basic to intermediate topics in Solaris 10 system administration. The operating system will be Oracle Solaris 10 (SunOS 5.10 Release 1/13 U11). Objectives

More information

If you don't care about how it works but you just would like that it works read here. Other wise jump to the next chapter.

If you don't care about how it works but you just would like that it works read here. Other wise jump to the next chapter. Boot Linux from USB Hard Disk Written 01/04/07 by Urs_Lindegger@Bluewin.Ch About this Document I have a laptop where I'm not allowed to install Linux. However on business trips I'd like to use Linux with

More information

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.

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. Volume: 294 Questions Question No: 1 Given this excerpt from an Apache configuration file, which of the numbered lines has INCORRECT syntax? 1: 2: ServerAdmin admin9@server.example.org

More information

Disks, Filesystems, Booting Todd Kelley CST8177 Todd Kelley 1

Disks, Filesystems, Booting Todd Kelley CST8177 Todd Kelley 1 Disks, Filesystems, Booting Todd Kelley kelleyt@algonquincollege.com CST8177 Todd Kelley 1 sudo and PATH (environment) disks partitioning formatting file systems: mkfs command checking file system integrity:

More information

INTRODUCTION TO LINUX

INTRODUCTION TO LINUX INTRODUCTION TO LINUX REALLY SHORT HISTORY Before GNU/Linux there were DOS, MAC and UNIX. All systems were proprietary. The GNU project started in the early 80s by Richard Stallman Goal to make a free

More information

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

ITDUMPS QUESTION & ANSWER. Accurate study guides, High passing rate! IT dumps provides update free of charge in one year! ITDUMPS QUESTION & ANSWER Accurate study guides, High passing rate! IT dumps provides update free of charge in one year! HTTP://WWW.ITDUMPS.COM Exam : 1Z0-100 Title : Oracle Linux 5 and 6 System Administration

More information

Unit 2 System startup and shutdown

Unit 2 System startup and shutdown Unit 2 System startup and shutdown Course materials may not be reproduced in whole or in part without the prior written permission of IBM. 5.2 Unit objectives After completing this unit, you should be

More information

LPI Linux LPIC1. Module 1

LPI Linux LPIC1. Module 1 LPI Linux LPIC1 Module 1 Module Contents 1 Evans Ikua Lead Editor Kenya ikua@fossfa.net 2 Chris Brown Content Author UK cb11840@gmail.com 3 Mark Clarke Content Author RSA mark@jumpingbean.co.za 4 Brian

More information

MDS - UNIX SYSTEM ADMINISTRATOR MANUAL. INTRODUCTION... i

MDS - UNIX SYSTEM ADMINISTRATOR MANUAL. INTRODUCTION... i MDS - UNIX SYSTEM ADMINISTRATOR MANUAL INTRODUCTION........................... i SUPER USER MENU.......................... 1 1 SET USER PRIVILEGE..................... 2 2 MAKE USER.........................

More information

Linux Home Lab Environment

Linux Home Lab Environment Environment Introduction Welcome! The best way to learn for most IT people is to actually do it, so that s the goal of this selfpaced lab workbook. The skills outlined here will begin to prepare you for

More information

The Early System Start-Up Process. Group Presentation by: Tianyuan Liu, Caiwei He, Krishna Parasuram Srinivasan, Wenbin Xu

The Early System Start-Up Process. Group Presentation by: Tianyuan Liu, Caiwei He, Krishna Parasuram Srinivasan, Wenbin Xu The Early System Start-Up Process Group Presentation by: Tianyuan Liu, Caiwei He, Krishna Parasuram Srinivasan, Wenbin Xu 1 Boot Process Booting is the initialization of a computerized system In Linux,

More information

Operating System Kernel and the boot process

Operating System Kernel and the boot process Operating System Kernel and the Nick Urbanik Copyright Conditions: GNU FDL (seehttp://www.gnu.org/licenses/fdl.html) A computing department I ver. 1.3 Operating System Kernel and Booting

More information

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

Sysinstall main menu. Move the cursor down by using the DOWN-ARROW and select Standard. Initial Boot from Install Disc 1 Turn on the power for your machine. Sysinstall main menu Immediately place the first CD-ROM of the FreeBSD 5.3 install set in your machine's CD-ROM drive. You'll see an

More information

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

CompTIA Exam LX0-103 CompTIA Linux+ [Powered by LPI] Exam 1 Version: 6.0 [ Total Questions: 120 ] s@lm@n CompTIA Exam LX0-103 CompTIA Linux+ [Powered by LPI] Exam 1 Version: 6.0 [ Total Questions: 120 ] CompTIA LX0-103 : Practice Test Topic break down Topic No. of Questions Topic 1: System Architecture

More information

Thousands of Linux Installations (and only one administrator)

Thousands of Linux Installations (and only one administrator) Thousands of Linux Installations (and only one administrator) A Linux cluster client for the University of Manchester A V Le Blanc I T Services University of Manchester LeBlanc@man.ac.uk Overview Environment

More information

Q) Q) What is Linux and why is it so popular? Answer - Linux is an operating system that uses UNIX like Operating system...

Q) Q) What is Linux and why is it so popular? Answer - Linux is an operating system that uses UNIX like Operating system... Q) Q) What is Linux and why is it so popular? Answer - Linux is an operating system that uses UNIX like Operating system... Q) Q) What is the difference between home directory and working directory? Answer

More information

ECE 550D Fundamentals of Computer Systems and Engineering. Fall 2017

ECE 550D Fundamentals of Computer Systems and Engineering. Fall 2017 ECE 550D Fundamentals of Computer Systems and Engineering Fall 2017 The Operating System (OS) Prof. John Board Duke University Slides are derived from work by Profs. Tyler Bletsch and Andrew Hilton (Duke)

More information

(Ubuntu 10.04), the installation command is slightly different.

(Ubuntu 10.04), the installation command is slightly different. Grub Manual Install Ubuntu 10.04 Without 1st option : get a disk including Boot-Repair, 2nd option : install Boot-Repair in Ubuntu or when you can't boot Windows after installing Ubuntu, or when GRUB is

More information

Partitioning a disk prior to Linux Installation

Partitioning a disk prior to Linux Installation Partitioning a disk prior to Linux Installation by Andy Pepperdine This paper will describe how to partition a disk how you want it before you install Linux. The partitioning process may be initiated either

More information

Exam : 1Z Title : Enterprise Linux System Administration. Version : DEMO

Exam : 1Z Title : Enterprise Linux System Administration. Version : DEMO Exam : 1Z0-403 Title : Enterprise Linux System Administration Version : DEMO 1. You are logged in to server1 and want to allow remote connections to server1 through X Display Manager Control Protocol (XDMCP).

More information

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

The kernel is not to be confused with the Basic Input/Output System (BIOS). Linux Kernel The kernel is the essential center of a computer operating system, the core that provides basic services for all other parts of the operating system. A kernel can be contrasted with a shell,

More information

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

RH202. Redhat Certified Technician on Redhat Enterprise Linux 4 (Labs) Exam. REDHAT RH202 Redhat Certified Technician on Redhat Enterprise Linux 4 (Labs) Exam TYPE: DEMO http://www.examskey.com/rh202.html Examskey REDHAT RH202 exam demo product is here for you to test the quality

More information

Introduction to Operating Systems Prof. Chester Rebeiro Department of Computer Science and Engineering Indian Institute of Technology, Madras

Introduction to Operating Systems Prof. Chester Rebeiro Department of Computer Science and Engineering Indian Institute of Technology, Madras Introduction to Operating Systems Prof. Chester Rebeiro Department of Computer Science and Engineering Indian Institute of Technology, Madras Week 03 Lecture 12 Create, Execute, and Exit from a Process

More information

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

OPERATING SYSTEMS. Božo Krstajić, PhD, University of Montenegro Podgorica. OPERATING SYSTEMS Božo Krstajić, PhD, University of Montenegro Podgorica bozok@cg.ac.yu 1 The /etc/rc.d directory The system initialization files are stored in the /etc/rc.d directory. Each task or runlevel

More information

CIT 480: Securing Computer Systems

CIT 480: Securing Computer Systems CIT 480: Securing Computer Systems Operating System Security CIT 480: Securing Computer Systems Slide #1 Topics 1. OS Security Features 2. Bypassing OS Security 1. Boot time security 2. BIOS security 3.

More information

systemd: What to Know and How to Transition

systemd: What to Know and How to Transition systemd: What to Know and How to Transition Tom Sorensen Solutions Architect, Red Hat 2 Agenda 4 What is systemd? What does systemd offer? How does this affect me? How do I transition to systemd? What

More information