53
POS/420 Philip Robbins – November 12, 2013 (Week 1) University of Phoenix Kapolei Campus Introduction to Unix

POS/420

  • Upload
    ciara

  • View
    27

  • Download
    0

Embed Size (px)

DESCRIPTION

POS/420. Introduction to Unix. Philip Robbins – November 12, 2013 (Week 1) University of Phoenix Kapolei Campus. Agenda: Week 1. Introductions Review Syllabus Week 1 History of Unix, Linux, and GNU UNIX / Linux Distributions Download & Install VM Player & Ubuntu Linux - PowerPoint PPT Presentation

Citation preview

Page 1: POS/420

POS/420

Philip Robbins – November 12, 2013 (Week 1)University of Phoenix Kapolei Campus

Introduction to Unix

Page 2: POS/420

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

What is Unix

• 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

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

The GNU Project

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

Page 6: POS/420

The GNU Project

Page 7: POS/420

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

What is Unix / Linux

• OS used on top 500 Supercomputers

Page 9: POS/420

Evolution of Unix

Page 10: POS/420

Tux

Page 11: POS/420

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

Linux Mint

Page 13: POS/420

Mageia

Page 14: POS/420

Ubuntu

Page 15: POS/420

Fedora

Page 16: POS/420

openSUSE

Page 17: POS/420

Debian

Page 18: POS/420

Arch Linux

Page 19: POS/420

PCLinuxOS

Page 20: POS/420

Zorin OS

Page 21: POS/420

CentOS

Page 22: POS/420

Backtrack 5r3

Page 23: POS/420

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• Vulnerabilities

Page 24: POS/420

What is a shell?

Page 25: POS/420

What is a shell?

Page 26: POS/420

What is a shell?

Page 27: POS/420

What is a shell?

Page 28: POS/420

What is a shell?

Page 29: POS/420

What is a kernel?

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

competing for system resources (enforcing isolation).

Page 30: POS/420

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)- VPS

Page 31: POS/420

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

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

Break

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

Page 34: POS/420

Run Ubuntu VM

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

Page 35: POS/420

Search for Terminal

Page 36: POS/420

Run Terminal (Use F11 for fullscreen)

Page 37: POS/420

man man

Page 38: POS/420

man ls

Page 39: POS/420

List directory contents

• List the directory contents for student account.

Page 40: POS/420

List directory contents

• List the directory contents for student account.

Page 41: POS/420

man pwd

Page 42: POS/420

Print Working Directory

• pwd for student account.

Page 43: POS/420

man passwd

Page 44: POS/420

Change your password

• Change password for student to “password”.

Page 45: POS/420

man sudo

Page 46: POS/420

Enable root (administrator)

• Change password for root to “password”.

Page 47: POS/420

man su

Page 48: POS/420

Log in as root

Page 49: POS/420

man shutdown

Page 50: POS/420

Restart system

Page 51: POS/420

Week 1 Linux VM Changes

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

Page 52: POS/420

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

Quiz: Week 1

• 10-15 minutes