Linux+ Guide to Linux Certification Chapter Thirteen Compression, System Back-Up, and Software Installation.

Slides:



Advertisements
Similar presentations
2000 Copyrights, Danielle S. Lahmani UNIX Tools G , Fall 2000 Danielle S. Lahmani Lecture 12.
Advertisements

File Management Systems
Linux+ Guide to Linux Certification, Second Edition
Linux+ Guide to Linux Certification, Second Edition
CIS 240 Introduction to UNIX Instructor: Sue Sampson.
Chapter 12 File Management Systems
Guide to Linux Installation and Administration, 2e1 Chapter 12 Printing in Linux.
Guide to Linux Installation and Administration, 2e1 Chapter 6 Using the Shell and Text Files.
Linux+ Guide to Linux Certification Chapter 12 Compression, System Backup, and Software Installation.
CS 497C – Introduction to UNIX Lecture 13: - The File System Chin-Chih Chang
Linux+ Guide to Linux Certification, Third Edition Chapter 11 Compression, System Backup, and Software Installation.
Guide to Linux Installation and Administration, 2e1 Chapter 13 Backing Up System Data.
Chapter 4: Operating Systems and File Management 1 Operating Systems and File Management Chapter 4.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
Backups in Linux Ning Zhu Class presentation. Introduction The dump and restore commands are the most common way to create and restore from backups in.
Chapter 11 Compression, System Backup, and Software Installation.
Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.
Module 10 – Linux Installations. Wikipedia: Red Hat Package Manager or RPM Package Manager (RPM) is a package management system. The name RPM variously.
Linux Operations and Administration
Linux+ Guide to Linux Certification Chapter Three Linux Installation and Usage.
Linux+ Guide to Linux Certification
Offline File Storage. Module 12 Offline File Storage ♦ Introduction Backup is usually done by first collecting all the data in a single archive file,
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 4 Manage Software for SUSE Linux Enterprise Server.
1 Chapter 12 File Management Systems. 2 Systems Architecture Chapter 12.
Chapter 18 Unix and Linux Cisco Learning Institute Network+ Fundamentals and Certification Copyright ©2005 by Pearson Education, Inc. Upper Saddle River,
Chapter Fourteen Windows XP Professional Fault Tolerance.
CIS Lesson 11 Backup and Restore. CIS Lesson 11 Backup and Restore The Backup Process Losing data Backup Policies Devices Problems with Backup.
Linux Package Management Dr. Michael L. Collard 1.
Linux Operations and Administration
Linux+ Guide to Linux Certification, Second Edition
Linux+ Guide to Linux Certification Chapter Four Exploring Linux Filesystems.
Install Software. UNIX Shell The UNIX/LINUX shell is a program important part of a Unix system. interface between the user & UNIX kernel starts running.
Day 7 Installing Software RPM tar, mtools make, ssh.
A Practical Guide to Fedora and Red Hat Enterprise Linux Unit 8: Installing Software in Linux Chapter 13: Downloading and Installing Software By Fred R.
Linux+ Guide to Linux Certification Chapter Ten The X Window System.
Managing Software Patches 10/15/ Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.
EMT 2390L Lecture 6 Dr. Reyes Reference: The Linux Command Line, W.E. Shotts.
CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done.
Guide to Linux Installation and Administration, 2e1 Chapter 10 Managing System Resources.
Workbook 5 - Part 2 The Linux Filesystem RH030 Linux Computing Essentials.
SUSE Linux Enterprise Desktop Administration Chapter 6 Manage Software.
Troubleshooting and Performance
Guide to Linux Installation and Administration1 Chapter 4 Running a Linux System.
Backups CSCI N321 – System and Network Administration Copyright © 2000, 2011 by Scott Orr and the Trustees of Indiana University.
CIS 193A – Lesson7 Restoration. CIS 193A – Lesson7 Focus Question Compare the ability of various backup/restore utilities to provide ease of access and.
Linux+ Guide to Linux Certification, Third Edition
Linux+ Guide to Linux Certification, Third Edition
Linux+ Guide to Linux Certification Chapter Six Linux Filesystem Administration.
1 itec 400 Backups George Vaughan Franklin University.
Filesystem Management and Backups. 2 Section Overview Devices and Files Filesystem Management Network Filesystems Backups.
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
Gorman, Stubbs, & CEP Inc. 1 Introduction to Operating Systems Lesson 8 Linux.
Software Management Linux Software Package File Extensions Extension File.rpm Software package created with the Red Hat Software Package Manager, used.
Chapter 19 File System Backup. Copyright © 2005 Pearson Addison-Wesley. All rights reserved. Objectives To describe how files and directories can be archived.
This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses. ©Copyright Network Development Group Module 7 Archiving.
Materi configure & building kernels System And Kernel Management The Complete Guide to Linux System Administration Chapter 13.
Memory management. Linux Memory Management Total memory available for processes = real memory + paging space - 1MB. First megabyte of real memory is used.
Agenda The Linux File System (chapter 4 in text) Linking Files Hard Links / Symbolic Links Disk Storage Checking for Disk Space (df / du) Archiving (Backing.
tar: The tape archive program _______________________ Amber Jain IC-2K7-05 _______________________.
Lesson 9: SOFTWARE ICT Fundamentals 2nd Semester SY
Filesystem Management and Backups
Guide to Linux Installation and Administration, 2e
Chapter 7 Installing Program &Backup Tool
COP 4343 Unix System Administration
File Managements.
The Linux Command Line Chapter 18
Module 7 Archiving and Compression
Presentation transcript:

Linux+ Guide to Linux Certification Chapter Thirteen Compression, System Back-Up, and Software Installation

Objectives Outline the features of common compression utilities Compress and decompress files using common compression utilities Perform system back-ups using the tar, cpio, and dump commands View and extract archives using the tar, cpio, and restore commands

Objectives Describe common types of Linux software Compile and install software packages from source code Use the Red Hat Package Manager to install, manage, and remove software packages

Compression Compression –Process in which files are reduced in size by a compression algorithm Compression algorithm –Set of instruction used to reduce the contents of a file systematically Compression ratio –Amount of compression that occurred during compression

Compression The three most common compression utilities available to Linux users: –compress –gzip –bzip2

The compress Utility compress command –Command used to compress files using a Lempel- Ziv compression algorithm zcat command –Command used to view the contents of an archive created with compress or gzip to Standard Output

The compress Utility zmore command –Command used to view the contents of an archive created with compress or gzip to Standard Output in a page-by-page fashion uncompress command –Command used to decompress files compressed by the compress command

The compress Utility Table 13-1: Common options used with the compress utility

The gzip Utility GNU zip (gzip) –Command used to compress files using a Lempel- Ziv compression algorithm Varies slightly from the algorithm used by the compress utility –Typically, this algorithm yields better compression than the one used by compress

The gzip Utility Table 13-2: Common options used with the gzip utility

The gzip Utility Table 13-2 (continued): Common options used with the gzip utility

The bzip2 Utility bzip2 command –Command used to compress files using a Burrows-Wheeler Block Sorting Huffman Coding compression algorithm –Cannot be used to compress a directory full of files –The zcat and zmore commands cannot be used to view files zipped with bzip2 –The compression ratio is 50-75% on average

The bzip2 Utility bzcat command –Command used to view the contents of an archive created with bzip2 to Standard Output bunzip2 command –Command used to decompress files compressed by the bzip2 command

The bzip2 Utility Table 13-3: Common options used with the bzip2 utility

The bzip2 Utility Table 13-3 (continued): Common options used with the bzip2 utility

System Back-Up System back-up –Process whereby files are copied to an archive Archive –The location (file or device) that contains a copy of files –It is typically created by a back-up utility

System Back-Up Table 13-4: Common tape device files

System Back-Up magnetic tape (mt) command –Command used to control tape devices The most common back-up utilities: –tar –cpio –dump/restore

The tar Utility Tape archive utility –One of the oldest and most common back-up utilities –Can create an archive in a file on a filesystem or directly on a device –Accepts options to determine the location of the archive and the action to perform on the archive

The tar Utility Table 13-5: Common options used with the tar utility

The tar Utility Table 13-5 (continued): Common options used with the tar utility

The tar Utility Table 13-5 (continued): Common options used with the tar utility

The tar Utility Tarballs –A gzip-compressed tar archive Backing up files to a compressed archive on a filesystem is useful when transferring data across a network but is ill-suited to backing up large amounts of data for system recovery

The cpio Utility Copy in/out (cpio) –Common back-up utility –Includes options similar to the tar utility, but has some added features including the ability to back up device files and long filenames –Uses absolute pathnames by default when archiving

The cpio Utility Table 13-6: Common options used with the cpio utility

The cpio Utility Table 13-6 (continued): Common options used with the cpio utility

The dump/restore Utility dump/restore –Can be used to back up files and directories to a device or to a file on the filesystem –Can only work with files on ext2 and ext3 filesystems /etc/dumpdates –File used to store information about incremental and full back-ups for use by the dump/restore utility

The dump/restore Utility Full back-up –An archive of an entire filesystem Incremental back-up –Archive of a filesystem that contains only files that were modified since the last archive was created

The dump/restore Utility Figure 13-1: A sample back-up strategy

The dump/restore Utility Table 13-7: Common options used with the dump/restore utility

The dump/restore Utility restore command –Command used to extract archives created with the dump command Table 13-7 (continued): Common options used with the dump/restore utility

Software Installation Package manager –System that defines a standard package format and can be used to install, query, and remove packages Red Hat Package Manager (RPM) –The most commonly used package manager for Linux

Compiling Source Code into Programs The procedure for compiling source code into binary programs is standardized today among most Open source Software developers GNU C Compiler (gcc) –Command used to compile source code into binary programs

Compiling Source Code into Programs Figure 13-2: The LTRIS program

Installing Programs Using RPM Packages in the RPM format have filenames that indicate the hardware architecture the software was compiled for, and end with the.rpm extension rpm command –Command used to install, query, and remove RPM packages

Installing Programs Using RPM Figure 13-3: The bluefish program

Installing Programs Using RPM Table 13-8: Common options used with the rpm utility

Installing Programs Using RPM Table 13-8 (continued): Common options used with the rpm utility

Installing Programs Using RPM GNOME RPM Manager –Graphical tool that may be used to install RPM packages available with the GNOME desktop environment KDE Package Manager –Graphical tool that may be used to install RPM packages available with the KDE desktop environment

Installing Programs Using RPM Figure 13-4: The GNOME RPM Manager

Installing Programs Using RPM Figure 13-5: The KDE Package Manager

Chapter Summary There are many compression utilities available for Linux systems Files may be backed up to an archive using a back-up utility The tar utility is the most common back-up utility used today

Chapter Summary The source code for Linux software may be obtained and compiled afterwards using the GNU C Compiler Package managers install and manage compiled software of the same format The Red Hat Package Manager can be used to install software in Red Hat Package Manager format