Lecture1 100412095202-phpapp02

30
Introduction and Overview Questions answered in this lecture: What is an operating system? History of Linux ? Comparison between Linux & Windows? University of Education Linux Operating Systems Muhammad Amer Irshad

description

 

Transcript of Lecture1 100412095202-phpapp02

Page 1: Lecture1 100412095202-phpapp02

Introduction and Overview

Questions answered in this lecture:What is an operating system?History of Linux ?Comparison between Linux & Windows?

University of Education

Linux Operating Systems Muhammad Amer Irshad

Page 2: Lecture1 100412095202-phpapp02

Operating System

Page 3: Lecture1 100412095202-phpapp02

What is an Operating System?

OS:Everything in system that isn’t an application or hardware

OS:Software that converts hardware into a useful form for applications

Not easy to define precisely…

Users

Hardware

Operating System

ApplicationsCompilers databasesword processors

CPUmemoryI/O devices

Page 4: Lecture1 100412095202-phpapp02

First commercial systems

1950s Hardware• expensive, and slow• Input/Output: Punch cards and line printers

Goal of OS• Get the hardware working• Single operator/programmer/user runs and debugs

interactively

Page 5: Lecture1 100412095202-phpapp02

Current Systems

Conclusion: OS changes due to both hardware and users

Current trends• Multiprocessors• Networked systems• Virtual machines

OS code base is large• Millions of lines of code• 1000 person-years of work

Code is complex and poorly understood• System will always contain bugs• Behavior is hard to predict, tuning is done by guessing

Page 6: Lecture1 100412095202-phpapp02

A Brief History of

Page 7: Lecture1 100412095202-phpapp02

Linux Operating System

Page 8: Lecture1 100412095202-phpapp02

Bell Labs

Page 9: Lecture1 100412095202-phpapp02

C

Page 10: Lecture1 100412095202-phpapp02

Unix

Unix was created by Ken Thompson and Dennis

Richie on a "spare" DEC PDP-7

Page 11: Lecture1 100412095202-phpapp02

Why Unix? To play games faster on company

hardware. To experiment more with creating a multi-

user multi-tasking computer system. This didn't happen in Windows until XP.

Ken Thompso

n and Dennis Richie

Page 12: Lecture1 100412095202-phpapp02

Every job needs a tool

The C programming language was created to be a systems programing language. “C is a... systems implementation language. It was

designed ... to provide low-level access to memory, to provide language constructs that map efficiently to machine instructions, and to require minimal run-time support. C was therefore useful for many applications that had formerly been coded in assembly language.”

C has expanded to be used for general application use.

Called C because many features came from an early programming language called B.

Hello, World!

Page 13: Lecture1 100412095202-phpapp02

Early Unix History

Work began in 1970 on Unix. The name is a pun on Multics (Unics). The first application was a word process

(1971). C was developed in 1972. In 1973 Unix was rewritten in C.

Writing system code in a language was unheard of.

Allowed for portability.

Page 14: Lecture1 100412095202-phpapp02

Unix growth

For a modest fee Bell Labs would send you the source code.

Became popular for universities and students for to us as example code.

Minix was developed to teach student systems level programming.

Page 15: Lecture1 100412095202-phpapp02

GNU Manifesto

Richard Stallman started GNU (circa 1985)

End goal was a free Unix-like system.

Developed clones of Unix utilities that were often better than the originals.

The kernel was not developed at this time.

Page 16: Lecture1 100412095202-phpapp02

Linus Torvolds

Wrote his own Unix-like kernel in 1991. To demonstrate his

understanding of systems programming.

Released as open source in 1992.

Named by his friend/file host.

Page 17: Lecture1 100412095202-phpapp02

Tux

The Linux Kernel mascot is a penguin named 'Tux'.

It was chosen by the Linux Benevolent Dictator for Life.

Page 18: Lecture1 100412095202-phpapp02

Choosing a mascot

In early 1996 people were discussing the need to a logo for Linux.

Several ideas were suggested.

Page 19: Lecture1 100412095202-phpapp02

Why A Penguin?

“Ok, short version:“I've always liked penguins, and when I was in

Canberra a few years ago we went to the local zoo with Andrew Tridgell (of samba fame). There they had a ferocious penguin that bit me and infected me with a little known disease called penguinitis. Penguinitis makes you stay awake at nights just thinking about penguins and feeling great love towards them. So when Linux needed a mascot, the first thing that came into my mind was this picture of the majestic penguin, and the rest is history.”

Page 20: Lecture1 100412095202-phpapp02

Early Linux Growth

Red Hat founded in 1993 selling their own distribution and technical support, currently making half a billion dollars a year.

Unix used to be the major web server operating system, but now Linux is widely used as a web server.

Throughout the 90s there was massive improvements in usability and a wide growth in the number of programs for Linux.

Page 21: Lecture1 100412095202-phpapp02

Who Uses Linux?

I am not joking or trying to be trite, but the answer to this question is: every single person in the modern world every day. Everyone who searches Google, picks up a phone and uses telecommunication infrastructure, watches a new televisions, use a new camera, makes a call on many modern cell phones, trades a stock on a major exchange, watches a weather forecast generated on a supercomputer, logs into Facebook, navigates via air traffic control systems, buys a netbook computer, checks out at a cash register, withdraws cash at an ATM machine, fires up a quick-boot desktop (even those with Windows), or uses one of many medical devices; the list goes on and on.

-Jim Zemlin, the executive director of The Linux Foundation

Page 22: Lecture1 100412095202-phpapp02

Current Linux Growth

By the 21st century Linux distributions began to clearly focus on ease of use and ease of install.

Mandrake/Mandriva Linux was the easiest to install and use in the early part of this century.

Currently, Ubuntu Linux is the easiest to install with only 6 questions before install begins: Including: language, name, time zone, keyboard,

confirm hard drive, ready to install?

Page 23: Lecture1 100412095202-phpapp02

Blue Linux

Red Linux

Two Linux

One Linux

Page 24: Lecture1 100412095202-phpapp02
Page 25: Lecture1 100412095202-phpapp02
Page 26: Lecture1 100412095202-phpapp02
Page 27: Lecture1 100412095202-phpapp02
Page 28: Lecture1 100412095202-phpapp02

Mark Shuttleworth

Mark Shuttleworth is a South African entrepreneur.

Lives in London, UK

Was the second space tourist.

Was a Debian Developer in the 1990s.

Page 29: Lecture1 100412095202-phpapp02

Ubuntu

Mark Shuttleworth founded Canonical Ltd in 2004 to develop Ubuntu.

Ubuntu would focus on ease of use.

An African word meaning 'Humanity to others', or 'I am what I am because of who we all are'.

Is a down stream distribution of Debian.

Page 30: Lecture1 100412095202-phpapp02