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

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

Chapter 02 Linux Installation and Usage

Guide to Linux+, Fourth Edition Chapter 2 Solutions

Installation of Fedora 12 with CD

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

SysadminSG RHCSA Study Guide

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

Installation Guide-x86, x86-64

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

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

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

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

Fedora 12. For guidelines on the permitted uses of the Fedora trademarks, refer to fedoraproject.org/wiki/legal:trademark_guidelines.

Course 55187B Linux System Administration

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

Fedora 12. For guidelines on the permitted uses of the Fedora trademarks, refer to fedoraproject.org/wiki/legal:trademark_guidelines.

CST8177 Linux II. Linux Boot Process

Title: Demonstrate the linux installation and administration settings.

Ubuntu installation alongside windows 8/8.1 and 10

Fedora 12. For guidelines on the permitted uses of the Fedora trademarks, refer to fedoraproject.org/wiki/legal:trademark_guidelines.

Recovering GRUB: Dual Boot Problems and Solutions

Installation of Lubuntu Linux, Koha, DSpace and other software using LibLiveCD

Installing Linux (Chapter 8) Note packet # 4. CSN 115 Operating Systems Ken Mead Genesee Community College. Objectives

Exam LFCS/Course 55187B Linux System Administration

Boot Process in details for (X86) Computers

Certification. System Initialization and Services

Installing Fedora. In this chapter, you learn how to do a basic installation of CHAPTER 3 IN THIS CHAPTER. Research Your Hardware Specifications

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

3 INSTALLING WINDOWS XP PROFESSIONAL

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

CST Algonquin College 2

RHCSA Rapid Track Course (RH199)

8 ISSUE 02 SPECIAL EDITION. Installing opensuse Ready to get started? This article shows you how to install opensuse from the disc

Getting Started with ESXi Installable

The Linux IPL Procedure

CompTIA Linux Course Overview. Prerequisites/Audience. Course Outline. Exam Code: XK0-002 Course Length: 5 Days

SANS Institute - Operations Essentials. Operating System Installation Guidelines. Windows XP Professional Installation. Creating Boot Disks

Linux Files and the File System

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

Parallels Server 5 Bare Metal

Ubuntu installation alongside windows 8/8.1 and 10

CIS 191A Final Exam. Fall CIS 191 Final Exam

Fedora Core: Made Simple

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

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

CSE 265: System and Network Administration

CSE 265: System and Network Administration

Fedora 12 Essentials

Virtuozzo 6. Installation Guide. July 19, Copyright Parallels IP Holdings GmbH and its affiliates. All rights reserved.

DUAL OS INSTALLATION

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

MODULE 02. Installation

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

Using grub to Boot various Operating Systems

ASIANUX SERVER 3 SP1 INSTALLATION GUIDE

RHEL 5 Essentials. Red Hat Enterprise Linux 5 Essentials

Exam Questions Demo LPI. Exam Questions Linux Networking Administration.

Linux+ Guide to Linux Certification, Third Edition

RocketRAID 231x/230x SATA Controller Fedora Linux Installation Guide

Hard Disk Organization. Vocabulary

Red Hat Operating System Installation Tips

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 or booting DSS V6 from a USB flash drive or other writable media starting with the ZIP file

Installing caos with Cinch on Floppy Disk

Lesson 1: Preparing for Installation

THOMAS RUSSELL, Information Technology Teacher

OPS235: Week 1. Installing Linux ( Lab1: Investigations 1-4)

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

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

Production Installation and Configuration. Openfiler NSA

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

Fedora Linux Installation Guide

Linux Administration

Getting Started with ESX

Getting Started with ESX

RedHat Certified Engineer

FastTrack to Red Hat Linux System Administrator Course Overview

Installing VMware vsphere 5.1 Components

Initial Bootloader > Flash Drive. Warning. If not used carefully this process can be dangerous

How to Use This Lab Manual

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

RocketRAID 231x/230x SATA Controller Red Hat Enterprise/CentOS Linux Installation Guide

Installing Fedora. This chapter shows you how to get a basic installation of CHAPTER 3 IN THIS CHAPTER. Research Your Hardware Specifications

1 LINUX KERNEL & DEVICES

Veritas System Recovery 16 User's Guide. Linux Edition

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

2. INSTALLATION OF SUSE

Lab - Install Windows 7 or Vista

Acronis Disk Director 11 Home. Quick Start Guide

PARALLELS SERVER 4.0 FOR MAC BARE METAL EDITION README

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

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

Fedora Linux Installation Guide

Partitioning and Formatting Guide

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

Asianux Server 3 Installation Guide

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

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

Acronis Backup & Recovery 11.5

Transcription:

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 basic shell commands and find command documentation Properly shut down the Linux operating system Linux+ Guide to Linux Certification, 3e 2

Installing Linux: Preparing for Installation All OSs require a minimum set of hardware components to function properly Can be obtained from manual or file in DVD of OS, or from vendor website Each individual hardware component should be checked against the Hardware Compatibility List (HCL) found on the vendor s Web site Linux+ Guide to Linux Certification, 3e 3

Installing Linux: Preparing for Installation (continued) Table 2-1 Fedora 13 hardware requirements Linux+ Guide to Linux Certification, 3e 4

Installing Linux: Preparing for Installation (continued) Need to identify software that will be used in the Linux operating system Computer s host name Network configuration parameters Specific software packages to be installed Create preinstallation checklist to document hardware and software information Linux+ Guide to Linux Certification, 3e 5

Table 2-2 Sample preinstallation checklist Linux+ Guide to Linux Certification, 3e 6

Installing Linux: Installation Methods DVD media FTP server HTTP Web server NFS server SMB server Packages on hard disk CD-ROM media Linux+ Guide to Linux Certification, 3e 7

Starting the Installation and Checking Media for Errors Boot from first Red Hat Fedora Linux DVD A Welcome screen is displayed, can select option: Default graphical installation Installation with basic video driver Rescue installed items Boot from local drive Memory test Check media for errors prior to installation Optional, but recommended Linux+ Guide to Linux Certification, 3e 8

Starting the Installation and Checking Media for Errors (continued) Figure 2-1: Beginning a Fedora installation Linux+ Guide to Linux Certification, 3e 9

Starting the Installation and Checking Media for Errors (continued) Figure 2-3: Testing DVD media Linux+ Guide to Linux Certification, 3e 10

Choosing the Language, Keyboard, and Storage Type Allowed to choose installation language Choose keyboard configuration Keyboard model and layout automatically detected Select types of storage devices used to host the Linux OS For internal or locally attached hard drive installation, select Basic Storage Devices For installation on SAN or DASD, select Specialized Storage Devices Linux+ Guide to Linux Certification, 3e 11

Choosing the Language, Keyboard, and Storage Type (continued) Figure 2-4: Selecting an installation language Linux+ Guide to Linux Certification, 3e 12

Choosing the Language, Keyboard, and Storage Type (continued) Figure 2-5: Verifying keyboard configuration Linux+ Guide to Linux Certification, 3e 13

Selecting a Host Name, Time Zone, and Root Password Supply a host name that will identify system on the network By default use localhost.localdomain Important to select correct time zone for the local system Authentication: Users log in via valid user name and password Configure two user accounts Administrator account (root): full rights to system Regular user account Linux+ Guide to Linux Certification, 3e 14

Selecting a Host Name, Time Zone, and Root Password (continued) Figure 2-7: Selecting a host name Linux+ Guide to Linux Certification, 3e 15

Selecting a Host Name, Time Zone, and Root Password (continued) Figure 2-8: Selecting a time zone Linux+ Guide to Linux Certification, 3e 16

Selecting a Host Name, Time Zone, and Root Password (continued) Figure 2-9: Setting a root password Linux+ Guide to Linux Certification, 3e 17

Configuring Storage Devices Most common storage devices for storing Linux OS are hard disks Parallel Advanced Technology Attachment (PATA) Serial Advanced Technology Attachment (SATA) Small Computer Systems Interface (SCSI) Each hard disk is divided into partitions Partitions formatted with filesystems Maximum four primary partitions Extended partition can be divided into logical drives Linux+ Guide to Linux Certification, 3e 18

Configuring Storage Devices (continued) Table 2-3: PATA hard disk configurations Linux+ Guide to Linux Certification, 3e 19

Configuring Storage Devices (continued) Table 2-4: Example of a partitioning scheme for a primary master IDE hard disk Linux+ Guide to Linux Certification, 3e 20

Configuring Storage Devices (continued) Filesystems can be accessed if attached (mounted) to a directory Minimum of two partitions Partition for root directory Partition for virtual memory (swap memory) Area on hard disk used to store information normally residing in physical memory (RAM) Automatic or manual partitioning Better to manually partition Linux+ Guide to Linux Certification, 3e 21

Table 2-5: Common Linux filesystems and sizes Linux+ Guide to Linux Certification, 3e 22

Configuring Storage Devices (continued) Different types of filesystems Ext2: used on most Linux computers Ext3, Ext4: performs journaling Vfat: compatible with Windows FAT filesystem REISER: performs journaling Journaling: keeps track of the information written to the hard drive Linux+ Guide to Linux Certification, 3e 23

Configuring Storage Devices (continued) Figure 2-10: Selecting a partition strategy Linux+ Guide to Linux Certification, 3e 24

Configuring Storage Devices (continued) When creating a partition, specify the partition technology For standard disk partitions need to provide information regarding size, filesystem type, encryption options and mount point Instead of standard partitions, can create volumes that span multiple disks Logical Volume Manager (LVM) Redundant Array of Inexpensive Disks (RAID) Linux+ Guide to Linux Certification, 3e 25

Configuring the Boot Loader Boot loader: program started by BIOS at system startup Loads Linux kernel into memory from hard disk Can also boot other existing OSs GRand Unified Bootloader (GRUB): boot loader configured during Fedora Linux installation Dual booting: choose OS to boot at startup Linux+ Guide to Linux Certification, 3e 26

Configuring the Boot Loader (continued) Figure 2-14: Configuring a boot loader Linux+ Guide to Linux Certification, 3e 27

Configuring the Boot Loader (continued) Boot loader usually resides on the MBR or on first sector of / or /boot partition Kernel parameters: information passed to Linux kernel via the boot loader Large Block Addressing 32-bit (LBA32): enables Large Block Addressing in boot loader For large hard disks not fully supported by the BIOS Linux+ Guide to Linux Certification, 3e 28

Selecting and Installing Packages Figure 2-15: Selecting system role and software repositories Linux+ Guide to Linux Certification, 3e 29

Selecting and Installing Packages (continued) Figure 2-16: Selecting individual packages Linux+ Guide to Linux Certification, 3e 30

Completing the Firstboot Wizard Complete the installation License agreement User accounts and authentication Date and time Network Time Protocol (NTP) Confirmation of hardware to be used Log in with user account for daily tasks Use Network Login: authenticate users based on an external database Linux+ Guide to Linux Certification, 3e 31

Completing the Firstboot Wizard (continued) Figure 2-18: Creating a regular user account Linux+ Guide to Linux Certification, 3e 32

Completing the Firstboot Wizard (continued) Figure 2-19: Choosing authentication options Linux+ Guide to Linux Certification, 3e 33

Completing the Firstboot Wizard (continued) Figure 2-20: Advanced authentication options Linux+ Guide to Linux Certification, 3e 34

Completing the Firstboot Wizard (continued) Figure 2-21: Setting the date and time Linux+ Guide to Linux Certification, 3e 35

Completing the Firstboot Wizard (continued) Figure 2-22: Viewing the hardware profile Linux+ Guide to Linux Certification, 3e 36

Basic Linux Usage: Shells, Terminals, and the Kernel Terminal: channel allowing users to log on to the kernel locally or across a network Shell: user interface which accepts user inputs and transfers them to the kernel BASH Shell (Bourne Again Shell): default Linux shell Command line shell Linux allows multiple terminals, each with its own shell Linux+ Guide to Linux Certification, 3e 37

Basic Linux Usage: Shells, Terminals, and the Kernel (continued) Figure 2-23: Shells, terminals, and the kernel Linux+ Guide to Linux Certification, 3e 38

Basic Linux Usage: Shells, Terminals, and the Kernel (continued) Graphical interface Start GUI environment on top of BASH shell Or, switch to a graphical terminal e.g., GNOME Display Manager (gdm) From the local server, use key combinations to change to separate terminal Command-line terminal may be accessed from GUI environment Command line prompt: Root user: # Regular user: $ Linux+ Guide to Linux Certification, 3e 39

Basic Linux Usage: Shells, Terminals, and the Kernel (continued) Table 2-6: Common Linux terminals Linux+ Guide to Linux Certification, 3e 40

Basic Linux Usage: Shells, Terminals, and the Kernel (continued) Figure 2-25: Accessing a command-line terminal in a GUI environment Linux+ Guide to Linux Certification, 3e 41

Basic Shell Commands Commands: indicate name of program to execute Case sensitive Options: specific letters starting with - appearing after command name Alter way command works Arguments: specify a command s specific working parameters Linux+ Guide to Linux Certification, 3e 42

Basic Shell Commands (continued) Table 2-7: Some common Linux commands Linux+ Guide to Linux Certification, 3e 43

Shell Metacharacters Metacharacters: characters with a special meaning e.g., $ Refers to a variable Avoid use of metacharacters when typing commands unless using their special functionality Single quotation marks protect metacharacter from being interpreted specially by the shell Linux+ Guide to Linux Certification, 3e 44

Shell Metacharacters (continued) Table 2-8: Common BASH Shell metacharacters Linux+ Guide to Linux Certification, 3e 45

Getting Command Help Manual (man) pages: most common form of documentation for Linux commands At command prompt, type man followed by command name Contain different sections Searchable by keyword Info pages: set of local, easy-to-read command syntax documentation At command prompt, type info followed by a command name Linux+ Guide to Linux Certification, 3e 46

Getting Command Help (continued) Table 2-9: Manual page section numbers Linux+ Guide to Linux Certification, 3e 47

Shutting Down the Linux System Table 2-10: Commands to halt and reboot the Linux operating system Linux+ Guide to Linux Certification, 3e 48

Summary Prior to installation Verify hardware requirements using HCL Create preinstallation checklist DVD based installation Easiest Most common Linux+ Guide to Linux Certification, 3e 49

Summary (continued) Installation prompts for language, host name, date, time zone, keyboard layout, user account configuration, storage configuration, boot loader configuration, and package selection Users must log in to a terminal and receive a shell before they are able to interact with the Linux system and kernel Linux+ Guide to Linux Certification, 3e 50

Summary (continued) From any type of terminal you can enter commands, options, and arguments at a shell prompt to perform system tasks, obtain command help, or shut down the Linux system The shell is case sensitive and understands a variety of special characters called shell metacharacters, which should be protected if their special meaning is not required Linux+ Guide to Linux Certification, 3e 51