Advanced Linux System Administra3on

Similar documents
Unix to Linux. CS 3113 Fall 2018 Dr. Christan Grant

Introduction to Linux Overview and Some History

Overview of Unix / Linux operating systems

Systems Programming. The Unix/Linux Operating System

Basics of system administration on a Unix system

INTRODUCTION TO OPERATING SYSTEMS. Jo, Heeseung

Introduction to Operating Systems. Jo, Heeseung

An Operating System History of Operating Systems. Operating Systems. Autumn CS4023

Lecture Topics. Announcements. Today: Operating System Overview (Stallings, chapter , ) Next: Processes (Stallings, chapter

Introduction to Operating Systems

Advanced Linux System Administra3on

COPYRIGHTED MATERIAL. Unix Fundamentals. Brief History

Advanced Linux System Administra3on

History And Modern Uses Of The Unix Operating System (including embedded devices and mobile phones).

COURSE OUTLINE. UNIX Programming 2014 Fall by Euiseong Seo

Introduction to Linux

Linux. What is it? What s good about it? What s bad about it?

Operating System Labs. Yuanbin Wu

LINUX System Administration. Perspectives, Practices and Expectations

Brief Linux Presentation. July 10th, 2006 Elan Borenstein

Course and Unix Intro

tech. solutions T2G Page1 ALT_01_Ch1 : Introduction to Linux ideas and history The History of Linux starts with the earlier development of UNIX.

Linux Introduction. Simon COTER Director of Product Management Oracle VM & VirtualBox

CS108 Software Systems: UNIX. Fall 2011

CNT 4603, Spring 2009: Introduction

Practical Computing-II. Programming in the Linux Environment. 0. An Introduction. B.W.Gore. March 20, 2015

Operating Systems. Pablo Prieto Torralbo. 1. Introduction DEPARTMENT OF COMPUTER ENGINEERING

Introduction to Operating Systems. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Chapter 01: Introduction to Linux

History of Unix, Linux and the Open Source

CNT 5605, Fall 2009: Introduction

CSCI 2132 Software Development. Lecture 2: Introduction to UNIX and Unix-like Operating Systems

CMPSC 311- Introduction to Systems Programming Module: UNIX/Operating Systems

Basic UNIX. Jon K. Lærdahl, Structural Bioinforma cs

Logistics. 1: Welcome and Overview. Topics. What is an operating system? Benefits of Operating Systems (1) Hardware Resources

UNIX. The Very 10 Short Howto for beginners. Soon-Hyung Yook. March 27, Soon-Hyung Yook UNIX March 27, / 29

Operating Systems History & Approaches. Computer Systems Laboratory Sungkyunkwan University

Introduction to Linux

Introduction to Unix. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

CIS 90 Introduction to UNIX/Linux

UNIX/Linux Fundamentals Lecture 1. Nick Stiffler Philip Conrad

OPEN SOURCE SOFTWARE

Advanced Linux System Administra3on

Welcome to CIS 90 Introduction to UNIX/Linux

UNIX Kernel. UNIX History

Advanced Linux System Administra3on

1: Welcome and Overview COM S 414. Last Modified: 9/2/ :04:21 PM

Introduction to Operating Systems. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Projects and Environment Introduction

Introduction to Cygwin Operating Environment

Lecture 01: welcome and intro what LSD and Unix have in common

Operating systems fundamentals - B01

CSE 306: Opera.ng Systems Opera.ng Systems History and Overview

Opera.ng Systems History and Overview

Introduction to Operating Systems. Note Packet # 1. CSN 115 Operating Systems. Genesee Community College. CSN Lab Overview

Fundamental Concepts and History

*nix Crash Course. Presented by: Virginia Tech Linux / Unix Users Group VTLUUG

Operating System Labs. Yuanbin Wu

Unix Linux Fundamentals And Shell Scripting

Operating Systems CS3502 Spring 2018

Advanced Linux System Administra3on

Introduc+on. General Information. General Information. General Information. General Information. General Information

Unix/Linux: History and Philosophy

CS Operating Systems (OS) Introduction. Lecture 2 Sept 12, 2018

Introduc)on to Compu)ng. Heng Sovannarith

Introductory Visualizing Technology

Linux Session Part I. Kesavan M

CMPSC 311- Introduction to Systems Programming Module: UNIX/Operating Systems

computers to personal computers

Free & Open Source Software: The Academic Future

Introduction to UNIX and Linux: Lecture 1

Operating Systems. I. Introduction. Eurecom

Linux for Beginners. Windows users should download putty or bitvise:

CS395T: Introduction to Scientific and Technical Computing

The Unix Family. Linux 101. GNU/Linux distributions. Even more. MULTICS MIT/GE/Bell Labs. UNIX AT&T (Bell Labs) Mach, Carnegie Mellon

The Operating System Machine Level

The Operating System Machine Level

Author(s): August E. Evrard, PhD. 2010

CSE-205: Unix and Shell Programming Unit I The UNIX Operating system

Introduction and Overview Getting Started

a story of alternatives

CSC 634: Networks Programming

Data Analysis in Geophysics ESCI Class 1. Bob Smalley. Basics of the Computer Environment

Linux Fundamentals & Practice

NWI-IBC019: Operating systems. Nils Jansen and Bernard van Gastel


Operating System Concepts Rab Nawaz Khan Jadoon

OS History and OS Structures

What is an operating system (OS or O/S)?

Spring Modern Computer Science in a Unix Like Environment CIS c

CISC 220 fall 2011, set 1: Linux basics

Overview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions

SOFTWARE ARCHITECTURE

COSC350 System Software

Introduction to Linux

CS 167: Operating Systems. Operating Systems In Depth I 1 Copyright 2017 Thomas W. Doeppner. All rights reserved.

High Performance Computing Lecture 11. Matthew Jacob Indian Institute of Science

Linux Operating System

Advanced Linux System Administra3on

The role of amateurs in computer science

Transcription:

Advanced Linux System Administra3on Topic 1. Introduc3on to UNIX/Linux Pablo Abad Fidalgo José Ángel Herrero Velasco Departamento de Ingeniería Informá2ca y Electrónica Este tema se publica bajo Licencia: Crea2ve Commons BY- NC- SA 4.0

General Proper$es of UNIX/Linux UNIX: born as an Opera0ng System, now a standard. Mul$user & Mul$task capabili0es (from the beginning). Excellent environment for networks: Current networks (TCP/IP) are highly coupled to UNIX. Scalability: clustering, Symmetric Mul0process Capability (SMP) Reliability: large MTBF (Mean 0me between failures/reboots) Portability (from a mobile device to the supercomputer with the highest performance): hmp://www.top500.org/system/177975. Titan - Cray XK7 Opera$ng System: Cray Linux Environment.

General Proper$es of UNIX/Linux Embedded (80%) Supercomputer (90%) Smartphone/Tablet (25-40%) Desktop/Laptop/Netbook (1.5-30%) Server (60%) Cluster (66%)

General Proper$es of UNIX/Linux SYSTEM STRUCTURE Monolithic system: The whole OS in a reserved memory space (kernel space). The only component in that space, in supervisor mode. User interface: system calls: Open, read, write, close, wait, exec, fork, exit, kill Libraries/command interpreter (shell): Middleware between programs and OS. Glibc: part of C Library with subrou0nes implemented to perform system calls (prinx). Hundreds of commands. Hundreds of applica0ons. shell applications system calls kernel library routines

General Proper$es of UNIX/Linux SYSTEM STRUCTURE The Kernel: Processor management: Scheduling. Memory management, both physical and virtual (swapping). I/O management. Storage, files and folder management. Protec0on. Time & date management. Accoun0ng. applications shell system calls kernel G660: Sistemas Operativos. library routines

Origins (60 s) (1964) MULTICS (Mul0plexed Informa0on and Compu0ng System): MIT + Bell Labs (AT&T) + General Electrics. Experimental OS for the Mainframe GE- 645 (18- bit): Time sharing + remote terminals (phone) to edit documents, run calcula0ons Delays, High cost, Low performance Cancela0on (1969). (1969) UNICS (Uniplexed Informa0on and Compu0ng System): Developed by Dennis Ritchie and Ken Thompson for a DEC PDP- 7. Space Travel game involved. Incorporates: process concept, File system, command interpreter (shell).

Origins (early 70 s) (1970) Migra0on to a new machine (DEC PDP- 11/20): Thompson & Ritchie cheat their bosses: they need the new machine to develop new text processing tools. Small print: a new OS will be developed to support those tools. assembly develops. Implica0ons? (1972) UNIX code is re- wrimen in C (C- UNIX): Portable and architecture- independent (mul0plahorm). C was created by Ritchie, as an evolu0on of B (BCPL: Basic Combined Programming Language). PDP-7 PDP-11/20

Expansion (mid- late 70 s) (1974) Their authors publish a paper (Communica*ons of the ACM): Copies requested. As AT&T can only sell telephone and telecommunica0on products by law, it is freely distributed. No adver0sing, no support, no bug fixes, payment in advance. Origin of the OpenSource movement: Usenix: No support, users organize themselves to provide mutual support. Exchange magne0c tapes with new sokware or correc0ons. UNIX Flavors : AT&T Unix versions (free): version 1-7 + 8-10. AT&T Unix System III- V (commercial): Introduced in 1981, System V eliminates version dispersion. BSD, Berkeley Sokware Distribu0on (free): Promoted by Thompson during a sabba0cal at California University. Incorporates many improvements (Virtual Memory, c- shell, sendmail, etc.).

UNIX Nowadays Does not exist as an OS, the term UNIX is only employed to designate a family of Opera0ng Systems. UNIX Opera0ng System: To be considered a UNIX system, an OS must fulfill the Single UNIX specifica0on (extension of the POSIX standard and official defini0on of a UNIX system). Registered UNIX systems: Mac OS X 10.5 and 10.6 (Apple Inc.), HP- UX 11i V3 release B.11..31 and later (HP), AIX 5L V5.3 (IBM), Solaris 10 (Sun and Fujitsu), IRIX 6.5.28 (SGI). UNIX- like Opera0ng System: Mul0user systems based on POSIX (do not fulfill the specifica0on extension Single UNIX specifica0on ). Non UNIX Systems: GNU Linux, FreeBSD, OpenBSD.

UNIX Nowadays

Linux (GNU)

Linux (GNU) Project GNU (1983): develop a whole free sw OS: Originally aims to implement their own kernel (HURD). recursive acronym: GNU is not UNIX. Linux: Gradua0on project by Linus Torvalds (1991): PhD Requirements: proposed an improved version of MINIX (academic OS proposed by Tanenbaum). Web- hosted project that kept on expanding un0l 1992, reaching the first Linux version (1.0). Linux is OpenSource. Most of its code is developed by the GNU movement (gcc compiler, bash, gnome ): Other OpenSource licenses: MIT, Apache, FreeBSD, etc. Stallman vs. Torvalds (GNU- Linux vs. Linux).

Linux (GNU) Large diversity of distribu0ons (projects): Some of them commercially supported: Fedora core (Red Hat), Open Suse (Suse- Novell), Ubuntu (Debian), Gentoo (Linux BSD), Android (Linux). hmp://futurist.se/gldt/. The only official part in LINUX is the kernel: Many important companies have already invested large amounts of money in its development: IBM, SGI, Intel, AMD, etc. GPL License (GNU Public License): Source code can be copied and distributed, ci0ng the origin of the code. Modifica0ons must be distributed under GPL license. Making use of code fragments under others kinds of licenses requires the acknowledgement of the authors. The cost of a distribu0on only involves the cost of providing support. Can be updated via web: www.linux.org.

Linux (GNU) Main technical features Mul$task: mul0ple processes running at the same 0me: Time mul0plexing + context switch. The kernel has full control. Mul$user: Apps of each user run without interfering with the rest of users. Mul$processor: Kernel support for SMP. Mul$plaUorm: Architecture independent. Standard Interface: SYSV, BSD & POSIX 1003.c. Protected Memory model (processor protec0on modes): Prevents access to memory por0ons in use by other processes or the kernel. Mul$ple file systems supported: Na0ve system is ext (Extended File System) (ext4 currently), but supports many more: VFS, JFS, FAT, ISO9600 (iso moun0ng), HPFS, NTFS. Wide network support (TCP/IP, IPX, Eth, Inf, etc.). Mul$ple binary formats (ibcs, UNIX, etc.).

Linux (GNU) PROS & CONS Cost (Licensing): Usually free and available Source Code (GPL). Fast solu0on to security problems, incompa0bility issues, etc. Early adop0on of novel technologies. Cost (Administra0on): Much Larger learning curve. Deep system understanding required. Some solu0ons available for the desktop environment (ubuntu). Security: Far less suscep0ble to viruses and malware. An0- virus sokware usually not required. Security might be some0mes a mamer of market quote.

Linux (GNU) PROS & CONS Hardware: Works well on older machines, requires less powerful hardware. Proprietary Sokware (Availability): Some admin/network tools not available (sharepoint). MS Office far bemer than LibreOffice/OpenOffice. Internet Explorer legacy web apps. Support: Growing number of companies provide professional support (IBM, HP, RedHat ). Big companies moving their business model towards Linux. Moreover ac0ve user community willing to help: Newsgroups, Forums, Online communi0es (stackoverflow, hispalinux, etc.).

Linux (GNU) PROS & CONS Compa0bility: Fulfills standards IEEE POSIX1, SYSVR3, SYSVR4. WriMen mainly in C (portability). Can run in: intel X86, Itanium (64b), MIPS, Motorola- PPC, Alpha, ARM, etc. Drivers?? The Driver Issue : Apple: Easy 0me. Only support a curated, small hw set. Windows: a large amount of drivers. Manufacturers need to provide a driver (quality??). Linux: Also amempts to support a lot of hw, but some manufacturers are indifferent (market quote). Developed without manufacturer support in some cases (quality??).