CS615 - Aspects of System Administration Department of Computer - - PowerPoint PPT Presentation

cs615 aspects of system administration
SMART_READER_LITE
LIVE PREVIEW

CS615 - Aspects of System Administration Department of Computer - - PowerPoint PPT Presentation

CS615 - Aspects of System Administration Slide 1 CS615 - Aspects of System Administration Department of Computer Science Stevens Institute of Technology Jan Schaumann jschauma@stevens.edu http://www.cs.stevens.edu/~jschauma/615/ Lecture 01:


slide-1
SLIDE 1

CS615 - Aspects of System Administration Slide 1

CS615 - Aspects of System Administration

Department of Computer Science Stevens Institute of Technology Jan Schaumann jschauma@stevens.edu http://www.cs.stevens.edu/~jschauma/615/

Lecture 01: Introduction January 23, 2017

slide-2
SLIDE 2

CS615 - Aspects of System Administration Slide 2

New Rules

Close your laptops! (Silence phones etc.)

Lecture 01: Introduction January 23, 2017

slide-3
SLIDE 3

CS615 - Aspects of System Administration Slide 3

New Rules

Close your laptops! (Silence phones etc.) Open your eyes!

(Mind, too.)

Lecture 01: Introduction January 23, 2017

slide-4
SLIDE 4

CS615 - Aspects of System Administration Slide 4

A rose by any other name...

Lecture 01: Introduction January 23, 2017

slide-5
SLIDE 5

CS615 - Aspects of System Administration Slide 5

How we see ourselves

Lecture 01: Introduction January 23, 2017

slide-6
SLIDE 6

CS615 - Aspects of System Administration Slide 6

The Job of a System Administrator

What exactly does a System Administrator do?

Lecture 01: Introduction January 23, 2017

slide-7
SLIDE 7

CS615 - Aspects of System Administration Slide 7

The Job of a System Administrator

What exactly does a System Administrator do? https://is.gd/8vKPhl

Lecture 01: Introduction January 23, 2017

slide-8
SLIDE 8

CS615 - Aspects of System Administration Slide 8

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-9
SLIDE 9

CS615 - Aspects of System Administration Slide 9

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-10
SLIDE 10

CS615 - Aspects of System Administration Slide 10

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-11
SLIDE 11

CS615 - Aspects of System Administration Slide 11

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-12
SLIDE 12

CS615 - Aspects of System Administration Slide 12

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-13
SLIDE 13

CS615 - Aspects of System Administration Slide 13

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-14
SLIDE 14

CS615 - Aspects of System Administration Slide 14

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-15
SLIDE 15

CS615 - Aspects of System Administration Slide 15

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-16
SLIDE 16

CS615 - Aspects of System Administration Slide 16

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-17
SLIDE 17

CS615 - Aspects of System Administration Slide 17

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-18
SLIDE 18

CS615 - Aspects of System Administration Slide 18

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-19
SLIDE 19

CS615 - Aspects of System Administration Slide 19

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-20
SLIDE 20

CS615 - Aspects of System Administration Slide 20

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-21
SLIDE 21

CS615 - Aspects of System Administration Slide 21

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-22
SLIDE 22

CS615 - Aspects of System Administration Slide 22

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-23
SLIDE 23

CS615 - Aspects of System Administration Slide 23

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-24
SLIDE 24

CS615 - Aspects of System Administration Slide 24

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-25
SLIDE 25

CS615 - Aspects of System Administration Slide 25

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-26
SLIDE 26

CS615 - Aspects of System Administration Slide 26

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-27
SLIDE 27

CS615 - Aspects of System Administration Slide 27

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-28
SLIDE 28

CS615 - Aspects of System Administration Slide 28

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-29
SLIDE 29

CS615 - Aspects of System Administration Slide 29

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-30
SLIDE 30

CS615 - Aspects of System Administration Slide 30

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-31
SLIDE 31

CS615 - Aspects of System Administration Slide 31

The Job of a System Administrator

http://www.opte.org/maps/

Lecture 01: Introduction January 23, 2017

slide-32
SLIDE 32

CS615 - Aspects of System Administration Slide 32

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-33
SLIDE 33

CS615 - Aspects of System Administration Slide 33

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-34
SLIDE 34

CS615 - Aspects of System Administration Slide 34

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-35
SLIDE 35

CS615 - Aspects of System Administration Slide 35

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-36
SLIDE 36

CS615 - Aspects of System Administration Slide 36

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-37
SLIDE 37

CS615 - Aspects of System Administration Slide 37

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-38
SLIDE 38

CS615 - Aspects of System Administration Slide 38

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-39
SLIDE 39

CS615 - Aspects of System Administration Slide 39

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-40
SLIDE 40

CS615 - Aspects of System Administration Slide 40

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-41
SLIDE 41

CS615 - Aspects of System Administration Slide 41

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-42
SLIDE 42

CS615 - Aspects of System Administration Slide 42

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-43
SLIDE 43

CS615 - Aspects of System Administration Slide 43

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-44
SLIDE 44

CS615 - Aspects of System Administration Slide 44

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-45
SLIDE 45

CS615 - Aspects of System Administration Slide 45

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-46
SLIDE 46

CS615 - Aspects of System Administration Slide 46

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-47
SLIDE 47

CS615 - Aspects of System Administration Slide 47

The Job of a System Administrator

See also: http://is.gd/WUezLL

Lecture 01: Introduction January 23, 2017

slide-48
SLIDE 48

CS615 - Aspects of System Administration Slide 48

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-49
SLIDE 49

CS615 - Aspects of System Administration Slide 49

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-50
SLIDE 50

CS615 - Aspects of System Administration Slide 50

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-51
SLIDE 51

CS615 - Aspects of System Administration Slide 51

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-52
SLIDE 52

CS615 - Aspects of System Administration Slide 52

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-53
SLIDE 53

CS615 - Aspects of System Administration Slide 53

The Job of a System Administrator

What exactly does a System Administrator do?

Lecture 01: Introduction January 23, 2017

slide-54
SLIDE 54

CS615 - Aspects of System Administration Slide 54

The Job of a System Administrator

What exactly does a System Administrator do? no precise job description

Lecture 01: Introduction January 23, 2017

slide-55
SLIDE 55

CS615 - Aspects of System Administration Slide 55

The Job of a System Administrator

What exactly does a System Administrator do? no precise job description

Lecture 01: Introduction January 23, 2017

slide-56
SLIDE 56

CS615 - Aspects of System Administration Slide 56

The Job of a System Administrator

What exactly does a System Administrator do? no precise job description system administrator n.:

  • ne who, as a primary job function, manages computer and network

systems on behalf of another, such as an employer or client.

Lecture 01: Introduction January 23, 2017

slide-57
SLIDE 57

CS615 - Aspects of System Administration Slide 57

The Job of a System Administrator

What exactly does a System Administrator do? no precise job description

  • ften learned by experience

system administrator n.:

  • ne who, as a primary job function, manages computer and network

systems on behalf of another, such as an employer or client.

Lecture 01: Introduction January 23, 2017

slide-58
SLIDE 58

CS615 - Aspects of System Administration Slide 58

The Job of a System Administrator

What exactly does a System Administrator do? no precise job description

  • ften learned by experience

“makes things run” system administrator n.:

  • ne who, as a primary job function, manages computer and network

systems on behalf of another, such as an employer or client.

Lecture 01: Introduction January 23, 2017

slide-59
SLIDE 59

CS615 - Aspects of System Administration Slide 59

The Job of a System Administrator

What exactly does a System Administrator do? no precise job description

  • ften learned by experience

“makes things run” work behind the scenes system administrator n.:

  • ne who, as a primary job function, manages computer and network

systems on behalf of another, such as an employer or client.

Lecture 01: Introduction January 23, 2017

slide-60
SLIDE 60

CS615 - Aspects of System Administration Slide 60

The Job of a System Administrator

What exactly does a System Administrator do? no precise job description

  • ften learned by experience

“makes things run” work behind the scenes

  • ften known as Operator, Network Administrator, System

Programmer, System Manager, Service Engineer, Site Reliability Engineer etc. system administrator n.:

  • ne who, as a primary job function, manages computer and network

systems on behalf of another, such as an employer or client.

Lecture 01: Introduction January 23, 2017

slide-61
SLIDE 61

CS615 - Aspects of System Administration Slide 61

So what is a System?

“A group of interacting, interrelated, or interdependent elements that together form a complex whole.”

Lecture 01: Introduction January 23, 2017

slide-62
SLIDE 62

CS615 - Aspects of System Administration Slide 62

So what is a System?

“A group of interacting, interrelated, or interdependent elements that together form a complex whole.” In the context of this class, we generally consider computer-human systems consisting of the computer(s)

Lecture 01: Introduction January 23, 2017

slide-63
SLIDE 63

CS615 - Aspects of System Administration Slide 63

So what is a System?

“A group of interacting, interrelated, or interdependent elements that together form a complex whole.” In the context of this class, we generally consider computer-human systems consisting of the computer(s) the network

Lecture 01: Introduction January 23, 2017

slide-64
SLIDE 64

CS615 - Aspects of System Administration Slide 64

So what is a System?

“A group of interacting, interrelated, or interdependent elements that together form a complex whole.” In the context of this class, we generally consider computer-human systems consisting of the computer(s) the network the user(s)

Lecture 01: Introduction January 23, 2017

slide-65
SLIDE 65

CS615 - Aspects of System Administration Slide 65

So what is a System?

“A group of interacting, interrelated, or interdependent elements that together form a complex whole.” In the context of this class, we generally consider computer-human systems consisting of the computer(s) the network the user(s) the organization’s goals and policies

Lecture 01: Introduction January 23, 2017

slide-66
SLIDE 66

CS615 - Aspects of System Administration Slide 66

The Job of a System Administrator

Lecture 01: Introduction January 23, 2017

slide-67
SLIDE 67

CS615 - Aspects of System Administration Slide 67

... and Administration?

Merriam Webster: administer, v: to manage or supervise the execution, use, or conduct of

Lecture 01: Introduction January 23, 2017

slide-68
SLIDE 68

CS615 - Aspects of System Administration Slide 68

... and Administration?

Merriam Webster: administer, v: to manage or supervise the execution, use, or conduct of System Administration frequently also includes other tasks such as system design and architecture

Lecture 01: Introduction January 23, 2017

slide-69
SLIDE 69

CS615 - Aspects of System Administration Slide 69

... and Administration?

Merriam Webster: administer, v: to manage or supervise the execution, use, or conduct of System Administration frequently also includes other tasks such as system design and architecture reliability studies

Lecture 01: Introduction January 23, 2017

slide-70
SLIDE 70

CS615 - Aspects of System Administration Slide 70

... and Administration?

Merriam Webster: administer, v: to manage or supervise the execution, use, or conduct of System Administration frequently also includes other tasks such as system design and architecture reliability studies resource management

Lecture 01: Introduction January 23, 2017

slide-71
SLIDE 71

CS615 - Aspects of System Administration Slide 71

... and Administration?

Merriam Webster: administer, v: to manage or supervise the execution, use, or conduct of System Administration frequently also includes other tasks such as system design and architecture reliability studies resource management system fault diagnosis

Lecture 01: Introduction January 23, 2017

slide-72
SLIDE 72

CS615 - Aspects of System Administration Slide 72

... and Administration?

Merriam Webster: administer, v: to manage or supervise the execution, use, or conduct of System Administration frequently also includes other tasks such as system design and architecture reliability studies resource management system fault diagnosis ...

Lecture 01: Introduction January 23, 2017

slide-73
SLIDE 73

CS615 - Aspects of System Administration Slide 73

... and Administration?

Merriam Webster: administer, v: to manage or supervise the execution, use, or conduct of System Administration frequently also includes other tasks such as system design and architecture reliability studies resource management system fault diagnosis ... ...all of which my involve a fair amount of software development, programming and scripting.

Lecture 01: Introduction January 23, 2017

slide-74
SLIDE 74

CS615 - Aspects of System Administration Slide 74

Learning System Administration

System Administration is a profession with no fixed career path.

Lecture 01: Introduction January 23, 2017

slide-75
SLIDE 75

CS615 - Aspects of System Administration Slide 75

Learning System Administration

System Administration is a profession with no fixed career path. few degree granting programs

Lecture 01: Introduction January 23, 2017

slide-76
SLIDE 76

CS615 - Aspects of System Administration Slide 76

Learning System Administration

System Administration is a profession with no fixed career path. few degree granting programs heavy reliance on practical experience

Lecture 01: Introduction January 23, 2017

slide-77
SLIDE 77

CS615 - Aspects of System Administration Slide 77

Learning System Administration

System Administration is a profession with no fixed career path. few degree granting programs heavy reliance on practical experience specializations in many different areas possible

Lecture 01: Introduction January 23, 2017

slide-78
SLIDE 78

CS615 - Aspects of System Administration Slide 78

Learning System Administration

System Administration is a profession with no fixed career path. few degree granting programs heavy reliance on practical experience specializations in many different areas possible breadth of expertise as necessary as depth in some areas

Lecture 01: Introduction January 23, 2017

slide-79
SLIDE 79

CS615 - Aspects of System Administration Slide 79

Learning System Administration

System Administration is a profession with no fixed career path. few degree granting programs heavy reliance on practical experience specializations in many different areas possible breadth of expertise as necessary as depth in some areas background knowledge and requirements vary

Lecture 01: Introduction January 23, 2017

slide-80
SLIDE 80

CS615 - Aspects of System Administration Slide 80

Learning System Administration

Breadth of knowledge:

  • perating system concepts

TCP/IP networking programming ... Depth of knowledge: certain OS flavor specific service (DNS, E-Mail, Databases, Content-Delivery, ...) specific implementation/vendor (Oracle, Hadoop, Apache, Cisco, ...) specific are of expertise (security, storage, network, data center, ...) ...

Lecture 01: Introduction January 23, 2017

slide-81
SLIDE 81

CS615 - Aspects of System Administration Slide 81

People think the internet looks like this.

Lecture 01: Introduction January 23, 2017

slide-82
SLIDE 82

CS615 - Aspects of System Administration Slide 82

Or like this.

http://www.opte.org/maps/

Lecture 01: Introduction January 23, 2017

slide-83
SLIDE 83

CS615 - Aspects of System Administration Slide 83

SysAdmins know it looks like this.

Lecture 01: Introduction January 23, 2017

slide-84
SLIDE 84

CS615 - Aspects of System Administration Slide 84

Hooray! 5 Minute Break

Lecture 01: Introduction January 23, 2017

slide-85
SLIDE 85

CS615 - Aspects of System Administration Slide 85

In reality...

Lecture 01: Introduction January 23, 2017

slide-86
SLIDE 86

CS615 - Aspects of System Administration Slide 86

About this class

We can only cover some of the aspects of System Administration.

Lecture 01: Introduction January 23, 2017

slide-87
SLIDE 87

CS615 - Aspects of System Administration Slide 87

SysAdmins’ favorite tool

https://www.netmeister.org/blog/duct-tape-and-wd40.html

Lecture 01: Introduction January 23, 2017

slide-88
SLIDE 88

CS615 - Aspects of System Administration Slide 88

Three Pillars of Exceptional System Design

We will give particular attention to these three core features: Scalability Security Simplicity

Lecture 01: Introduction January 23, 2017

slide-89
SLIDE 89

CS615 - Aspects of System Administration Slide 89

Three Pillars of Exceptional System Design: Scalability

System Overload

Lecture 01: Introduction January 23, 2017

slide-90
SLIDE 90

CS615 - Aspects of System Administration Slide 90

Three Pillars of Exceptional System Design: Scalability

Scaling Vertically

Lecture 01: Introduction January 23, 2017

slide-91
SLIDE 91

CS615 - Aspects of System Administration Slide 91

Three Pillars of Exceptional System Design: Scalability

Scaling Horizontally

Lecture 01: Introduction January 23, 2017

slide-92
SLIDE 92

CS615 - Aspects of System Administration Slide 92

Three Pillars of Exceptional System Design: Scalability

Scaling Down

Lecture 01: Introduction January 23, 2017

slide-93
SLIDE 93

CS615 - Aspects of System Administration Slide 93

Three Pillars of Exceptional System Design: Security

Lecture 01: Introduction January 23, 2017

slide-94
SLIDE 94

CS615 - Aspects of System Administration Slide 94

Three Pillars of Exceptional System Design: Security

Lecture 01: Introduction January 23, 2017

slide-95
SLIDE 95

CS615 - Aspects of System Administration Slide 95

Three Pillars of Exceptional System Design: Security

https://www.netmeister.org/blog/infosec-basics.html

Lecture 01: Introduction January 23, 2017

slide-96
SLIDE 96

CS615 - Aspects of System Administration Slide 96

Three Pillars of Exceptional System Design: Simplicity

Lecture 01: Introduction January 23, 2017

slide-97
SLIDE 97

CS615 - Aspects of System Administration Slide 97

Three Pillars of Exceptional System Design: Simplicity

Lecture 01: Introduction January 23, 2017

slide-98
SLIDE 98

CS615 - Aspects of System Administration Slide 98

Three Pillars of Exceptional System Design: Simplicity

Lecture 01: Introduction January 23, 2017

slide-99
SLIDE 99

CS615 - Aspects of System Administration Slide 99

SysAdmins’ favorite Laws

Ockham’s Razor: “Of two equivalent theories or explanations, all other things being equal, the simpler one is to be preferred.”

Lecture 01: Introduction January 23, 2017

slide-100
SLIDE 100

CS615 - Aspects of System Administration Slide 100

SysAdmins’ favorite Laws

Ockham’s Razor: “Of two equivalent theories or explanations, all other things being equal, the simpler one is to be preferred.” 2nd Law of Thermodynamics: “The entropy of an isolated system always increases with time.”

Lecture 01: Introduction January 23, 2017

slide-101
SLIDE 101

CS615 - Aspects of System Administration Slide 101

SysAdmins’ favorite Laws

Ockham’s Razor: “Of two equivalent theories or explanations, all other things being equal, the simpler one is to be preferred.” 2nd Law of Thermodynamics: “The entropy of an isolated system always increases with time.” Hanlon’s Razor: “Never attribute to malice that which can be adequately explained by stupidity.”

Lecture 01: Introduction January 23, 2017

slide-102
SLIDE 102

CS615 - Aspects of System Administration Slide 102

SysAdmins’ favorite Laws

Ockham’s Razor: “Of two equivalent theories or explanations, all other things being equal, the simpler one is to be preferred.” 2nd Law of Thermodynamics: “The entropy of an isolated system always increases with time.” Hanlon’s Razor: “Never attribute to malice that which can be adequately explained by stupidity.” Pareto’s Principle: “80% of consequences stem from 20% of the causes.”

Lecture 01: Introduction January 23, 2017

slide-103
SLIDE 103

CS615 - Aspects of System Administration Slide 103

SysAdmins’ favorite Laws

Ockham’s Razor: “Of two equivalent theories or explanations, all other things being equal, the simpler one is to be preferred.” 2nd Law of Thermodynamics: “The entropy of an isolated system always increases with time.” Hanlon’s Razor: “Never attribute to malice that which can be adequately explained by stupidity.” Pareto’s Principle: “80% of consequences stem from 20% of the causes.” Sturgeon’s Law: “90% of everything is crud.”

Lecture 01: Introduction January 23, 2017

slide-104
SLIDE 104

CS615 - Aspects of System Administration Slide 104

SysAdmins’ favorite Laws

Ockham’s Razor: “Of two equivalent theories or explanations, all other things being equal, the simpler one is to be preferred.” 2nd Law of Thermodynamics: “The entropy of an isolated system always increases with time.” Hanlon’s Razor: “Never attribute to malice that which can be adequately explained by stupidity.” Pareto’s Principle: “80% of consequences stem from 20% of the causes.” Sturgeon’s Law: “90% of everything is crud.” Murphy’s Law: “If it can happen, it will happen.”

Lecture 01: Introduction January 23, 2017

slide-105
SLIDE 105

CS615 - Aspects of System Administration Slide 105

SysAdmins’ favorite Laws

Ockham’s Razor: “Of two equivalent theories or explanations, all other things being equal, the simpler one is to be preferred.” 2nd Law of Thermodynamics: “The entropy of an isolated system always increases with time.” Hanlon’s Razor: “Never attribute to malice that which can be adequately explained by stupidity.” Pareto’s Principle: “80% of consequences stem from 20% of the causes.” Sturgeon’s Law: “90% of everything is crud.” Murphy’s Law: “If it can happen, it will happen.” Throw in some philosophy for good measure: Causality: For every effect, there must be a cause.

Lecture 01: Introduction January 23, 2017

slide-106
SLIDE 106

CS615 - Aspects of System Administration Slide 106

Learning is critical

Know how to find answers: know how to ask questions know where to ask questions read critically know what you don’t know (Dunning-Kruger effect) understand what you’re doing understand why you’re doing it seek information exchange

Lecture 01: Introduction January 23, 2017

slide-107
SLIDE 107

CS615 - Aspects of System Administration Slide 107

Learning is critical

“Computer Science projects are opportunities, not assignments.”

Lecture 01: Introduction January 23, 2017

slide-108
SLIDE 108

CS615 - Aspects of System Administration Slide 108

Learning is critical

Know how to find answers: know how to ask questions know where to ask questions read critically know what you don’t know (Dunning-Kruger effect) understand what you’re doing understand why you’re doing it seek information exchange https://www.cs.stevens.edu/~jschauma/615/meetup.html

Lecture 01: Introduction January 23, 2017

slide-109
SLIDE 109

CS615 - Aspects of System Administration Slide 109

Syllabus

Dates and Topics subject to change: 01/23: Introduction, UNIX history and basics 01/30: Filesystems and Disks 02/06: Software Installation Concepts 02/13: Got root? Multi-user basics, politics, policies and ethics 02/22: Automation / Shell Essentials 02/27: Networking 03/06: Backup and Disaster Recovery 03/13: DNS, SMTP , HTTP 03/20: Configuration Management 03/27: SNMP , Monitoring 04/03: Security 04/10 - 05/01: TBD

Lecture 01: Introduction January 23, 2017

slide-110
SLIDE 110

CS615 - Aspects of System Administration Slide 110

About this class

No textbook, but plenty of recommended reading materials. Mandatory pre-class surveys. Grading: course participation homework assignments group project no curve no late submissions no extra credit no make-up assignments http://lists.stevens.edu/cgi-bin/mailman/listinfo/cs615asa

Lecture 01: Introduction January 23, 2017

slide-111
SLIDE 111

CS615 - Aspects of System Administration Slide 111

UNIX History

Lecture 01: Introduction January 23, 2017

slide-112
SLIDE 112

CS615 - Aspects of System Administration Slide 112

UNIX history

http://www.unix.org/what_is_unix/history_timeline.html Originally developed in 1969 at Bell Labs by Ken Thompson and Dennis Ritchie. 1973, Rewritten in C. This made it portable and changed the history

  • f OS

1974: Thompson, Joy, Haley and students at Berkeley develop the Berkeley Software Distribution (BSD) of UNIX two main directions emerge: BSD and what was to become “System V”

Lecture 01: Introduction January 23, 2017

slide-113
SLIDE 113

CS615 - Aspects of System Administration Slide 113

Notable dates in UNIX history

1984 4.2BSD released (TCP/IP), 1986 4.3BSD released (NFS) 1991 Linus Torvalds starts working on the Linux kernel 1993 Settlement of USL vs. BSDi; NetBSD, then FreeBSD are created 1994 Single UNIX Specification introduced 1995 4.4BSD-Lite Release 2 (last CSRG release); OpenBSD forked

  • ff NetBSD

2000 Darwin created (derived from NeXT, FreeBSD, NetBSD) 2003 Xen; SELinux 2005 Hadoop; DTrace; ZFS; Solaris Containers 2006 AWS (”Cloud Computing” comes full circle) 2007 iOS; KVM appears in Linux 2008 Android; Solaris open sourced as OpenSolaris

Lecture 01: Introduction January 23, 2017

slide-114
SLIDE 114

CS615 - Aspects of System Administration Slide 114

Some UNIX versions

More UNIX (some generic, some trademark, some just unix-like):

1BSD 2BSD 3BSD 4BSD 4.4BSD Lite 1 4.4BSD Lite 2 386 BSD A/UX Acorn RISC iX AIX AIX PS/2 AIX/370 AIX/6000 AIX/ESA AIX/RT AMiX AOS Lite AOS Reno ArchBSD ASV Atari Unix BOS BRL Unix BSD Net/1 BSD Net/2 BSD/386 BSD/OS CB Unix Chorus Chorus/MiX Coherent CTIX Darwin Debian GNU/Hurd DEC OSF/1 ACP Digital Unix DragonFly BSD Dynix Dynix/ptx ekkoBSD FreeBSD GNU GNU-Darwin HPBSD HP-UX HP-UX BLS IBM AOS IBM IX/370 Interactive 386/ix Interactive IS IRIX Linux Lites LSX Mac OS X Mac OS X Server Mach MERT MicroBSD Mini Unix Minix Minix-VMD MIPS OS MirBSD Mk Linux Monterey more/BSD mt Xinu MVS/ESA OpenEdition NetBSD NeXTSTEP NonStop-UX Open Desktop Open UNIX OpenBSD OpenServer OPENSTEP OS/390 OpenEdition OS/390 Unix OSF/1 PC/IX Plan 9 PWB PWB/UNIX QNX QNX RTOS QNX/Neutrino QUNIX ReliantUnix Rhapsody RISC iX RT SCO UNIX SCO UnixWare SCO Xenix SCO Xenix System V/386 Security-Enhanced Linux Sinix Sinix ReliantUnix Solaris SPIX SunOS Tru64 Unix Trusted IRIX/B Trusted Solaris Trusted Xenix TS UCLA Locus UCLA Secure Unix Ultrix Ultrix 32M Ultrix-11 Unicos Unicos/mk Unicox-max UNICS UNIX 32V UNIX Interactive UNIX System III UNIX System IV UNIX System V UNIX System V Release 2 UNIX System V Release 3 UNIX System V Release 4 UNIX System V/286 UNIX System V/386 UNIX Time-Sharing System UnixWare UNSW USG Venix Wollogong Xenix OS Xinu xMach

Lecture 01: Introduction January 23, 2017

slide-115
SLIDE 115

CS615 - Aspects of System Administration Slide 115

UNIX Everywhere

Today, your desktop, server, cloud, TV, phone, watch, stereo, car navigation system, thermostat, door lock, etc. all run a Unix-like OS...

Lecture 01: Introduction January 23, 2017

slide-116
SLIDE 116

CS615 - Aspects of System Administration Slide 116

UNIX Everywhere

Today, your desktop, server, cloud, TV, phone, watch, stereo, car navigation system, thermostat, door lock, etc. all run a Unix-like OS... ...with all the risks that entails.

Lecture 01: Introduction January 23, 2017

slide-117
SLIDE 117

CS615 - Aspects of System Administration Slide 117

UNIX Basics

Lecture 01: Introduction January 23, 2017

slide-118
SLIDE 118

CS615 - Aspects of System Administration Slide 118

UNIX Basics

The OS is divided into kernel shell tools & applications Basic UNIX features: multitasking multiuser portability networking capabilities

Lecture 01: Introduction January 23, 2017

slide-119
SLIDE 119

CS615 - Aspects of System Administration Slide 119

UNIX Basics

These features necessitate/result in: multi-user concepts user privileges file permissions process ownership and priorities disk quotas security considerations protect users’ data protect communication protect superuser account

Lecture 01: Introduction January 23, 2017

slide-120
SLIDE 120

CS615 - Aspects of System Administration Slide 120

UNIX Basics: Pipelines

What is the longest word found on the ten most frequently retrieved English Wikipedia pages? for f in $(curl -L http://is.gd/c6F2fs | zgrep -i "^en " | sort -k3 -n | tail -10 | sed -e ’s/en \(.*\) [0-9]* [0-9]*/\1/’); do links -dump http://en.wikipedia.org/wiki/${f} done | tr ’[:punct:]’ ’ ’ | tr ’[:space:]’ ’\n’ | tr ’[:upper:]’ ’[:lower:]’ | egrep ’^[a-z]+$’ | awk ’{ print length() " " $0; }’ | sort | uniq | sort -n | tail -1

Lecture 01: Introduction January 23, 2017

slide-121
SLIDE 121

CS615 - Aspects of System Administration Slide 121

Program Design

https://en.wikipedia.org/wiki/Unix_philosophy UNIX programs... ...are simple ...follow the element of least surprise ...accept input from stdin ...generate output to stdout ...generate meaningful error messages to stderr ...have meaningful exit codes ...have a manual page

Lecture 01: Introduction January 23, 2017

slide-122
SLIDE 122

CS615 - Aspects of System Administration Slide 122

HW

You should already have: account on linux-lab.cs.stevens.edu AWS account bookmarked course website subscribed to and read class mailing list http://www.cs.stevens.edu/~jschauma/615/s17-hw1.html http://www.cs.stevens.edu/~jschauma/cgi-bin/CS615-02.cgi

Lecture 01: Introduction January 23, 2017

slide-123
SLIDE 123

CS615 - Aspects of System Administration Slide 123

The End Hooray!

Lecture 01: Introduction January 23, 2017

slide-124
SLIDE 124

CS615 - Aspects of System Administration Slide 124

Reading

Miscellaneous: http://www.opsschool.org/ http://nixsrv.com/llthw http://linuxcommand.org/lc3_learning_the_shell.php http://is.gd/NNAIIm UNIX history: https://www.bell-labs.com/usr/dmr/www/ https://www.bell-labs.com/usr/dmr/www/hist.html http://www.futuretech.blinkenlights.nl/admin/day1a.html http://www.levenez.com/unix/ https://en.wikipedia.org/wiki/Operating_system

Lecture 01: Introduction January 23, 2017

slide-125
SLIDE 125

CS615 - Aspects of System Administration Slide 125

Reading

UNIX basics: chmod(1), chown(1), ls(1) intro(1), login(1), passwd(5) su(1), sudo(8)

Lecture 01: Introduction January 23, 2017