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

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

Guide to Linux+, Fourth Edition Chapter 2 Solutions

Chapter 02 Linux Installation and Usage

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

Installation of Fedora 12 with CD

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

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

EaseUS Disk Copy User Guide

DUAL OS INSTALLATION

Manually Mount Usb Flash Drive Linux Command Line Redhat

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

Macrorit Partition Expert 4.3.5

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

This is Worksheet and Assignment 12. Disks, Partitions, and File Systems

How To Install Windows Updates 8 From Usb

ABOUT ZEPCAM SOFTWARE INSTALLATION MANAGEMENT AND BACKUPS. Description What is it Installation requirement Server requirement

Documentation. OTRS Appliance Installation Guide. Build Date:

Sun VirtualBox Installation Tutorial

Intel Solid State Drive Firmware Update Tool

CST Algonquin College 2

The Ip address / Name value should be: srvvcenter-cis

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

This is Lab Worksheet 7 - not an Assignment

This is Lab Worksheet/Installation 7

AMD Ryzen Threadripper NVMe RAID Quick Start Guide RC Release Version 1.0

Intel Server RAID Controller U2-1 Integration Guide For Microsoft* Windows NT* 4.0

3 INSTALLING WINDOWS XP PROFESSIONAL

The Linux IPL Procedure

Installing VMware vsphere 5.1 Components

Acronis Disk Director 11 Home. Quick Start Guide

Partitioning and Formatting Guide

Basic Edition A Windows Embedded Partner

Installing or booting DSS V6 from a USB flash drive or other writable media starting with the ZIP file

Windows 7 Manual Partition Hard Drive During Install Xp

Install Windows Update Windows 7 From Usb

Linux Operating System

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

CTEC1863/2018F Bonus Lab Page 1 of 5

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

RocIT Defender User s Guide ViSoS TM Virtual System on a Stick

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

The Ip address / Name value should be: srvvcenter-cis

Power IQ DCIM Monitoring Evaluation Copy A Step-By-Step Guide

TestOut PC Pro - English 6.0.x COURSE OUTLINE. Modified

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

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

Getting Started With Parallels Desktop 14

5) The system will now ask you to select the language to use for the installation. Choose one and click Next.

HARD DISK MANAGER 11 / FULL FEATURES LIST. HDM 11 Professional. HDM 11 Server. Features. Virtualization. Add-on. Drive Partitioning

ASIANUX SERVER 3 SP1 INSTALLATION GUIDE

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

Get VirtualBox. VirtualBox/Ubuntu Setup. Go to and select Downloads.

Lab - Install Windows 7 or Vista

User. Applications. Operating System. Hardware

How to Use This Lab Manual

TimeIPS Server. IPS256T Virtual Machine. Installation Guide

XenClient Upgrade Guide

TinyNet. Creating Virtual Machines

Fedora Linux Installation Guide

CompTIA A+ Accelerated course for & exams

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

Parallels Server 5 Bare Metal

Ubuntu installation alongside windows 8/8.1 and 10

How to install the software of ZNS8022

Installing the Operating System or Hypervisor

CIS 191A Final Exam. Fall CIS 191 Final Exam

Ftp Get Command Line Windows 7 Bootable Usb

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

Collaboration Management Suite. Installation manual

Building a virtual network Maher Saad, Chestnut Residence, University of Toronto

EaseUS Partition Master

Course 55187B Linux System Administration

C A S P E R TECH EDITION 10 USER GUIDE

Lab #5 Guide: Installing Ubuntu as a Virtual Machine

6. What is an ISO image? How do you burn an ISO image to a CD/DVD? An ISO image is an exact copy of what is on a CD/DVD. When you burn an ISO image

About This Book. Who Should Use This Book. Highlighting. Case Sensitivity in AIX. iii

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

Acronis Backup & Recovery 11.5

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

Disk Imaging with Knoppix

Exam LFCS/Course 55187B Linux System Administration

Manually Mount Usb Flash Drive Ubuntu Server 12.04

SysadminSG RHCSA Study Guide

C A S P E R USER GUIDE V ERSION 5.0

CASPER SECURE DRIVE BACKUP

Linux+ Guide to Linux Certification, Third Edition

Ubuntu Manually Mount Cdrom Drive Command Line Vmware

Operating Systems Lab 1. Class topic: Installation of the operating system. Install Ubuntu on Oracle VirtualBox

How to Install Oracle VM VirtualBox and Create a Virtual Machine

User Manual. AOMEI Partition Assistant 6.0

1) Use either Chrome of Firefox to access the VMware vsphere web Client.

Creating a Windows Server 2012 R2 virtual instance Maher Saad, Chestnut Residence, University of Toronto

CST8207: GNU/Linux Operating Systems I Lab Nine Disks, Partitions, and File Systems Part 2. Disks, Partitions, and File Systems - Part 2 of 2

Clearswift SECURE Gateway Installation & Getting Started Guide. Version 4.3 Document Revision 1.0

Create Golden Template

Parallels Server 4.0 for Mac Bare Metal Edition

How to Deploy a Barracuda NG Vx using Barracuda NG Install on a VMware Hypervisor

Ubuntu (Intrepid-Ibex) Installation Manual

HOW TO: Perform a Hardware Independent Restore (HIR)

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

Transcription:

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 interface Enter basic shell commands and find command documentation Properly shut down the Linux operating system CompTIA Linux+ Guide to Linux Certification, 4th Edition 2 Cengage Learning 2016

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 CompTIA Linux+ Guide to Linux Certification, 4th Edition 3 Cengage Learning 2016

Installing Linux: Preparing for Installation Table 2-1 Fedora 20 recommended minimum hardware requirements CompTIA Linux+ Guide to Linux Certification, 4th Edition 4 Cengage Learning 2016

Understanding Installation Media The most common source for Linux packages and installation program is DVD media To install form DVD, place the Linux DVD in the DVD drive and turn on the computer Most Linux distributions provide a Web site from which you can download DVD images (called ISO images) Can be written to a blank writable DVD using disc burning software CompTIA Linux+ Guide to Linux Certification, 4th Edition 5 Cengage Learning 2016

Understanding Installation Media Many Linux Web sites also allow you to download a bootable live media DVD image A fully functional graphical Linux OS is loaded into RAM Allows you to test the OS on your computer to ensure all hardware drivers were detected properly If computer does not have a DVD drive Install Linux by imaging the DVD or live media DVD image to a USB flash drive CompTIA Linux+ Guide to Linux Certification, 4th Edition 6 Cengage Learning 2016

Understanding Installation Media Figure 2-1 The Fedora LiveUSB Creator program CompTIA Linux+ Guide to Linux Certification, 4th Edition 7 Cengage Learning 2016

Understanding Installation Media Virtualization software: used to run an OS within an existing OS concurrently Virtualization software products available: Microsoft Hyper-V VMWare Oracle VM VirtualBox Virtual machine (VM): each OS that is run within virtualization software Virtual machine host (VM host): the underlying OS running the virtualization software CompTIA Linux+ Guide to Linux Certification, 4th Edition 8 Cengage Learning 2016

Understanding Installation Media To install Linux as a VM Download the standard DVD or live media DVD ISO image to a directory on your VM host Open virtualization software and choose to create a new virtual machine Specify the location of the appropriate ISO image Virtualization software will boot from the ISO image directly CompTIA Linux+ Guide to Linux Certification, 4th Edition 9 Cengage Learning 2016

Understanding Installation Media Figure 2-3 Selecting installation media within the Hyper-V New VM Wizard CompTIA Linux+ Guide to Linux Certification, 4th Edition 10 Cengage Learning 2016

Performing the Installation The installation program for Fedora 20 Linux involves the following general stages: Starting the installation Choosing an installation language as well as localization and system options Configuring disk partitions and filesystems Configuring user accounts CompTIA Linux+ Guide to Linux Certification, 4th Edition 11 Cengage Learning 2016

Starting the Installation Boot from Fedora Linux DVD You will be prompted to: Start the installation Perform troubleshooting actions If you select the troubleshooting option, you will be presented with four additional options Start Fedora Live in basic graphics mode Test this media & start Fedora Live Run a memory test Boot from local drive CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 12

Starting the Installation In most cases, the troubleshooting options are not necessary when installing Fedora Linux Simply choose Start Fedora Live to start a live Fedora system Once loaded, you will be presented with a welcome screen that prompts you to install Fedora Linux on permanent storage If you choose Install to Hard Drive, the Fedora installation program will start CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 13

Choosing an Installation Language and Localization and System Options You will be prompted to choose installation language Keyboard model and layout automatically detected Network interface is set to obtain network configuration automatically using the DHCP protocol Date and time are automatically obtained from the Internet If your network has Internet connectivity CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 14

Choosing an Installation Language and Localization and System Options Figure 2-8 Selecting an installation language CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 15

Choosing an Installation Language and Localization and System Options Figure 2-9 Configuring localization and system options CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 16

Choosing an Installation Language and Localization and System Options You must manually select an installation destination before installation can continue Select a permanent storage device that will contain the Linux OS 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) CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 17

Choosing an Installation Language and Localization and System Options By clicking the Installation Destination icon (see Figure 2-9) You will be presented with a list of the different permanent storage devices in your system If you have multiple disk devices Select the disk that will be used to contain Linux You can also install Linux on an external Storage Area Network (SAN), Direct Access Storage Device (DASD), or firmware Redundant Array of Inexpensive Disks (RAID) device CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 18

Choosing an Installation Language and Localization and System Options Figure 2-10 Configuring an installation destination CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 19

Configuring Disk Partitions and Filesystems Each hard disk is divided into partitions Partitions are formatted with filesystems Filesystem is a structure that specifies how data should reside on the hard disk Maximum four primary partitions Extended partition can be divided into logical drives Master Boot Record (MBR): a table of all partition information for a certain hard disk or SSD CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 20

Configuring Disk Partitions and Filesystems Table 2-3 Example partitioning scheme for the first SATA/SCSI device CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 21

Configuring Disk Partitions and Filesystems Filesystems can be accessed by Linux if it is attached (mounted) to a certain directory Fedora installation program can automatically create partitions Generally a good practice to manually partition Linux typically requires only two partitions Partition mounted to the root directory Partition for virtual memory (swap memory) Area on hard disk used to store information normally residing in physical memory (RAM) CompTIA Linux+ Guide to Linux Certification, 4th Edition 22 Cengage Learning 2016

Configuring Disk Partitions and Filesystems Table 2-4 Common Linux filesystems and sizes CompTIA Linux+ Guide to Linux Certification, 4th Edition 23 Cengage Learning 2016

Configuring Disk Partitions and Filesystems 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 CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 24

Configuring Disk Partitions and Filesystems Once an installation destination has been selected, the installation program will prompt you to choose: The partitioning scheme Whether the number and type of disk partitions should be configured automatically If partition contents should be automatically encrypted CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 25

Configuring Disk Partitions and Filesystems Figure 2-11 Selecting disk partitioning options CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 26

Configuring Disk Partitions and Filesystems Instead of standard partitions, you can choose a partition scheme that creates logical volumes: Using the Logical Volume Manager (LVM) That support the new B-tree Filesystem (BTRFS) To allow for easier system recovery Choose a standard partition scheme and ensure that contents of disk partitions are not encrypted CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 27

Configuring User Accounts Authentication: Users log in via valid user name and password Configure two user accounts Administrator account (root): full rights to system Regular user account The installation program prompts you to configure the password for the root user As well as create a new user account Next, click the Quit button to exit the installation program CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 28

Configuring User Accounts Figure 2-13 Configuring user accounts during a Fedora installation CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 29

Basic Linux Usage It is essential to understand: The different types of user interface Basic tasks, such as: Command execution Obtaining online help Shutting down the Linux system CompTIA Linux+ Guide to Linux Certification, 4th Edition 30 Cengage Learning 2016

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 CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 31

Shells, Terminals, and the Kernel Figure 2-14 Shells, terminals, and the kernel CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 32

Shells, Terminals, and the Kernel Graphical user 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 Such as Ctrl+Alt+F2 Command line prompt reflects the type of user that is logged in: Root user: # Regular user: $ CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 33

Shells, Terminals, and the Kernel Table 2-5 Common Linux terminals CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 34

Shells, Terminals, and the Kernel The default GUI environment in Fedora Linux is GNOME Command-line terminal may be accessed from GNOME by accessing the Activities menu in the upper left of the desktop Navigate to Show Applications, Utilities, Terminal CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 35

Basic Shell Commands Commands: indicate the name of program to execute Are case sensitive Options: specific letters starting with a dash - and appear after command name Alter the way the command works Arguments: specify a command s specific working parameters Do not start with a dash CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 36

Basic Shell Commands Table 2-6: Some common Linux commands CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 37

Shell Metacharacters Metacharacters: keyboard characters with a special meaning e.g., $ Tells the shell that the following text 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 CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 38

Shell Metacharacters Table 2-7: Common BASH Shell metacharacters CompTIA Linux+ Guide to Linux Certification, 4th Edition 39

Getting Command Help Manual (man) pages: most common form of documentation for Linux commands At command prompt, type the man command followed by command name Manual pages Contain different sections Section numbers describe the category of the command in the manual page database Searchable by keyword CompTIA Linux+ Guide to Linux Certification, 4th Edition 40 Cengage Learning 2016

Getting Command Help Table 2-8: Manual page section numbers CompTIA Linux+ Guide to Linux Certification, 4th Edition 41

Getting Command Help GNU info pages: set of local, easy-to-read command syntax documentation At command prompt, type the info command followed by a command name Originally intended to replace the man command in Linux Some commands do not have manual or info pages Usually functions that are built into the BASH shell CompTIA Linux+ Guide to Linux Certification, 4th Edition 42 Cengage Learning 2016

Shutting Down the Linux System The OS handles writing data from computer memory to the disk drives Simply turning off power to the computer might result in damaged user and system files Issue the shutdown command Can halt or reboot your computer after a certain period of time To stop the shutdown Press Ctrl and c keys and then issue the command shutdown -c to cancel the shutdown CompTIA Linux+ Guide to Linux Certification, 4th Edition 43 Cengage Learning 2016

Shutting Down the Linux System Table 2-9: Commands to halt and reboot the Linux operating system CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 44

Summary Prior to installation, verify hardware requirements using the HCL You can obtain Linux installation media by downloading an ISO image from the Internet Can be written to a DVD or USB flash drive Installation prompts for language, date, time zone, keyboard layout, network configuration, user account configuration, and permanent storage configuration CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 45

Summary Users must log in to a terminal and receive a shell before they are able to interact with the Linux system and kernel 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 CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 46

Summary 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 CompTIA Linux+ Guide to Linux Certification, 4th Edition Cengage Learning 2016 47