Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.
-
Upload
damian-gregory -
Category
Documents
-
view
227 -
download
0
description
Transcript of Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.
![Page 1: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/1.jpg)
1
Introduction
IT244 - Introduction to Linux / Unix Instructor: Bo Sheng
![Page 2: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/2.jpg)
2
General Information• Location and Time
– S-3-143, Mon & Wed, 4:00 ~ 5:15pm– Door code: 392467*
• Office Hours– Science Center, S-3-167, Mon & Wed, 2 ~ 4pm– TA office hours: TBD
• Course web page– http://www.cs.umb.edu/~shengbo/teaching/it244.html
![Page 3: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/3.jpg)
3
General Information• Grading Policy
– 10 homework/project assignments
– Mid-term and final exams
– Homework (60%) + Mid-term (15%) + Final (25%)
![Page 4: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/4.jpg)
4
General Information• Course Content
– Exclude Chapter 7, 9, 16, 17
– Linux/Unix commands and utilities– Shell (Bourne Shell)– File systems– Text editor (vim)– Scripting
• Shell scripting, awk, sed, perl– Introductory level coverage
![Page 5: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/5.jpg)
5
General Information• Course Content
– Command-line interface (CLI)– No graphic user interface (GUI)
![Page 6: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/6.jpg)
6
General Information• Course Content
– Hands-on practice (lab / home)– Lecturing style (slides + demo + practice)– Login to a dedicated server from any computer– Unix account and register for this course
• University’s Policies– Plagiarism, Honor code– Emergency– Disability service
![Page 7: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/7.jpg)
7
Unix Account• If you haven’t got an account
– http://www.cs.umb.edu/sp/resources/other/faqs/#FAQ02
• SSH (Secure Shell)– Use terminal (Linux/Mac OS clients)– Use other software tool (Windows client)
• PuTTY
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
![Page 8: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/8.jpg)
8
Unix Account• If you haven’t got an account
![Page 9: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/9.jpg)
9
Unix Account• If you haven’t register you account with this class
![Page 10: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/10.jpg)
10
Unix Account• If you haven’t register you account with this class
![Page 11: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/11.jpg)
11
Overview of Linux/Unix• Why we learn Linux/Unix?
![Page 12: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/12.jpg)
12
OS Platform Statistics (Web) http://www.w3schools.com/browsers/browsers_os.asp
![Page 13: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/13.jpg)
13
Web Server Surveyhttps://secure1.securityspace.com/s_survey/data/201511/index.htmlhttps://secure1.securityspace.com/s_survey/data/man.200907/apacheos.html
3.16% of Apache running on Windows servers
![Page 14: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/14.jpg)
14
Top 500 Supercomputers http://top500.org/statistics/list/
OPERATING SYSTEM FAMILY COUNT SYSTEM SHARE (%) RMAX (GFLOPS) RPEAK (GFLOPS) CORES
Linux 494 98.8 419,253,297 640,067,791 29,226,383Unix 6 1.2 1,868,442 2,215,095 76,128
![Page 15: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/15.jpg)
15
Overview of Linux/Unix• Why we learn Linux/Unix?
– Job prospects• Proficiency with Linux/Unix• Basic knowledge of scripting
– Basics for other courses
![Page 16: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/16.jpg)
16
Overview of Linux/Unix• Why we learn Linux/Unix?• What is Linux/Unix?
![Page 17: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/17.jpg)
17
Operating Systems
o Resource managemento Hardware abstractiono User interface
System calls
e.g., open(), read()
![Page 18: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/18.jpg)
18
History of Linux / Unix• Timeline http://www.levenez.com/unix/• Milestones
– 1969: Unix starts at Bell Labs– 1971: First edition of Unix– 1977: 1BSD from Berkeley– 1983: GNU project (GPL)– 1991: Linux is announced
Hello everybody out there using minix -I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones. …PS. Yes – it's free of any minix code, …
—Linus Torvalds
![Page 19: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/19.jpg)
19
Linux / Unix Operating Systems
http://www.kernel.org
![Page 20: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/20.jpg)
20
Some Current Distributions
![Page 21: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/21.jpg)
21
Overview of Linux/Unix• Why we learn Linux/Unix?• What is Linux/Unix?• Features of Linux/Unix
– FREE (no charge, open source)– Multiuser– Multitasking– Multiplatform (portable)
![Page 22: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/22.jpg)
22
Overview of Linux/Unix• Why we learn Linux/Unix?• What is Linux/Unix?• Features of Linux/Unix• Shell
– Command interpreter– ‘Programming language’ with no compilation– Bash, Tcsh, Dash, Zsh, …
![Page 23: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/23.jpg)
23
Overview of Linux/Unix• Why we learn Linux/Unix?• What is Linux/Unix?• Features of Linux/Unix• Shell• File System Structure
![Page 24: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/24.jpg)
24
Overview of Linux/Unix
![Page 25: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/25.jpg)
25
Login to Server• Server (hostname):
• it244a.cs.umb.edu• it244b.cs.umb.edu
• SSH (Secure Shell, no more telnet)– Use terminal (Linux/Mac OS clients)– Use other software tool (Windows client)
![Page 26: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/26.jpg)
26
Login to Server• Server (hostname):
• it244a.cs.umb.edu• it244b.cs.umb.edu
• SSH (Secure Shell)– Use terminal (Linux/Mac OS clients)– Use other software tool (Windows client)
• PuTTY
• Instructions on course web page
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
![Page 27: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/27.jpg)
27
Login to Server (Windows)• PuTTY
![Page 28: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/28.jpg)
28
Login to Server (Windows)• PuTTY
![Page 29: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/29.jpg)
29
Login to Server• SSH (Secure Shell)
– Use a terminal (Linux/Mac OS clients)– ssh username@hostname– ssh –l username hostname
e.g.,– ssh [email protected]– ssh –l shengbo it244a.cs.umb.edu
![Page 30: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/30.jpg)
30
Login to Server (Linux / Mac)• Terminal
![Page 31: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1.](https://reader033.fdocuments.us/reader033/viewer/2022052707/5a4d1b447f8b9ab0599a28ae/html5/thumbnails/31.jpg)
31
Login to Server (Linux / Mac)• Terminal