LINUX System Administration

Slides:



Advertisements
Similar presentations
What is an operating system? Is it software?
Advertisements

UNIX Tools 2006 – Lecture 1 Jeffrey Korn Ernest Lee.
COMPUTER SYSTEMS OPERATING SYSTEMS AND SOFTWARE NEXT.
Matrix Reloaded. CSE – Lecture 1 Pat O'Keefe.
Introduction to UNIX Acknowledgement:Thanks to Dr Andrew Horner for the original version of this set of slides. All trademarks are the properties of their.
Unix Systems Administration 1Y. K. Chang UNIX History : Bell Lab joined with GEC and Project MAC of MIT to develop Multics: multi-user and data-sharing.
Wednesday, June 07, 2006 “Unix is user friendly … it’s just picky about it’s friends”. - Anonymous.
CS 497C – Introduction to UNIX Lecture 2: Work with Files and Directories Chin-Chih Chang
CMPTR1 CHAPTER 3 COMPUTER SOFTWARE Application Software – The programs/software/apps that we run to do things like word processing, web browsing, and games.
Cartoon from 1993.
Operating Systems - Introduction S H Srinivasan
Figure 1.1 Interaction between applications and the operating system.
Operating Systems Every computer has two fundamental components: hardware and software The term hardware refers to the physical components inside a computer.
Introduction Operating Systems’ Concepts and Structure Lecture 1 ~ Spring, 2008 ~ Spring, 2008TUCN. Operating Systems. Lecture 1.
Xuan Guo Chapter 1 What is UNIX? Graham Glass and King Ables, UNIX for Programmers and Users, Third Edition, Pearson Prentice Hall, 2003 Original Notes.
Introduction to UNIX Acknowledgement:Thanks to Dr Andrew Horner for the original version of this set of slides. All trademarks are the properties of their.
Unix Presentation. What is an Operating System An operating system (OS) is a program that allows you to interact with the computer -- all of the software.
The University of Akron Summit College Business Technology Department Computer Information Systems 2440: 145 Operating Systems Introduction to UNIX/Linux.
Introduction A computer system consists of hardware system programs application programs.
Chapter 10 – UNIX. History In late 1960s, two employees of Bell Labs (Ken Thompson & Dennis Ritchie) designed a new operating system to overcome the constraints.
1 ITSK 2611 Welcome. 2 Operating System 3 What is an OS Resource Manager –Disk –Memory –CPU Device Manager –Printers –Video Card –Sound Card Utility.
LINUX/UNIX WORKSTATIONS Franklin Montenegro Carlos Sierra.
Introduction to Unix Administration Objectives –to identify the basic concepts of Unix administration Contents –history of Unix –unix vendors and standards.
Operating Systems CS3502 Fall 2014 Dr. Jose M. Garrido
유닉스, 왜 공부하나 ? 자동화 –GUI vs commands 서버 개발 능력, 관리 능력 – 데스크탑에서의 개발과 관리와의 차이 ?
LINUX System : Lecture 2 OS and UNIX summary Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University Acknowledgement.
Chapter 1: Welcome to Linux An intro to UNIX-related operating systems.
Chapter 1 What is UNIX? Graham Glass and King Ables,
Unix Background. Introducing Unix Brief Unix History u In 1969, Ken Thompson at AT&T Bell Labs began developing Unix. –First done in assembly language.
1 © 2001 John Urrutia. All rights reserved. Welcome to CIS 52 WELCOME WELCOME W E L C O M E.
Chapter 2 Operating System Overview
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview Part 2: History (continued)
Operating System Part II: Introduction to the Unix Operating System (The Evolution of Unix)
LINUX System : Lecture 1 Course Overview Bong-Soo Sohn Associate Professor School of Computer Science and Engineering Chung-Ang University.
CE Operating Systems Lecture 5 Overview of Unix/Linux operating systems.
LINUX System : Lecture 7 Bong-Soo Sohn Lecture notes acknowledgement : The design of UNIX Operating System.
History of UNIX a short version CSCI 333 August 31, 2011.
Computers & Operating Systems
Linux Overview COMS W4118 Spring Slides based on Phil Hutto, Silberschatz 2 History Linux is a modern, free operating system based on UNIX standards.
CSCI 330 UNIX and Network Programming Unit I Introduction.
Introduction 1 Chapter 1. Introduction History and Proliferation Mandate for Change What’s Good and Wrong Scope of this course.
Basic UNIX Concepts. Why We Need an Operating System (OS) OS interacts with hardware and manages programs. A safe environment for programs to run is required.
Background & History of UNIX & Linux Fort Collins, CO Copyright © XTR Systems, LLC The Background and Short History of UNIX & Linux Instructor: Joseph.
Introduction to UNIX CS 2204 Class meeting 1 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
Introduction to UNIX CS465. What is UNIX? (1) UNIX is an Operating System (OS). An operating system is a control program that allocates the computer's.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 2: The Linux System Part 1.
Agenda UNX122_022_w1_p3 Overview of UNIX
CEG 2400 FALL 2012 Linux/UNIX Network Operating Systems.
OPS224 Operating Systems - Unix Instructor: MURRAY SAUL.
Computer Software Introduction Software Classification Operating systems End user Applications Programmers’ tools Utilities.
Computer Center | Network Group IISER Bhopal Introduction to Basic Component of Computer System Vinay Bajpai iiserb.ac.in Computer Center Indian.
UNIX Operating System. A Brief Review of Computer System 1. The Hardware CPU, RAM, ROM, DISK, CD-ROM, Monitor, Graphics Card, Keyboard, Mouse, Printer,
Introduction to System Administration. System Administration  System Administration  Duties of System Administrator  Types of Administrators/Users.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Systems Software / The Operating System CSC October 14, 2010.
UNIX/Linux Fundamentals – Lecture 1 Md Modasshir.
UNIX and SOFTWARE TOOLS Dr. Tran, Van Hoai Faculty of Computer Science and Engineering HCMC Uni. of Technology
UDel CISC361 Study Operating System principles - processes, threads - scheduling - mutual exclusion - synchronization - deadlocks - memory management -
Computer System Structures
A LECTURE NOTE.
Operating System & Application Software
Welcome to CIS 52 WELCOME WELCOME WELCOME W E L C O M E.
LINUX System Administration
What is an Operating System?
Chapter 2: The Linux System Part 1
LINUX System Administration
LINUX System : Lecture 7 Lecture notes acknowledgement : The design of UNIX Operating System.
Chapter 1 What is UNIX? Graham Glass and King Ables,
Presentation transcript:

LINUX System Administration Perspectives, Practices and Expectations

Eunuchs or UNIX?

System Administration? General user administration Disk administration Application Administration Scripting and automation Security Network Performance – CPU, memory, disk, network Application installation, configuration and maintenance System software installation, configuration and maintenance OS installation, configuration and maintenance Virtualization Storage/Backup/Restore Hardware selection and design Architectural design Platform Interface

Why UNIX? Technical strengths – Common platform, commands and services The original “portable” OS Multi-user OS Disk/process oriented Highly configurable Basis of most modern open source technologies and platforms – File Systems, Inter-process communication, script languages, “C” language, Language roject Packaging (IDEW/SCCS) Regex, Internet – TCP/IP, MAC OSx (BSD) , IBM and Windows UNIX Services Many vendors – software, hardware platforms At some level not proprietary? (snicker)

Commercial UNIX Versions IBM AIX SunOS, Solaris Ultrix, Digital Unix (DEC/Compaq)) HP-UX Irix (SGI) SCO (Inte) UnixWare -> Novell -> SCO -> Caldera ->SCO Xenix: -> SCO OSF Standardization (Posix, X/Open, OSF-1) Coherent (RIP)

UNIX Source Code License Developed in 1960’s on DEC PDP with 6 bit hardware. Later ported to AT&T 3B hardware for automated switching systems. Internal development continues. BSD developed at UC Berkley in mid-70’s by Ken Thompson and Bill Joy with features like “vi”, TCP/IP. After internal and academic distribution, AT&T enters computer business in 1982-3 with System III after AT&T breakup. Commercial variants expand Sun, IBM, HP and smaller vendors. PC development leads to SCO – only Intel based commercial version. System V and BSD continue parallel development until terminal versions AT&T SVR4 and BSD4.3 LINUX in late 1980’s. BSD “Tahoe”, “Reno” versions continue into early 90’s. USL passws from AT&T Bell Labs, Lucent/Alcatel, Caldera, Novell (licensed to SCO) and then Attachmate and Microsoft.

The SCO Story 1980s: Started by Intel (Santa Cruz Operations). Only Intel based commercial UNIX 1980s-1990s: Post AT&T breakup, USL changes hands several time winding up with Novell. “Licenses” USL to SCO. March 2003: SCO sues IBM for $3 billion. Alleges contributions to Linux come from proprietary licensed code. AIX is based on System V r4, now owned by SCO? Aug 2003: Evidence released. Some code traced to Ancient UNIX but isn’t in 90% of all running Linux distributions. Suspect code dropped from Linux in July Aug 2005: Linux Kernel Code May Have Been in SCO - 2009: Lawsuit proceeds supported by “patent trolls” 2009 – 2010: Lawsuit dismissed. Goodbye SCO. 2011: Netware dead. USL sold to Attachmate and Microsoft(?)

UNIX Structure User Space Kernel Devices shell scripts utilities C programs system calls compilers signal handler scheduler Kernel device drivers swapper terminal printer Devices disk RAM

What is the kernel? The kernel is … a program loaded into memory during the boot process, and always stays in physical memory. responsible for managing CPU and memory for processes, managing file systems, and interacting with devices. The Operating System Microkernel architecture, HAL

Kernel Subsystems Process management Memory management I/O system Schedule processes to run on CPU Inter-process communication (IPC) Memory management Virtual memory Paging and swapping I/O system File system Device drivers Buffer cache Network I/O, protocol stacks

System Calls to OS Interface to the kernel – microkernel level 3 Over 1,000 system calls available on Linux 3 main categories File/device manipulation e.g. mkdir(), unlink() Process control e.g. fork(), execve(), nice() Information manipulation e.g. getuid(), time()

System call in code The kernel implements a set of special routines A user program invokes a routine in the kernel by issuing a hardware TRAP The trap switches the CPU into a privileged mode and the kernel executes the system call The CPU goes back to user mode A C language API exists for all system calls

Why LINUX? “Free” open source via GPL with all the UNIX advantages Multitude of available software Multi-vendor support some even commercial level (i.e. RedHat) Desktop of the future? (see Android) Few proprietary competitors (i.e. Apple, IBM, Novell) Even fewer *NIX competitors – SCO (dead), Open/Free BSD Few viable Intel based competitors, even fewer ARM based competitors “Frozen” USL at System V R4 Proprietary UNIX hardware/software vendors falling by the wayside Convergence of hardware and software platforms Services not systems - “the cloud” New technologies – Android, Redhat, Centos, Ubuntu Basis for a lot of other proprietary technologies - database frontends, network appliances

Administrivia rjtaylor@oakton.edu, all day, every day. Or Division II office if necessary. See syllabus for class schedule Be on time, eat a good breakfast, it’s a long day, short lunch Check the website regularly: HTTP://www.oakton.edu/~rjtaylor and follow links. Class material always being updated. Office hour: Just after class Labs 75% of grade, attendance is a good idea Read ahead, online text, supplementary material, Internet reading assignments Acceptable Use Policy – Systems are on the school and Internet. Personal systems OK, wirelesss is unencrypted. If you wouldn’t do it in front of your mother/wife/girlfriend/kids/significant other/life partner, don’t do it here. Bad/impolitic/wife/mother-in-law/current event humor OK (see instructor), keep your politics and biases to yourself. Removeable disc procedures.

Who cares, how do I get an A? Labs: 75% Midterm, Final: 25% Got to be there (Michael Jackson)