POS/420 Introduction to Unix Philip Robbins – March 12, 2013 (Week 1) University of Phoenix Mililani Campus
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 2
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. 3
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 4
The GNU Project http://www.gnu.org/licenses/gpl.html 5
The GNU Project 6
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. 7
What is Unix / Linux OS used on top 500 Supercomputers 8
Evolution of Unix 9
Tux 10
The Top 10 Linux Distributions (2012) Linux Mint Mageia Ubuntu Fedora openSUSE Debian Arch Linux PCLinuxOS Zorin OS CentOS 11
Linux Mint 12
Mageia 13
Ubuntu 14
Fedora 15
openSUSE 16
Debian 17
Arch Linux 18
PCLinuxOS 19
Zorin OS 20
CentOS 21
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 22
Advantages of Linux Linux Server 23
What is a shell? 24
What is a shell? 25
What is a shell? 26
What is a shell? 27
What is a shell? 28
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). 29
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) 30
Install VM Player Download VMware Player http://www.dorkatron.com/docs/POS420/1%20-%20SOFTWARE%20-%20VMware-player-5.0.1-894247.exe 31
Run Ubuntu VM Download & Extract “VM.rar” http://www.dorkatron.com/docs/POS420/1%20-%20SOFTWARE%20-%20VM.rar Download winrar Run “POS420VM.vmx” 32
Break Let’s take a break… RETURN @ 800PM
Run Ubuntu VM Login to Ubuntu 12.10 Username: student Password: 3 34
Search for Terminal 35
Run Terminal (Use F11 for fullscreen) 36
man man 37
man ls 38
List directory contents List the directory contents for student account. 39
List directory contents List the directory contents for student account. 40
man pwd 41
Print Working Directory pwd for student account. 42
man passwd 43
Change your password Change password for student to “password”. 44
man sudo 45
Enable root (administrator) Change password for root to “password”. 46
man su 47
Log in as root 48
man shutdown 49
Restart system 50
Week 1 Linux VM Changes Enabled root account Password for “root” is now “password” Password for “student” is now “password” 51
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 52
Quiz: Week 1 10-15 minutes