linux system : lecture 3 vmware, cygwin, linux installation bong-soo sohn assistant professor school...
TRANSCRIPT
![Page 1: LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University](https://reader036.vdocuments.us/reader036/viewer/2022062717/56649e415503460f94b32f87/html5/thumbnails/1.jpg)
LINUX System : Lecture 3Vmware, Cygwin, LINUX
installationBong-Soo Sohn
Assistant ProfessorSchool of Computer Science and Engineering
Chung-Ang University
• Acknowledgement : notes from A. Gokhale, A, Taylor
![Page 2: LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University](https://reader036.vdocuments.us/reader036/viewer/2022062717/56649e415503460f94b32f87/html5/thumbnails/2.jpg)
Cygwin Overview
Cygwin offers a UNIX like environment on top of MS-Windows. You can use UNIX/LINUX utilities & programs
(gcc, vi, emacs grep, …) under MS-Windows UNIX programs can be ported to cygwin and run
under MS-Windows OS. assist developers in migrating applications from
UNIX/LINUX to the Microsoft Windows platform Does not require a UNIX administrator’s level of
expertise to setup and maintain.
![Page 3: LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University](https://reader036.vdocuments.us/reader036/viewer/2022062717/56649e415503460f94b32f87/html5/thumbnails/3.jpg)
Cygwin Snapshot
![Page 4: LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University](https://reader036.vdocuments.us/reader036/viewer/2022062717/56649e415503460f94b32f87/html5/thumbnails/4.jpg)
Cygwin Description
Cygwin consists of a library that implements the POSIX system
call API in terms of Win32 system calls a GNU development toolchain (such as gcc
and gdb) to allow software development a large number of application programs
equivalent to those on the Unix system
![Page 5: LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University](https://reader036.vdocuments.us/reader036/viewer/2022062717/56649e415503460f94b32f87/html5/thumbnails/5.jpg)
Cygwin Features
Command line tools: Compiler (gcc, g77, g++, make) Network tools (ssh, scp, rsync) Programming tools (splint, indent) Version control system (cvs, rcs) File tools (diff / patch, head / tail / cut,
od) Shell scripting (bash, tcsh, zsh) Archive (tar, gzip, bzip) Man Pages Interpreters (expect, Tcl/Tk, perl,
python) Editors (vi, pico (see pine), emacs) Easy copy / paste between cygwin
and MS-Windows programs (rxvt) Scheduled task capability (cron) {Extension: ImageMagick (convert)} {Extension: CD Images (mkisofs)}
GUI based tools: Xemacs “xv” Ghostscript {Extension: GrADS}
![Page 6: LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University](https://reader036.vdocuments.us/reader036/viewer/2022062717/56649e415503460f94b32f87/html5/thumbnails/6.jpg)
Virtual Machine(VM) - Overview
Software implementation of machine (computer) that executes programs like a real machine System VM
provides a complete system platform ex) VMware workstation Advantage of system VM
Multiple OS environments can co-exist on the sma emachine in strong isolation from each other
VM can provide an instruction set architecture (ISA) that is somewhat different from that of the real machine
Process virtual machine Is designed to run a single program, supports single program Provide platform independent programming environment. ex) JAVA
VM. JAVA bytecode. “write once, run anywhere” (WORA)
![Page 7: LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University](https://reader036.vdocuments.us/reader036/viewer/2022062717/56649e415503460f94b32f87/html5/thumbnails/7.jpg)
VMware Workstation
successful VM software made by VMware, Inc. VM software for desktop x86-type PC allows users to set up multiple x86 and x86-64 virtual computers Use several virtual computers simultaneously with the hosting OS Each virtual machine instance can execute its own guest OS
(e.g. LINUX, MS-Windows, …) Allows multiple applications to run in isolation within virtual
machines on the same physical machine
Easily speacking, VMware Workstation allows one physical machine to run multiple
operating systems simultaneously
![Page 8: LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University](https://reader036.vdocuments.us/reader036/viewer/2022062717/56649e415503460f94b32f87/html5/thumbnails/8.jpg)
VMware Workstation
![Page 9: LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University](https://reader036.vdocuments.us/reader036/viewer/2022062717/56649e415503460f94b32f87/html5/thumbnails/9.jpg)
LINUX under MS-Windows
![Page 10: LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University](https://reader036.vdocuments.us/reader036/viewer/2022062717/56649e415503460f94b32f87/html5/thumbnails/10.jpg)
VMware Characteristics
Partitioning Run multiple operating systems on one physical machine
Isolation Isolate faults and security at the virtual-machine level Dynamically control CPU, memory, disk and network resources per virtual
machine
Encapsulation Encapsulate the entire state of the virtual machine in hardware-independent files Save the virtual machine state as a snapshot in time Re-use or transfer whole virtual machines with a simple file copy
![Page 11: LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University](https://reader036.vdocuments.us/reader036/viewer/2022062717/56649e415503460f94b32f87/html5/thumbnails/11.jpg)
VMware Workstation
VMware Workstation Installation http://www.vmware.com/ VMware
Workstation download http://www.vmware.com/support/serial_nu
mber.html -> serial number
30 days trial version for free
Red Hat 9.0 download (three .iso files) http://linux.softpedia.com/progDownload/R
ed-Hat-Linux-Download-40.html
11
![Page 12: LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University](https://reader036.vdocuments.us/reader036/viewer/2022062717/56649e415503460f94b32f87/html5/thumbnails/12.jpg)
VMware Workstation
Setup.exe
12
![Page 13: LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University](https://reader036.vdocuments.us/reader036/viewer/2022062717/56649e415503460f94b32f87/html5/thumbnails/13.jpg)
Red Hat 9.0
Red hat 9.0 Installation Click “New Virtual Machine”
13
![Page 14: LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University](https://reader036.vdocuments.us/reader036/viewer/2022062717/56649e415503460f94b32f87/html5/thumbnails/14.jpg)
Red Hat 9.0
14
![Page 15: LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University](https://reader036.vdocuments.us/reader036/viewer/2022062717/56649e415503460f94b32f87/html5/thumbnails/15.jpg)
Red Hat 9.0
Select OS to install in Vmware
15
![Page 16: LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University](https://reader036.vdocuments.us/reader036/viewer/2022062717/56649e415503460f94b32f87/html5/thumbnails/16.jpg)
Red Hat 9.0
16
![Page 17: LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University](https://reader036.vdocuments.us/reader036/viewer/2022062717/56649e415503460f94b32f87/html5/thumbnails/17.jpg)
Red Hat 9.0
Disk Size Specification
17
![Page 18: LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University](https://reader036.vdocuments.us/reader036/viewer/2022062717/56649e415503460f94b32f87/html5/thumbnails/18.jpg)
Red Hat 9.0
18
![Page 19: LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University](https://reader036.vdocuments.us/reader036/viewer/2022062717/56649e415503460f94b32f87/html5/thumbnails/19.jpg)
Red Hat 9.0
19
![Page 20: LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University](https://reader036.vdocuments.us/reader036/viewer/2022062717/56649e415503460f94b32f87/html5/thumbnails/20.jpg)
Red Hat 9.0
20