LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University Acknowledgement : notes from A. Gokhale, A, Taylor
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.
Cygwin Snapshot
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
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}
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)
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
VMware Workstation
LINUX under MS-Windows
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
VMware Workstation VMware Workstation Installation VMware Workstation download ml -> serial number ml 30 days trial version for free Red Hat 9.0 download (three.iso files) Hat-Linux-Download-40.html Hat-Linux-Download-40.html 11
VMware Workstation Setup.exe 12
Red Hat 9.0 Red hat 9.0 Installation Click “New Virtual Machine” 13
Red Hat
Red Hat 9.0 Select OS to install in Vmware 15
Red Hat
Red Hat 9.0 Disk Size Specification 17
Red Hat
Red Hat
Red Hat