Top Banner
POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix
53

POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Jan 28, 2016

Download

Documents

Felix Campbell
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

POS/420

Philip Robbins – March 12, 2013 (Week 1)University of Phoenix Mililani Campus

Introduction to Unix

Page 2: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Agenda: Week 1

• Introductions• Review Syllabus• Week 1

- History of Unix, Linux, and GNU- UNIX / Linux Distributions- Download & Install VM Player & Ubuntu Linux- Watch video on Linux (1h 20m)- Run Ubuntu- Learn some basic commands within Terminal

• Quiz #1

Page 3: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

What is Unix

• Developed by Ken Thompson• Bell Labs (AT&T) in 1969 and released in 1971.• Operating System initially written in assembly then in C.

Page 4: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

The GNU Project

• 1983, Richard Stallman @ MIT• Freeware Collaboration project• To give computer users freedom and control• Develop and distribute software with the following rights:- Users are free to run the software- Share it (copy & distribute)- Modify it

Page 5: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

The GNU Project

- http://www.gnu.org/licenses/gpl.html

Page 6: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

The GNU Project

Page 7: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

What is Linux

• Linux is an Operating System (OS) just like Windows and MAC OS.

• Linux Kernel designed by Linus Torvalds• Linux is open source and free (GNU 1992)• Approximately 60% of servers use Linux.

Page 8: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

What is Unix / Linux

• OS used on top 500 Supercomputers

Page 9: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Evolution of Unix

Page 10: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Tux

Page 11: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

The Top 10 Linux Distributions (2012)

1. Linux Mint

2. Mageia

3. Ubuntu

4. Fedora

5. openSUSE

6. Debian

7. Arch Linux

8. PCLinuxOS

9. Zorin OS

10.CentOS

Page 12: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Linux Mint

Page 13: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Mageia

Page 14: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Ubuntu

Page 15: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Fedora

Page 16: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

openSUSE

Page 17: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Debian

Page 18: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Arch Linux

Page 19: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

PCLinuxOS

Page 20: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Zorin OS

Page 21: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

CentOS

Page 22: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Advantages of Linux

• No constant rebooting• Start/stop services without interrupting others• Portable• Flexible• Downloadable Applications• Settings aren’t hidden in code or registries• Open Source• Distribution Freedom

Page 23: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Advantages of Linux

• Linux Server

Page 24: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

What is a shell?

Page 25: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

What is a shell?

Page 26: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

What is a shell?

Page 27: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

What is a shell?

Page 28: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

What is a shell?

Page 29: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

What is a kernel?

• Central component to most Operating Systems• In charge of all access to computer resources• Standard interface to system hardware• Implements multitasking for processes continuously

competing for system resources (enforcing isolation).

Page 30: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Let’s Install Linux!

• Work in Teams & help each other!• Download Ubuntu 12.10- http://www.ubuntu.com/download/desktop

• Ways to install:- .ISO file (Burn to DVD)- Live CD- Bootable USB- Dual Boot- Binaries- Virtual Machine (VM)

Page 31: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Install VM Player

• Download VMware Player- http://www.dorkatron.com/docs/POS420/1%20-

%20SOFTWARE%20-%20VMware-player-5.0.1-894247.exe

Page 32: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Run Ubuntu VM

• Download & Extract “VM.rar”- http://www.dorkatron.com/docs/POS420/1%20-

%20SOFTWARE%20-%20VM.rar- Download winrar- Run “POS420VM.vmx”

Page 33: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Break

• Let’s take a break… RETURN @ 800PM

Page 34: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Run Ubuntu VM

• Login to Ubuntu 12.10- Username: student- Password: 3

Page 35: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Search for Terminal

Page 36: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Run Terminal (Use F11 for fullscreen)

Page 37: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

man man

Page 38: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

man ls

Page 39: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

List directory contents

• List the directory contents for student account.

Page 40: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

List directory contents

• List the directory contents for student account.

Page 41: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

man pwd

Page 42: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Print Working Directory

• pwd for student account.

Page 43: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

man passwd

Page 44: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Change your password

• Change password for student to “password”.

Page 45: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

man sudo

Page 46: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Enable root (administrator)

• Change password for root to “password”.

Page 47: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

man su

Page 48: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Log in as root

Page 49: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

man shutdown

Page 50: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Restart system

Page 51: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Week 1 Linux VM Changes

• Enabled root account• Password for “root” is now “password”• Password for “student” is now “password”

Page 52: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Week 1 List of commands

man – manual pages

ls – list directory contents

pwd – print working directory

passwd – change password

sudo – execute command as superuser

su – login as superuser

shutdown – shutdown

Page 53: POS/420 Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus Introduction to Unix.

Quiz: Week 1

• 10-15 minutes