1 / 30

LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation

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. LINUX Environment. Stand alone LINUX OS (possibly with multi booting)

mccurdya
Download Presentation

LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LINUX System : Lecture 3Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University • Acknowledgement : notes from A. Gokhale, A, Taylor

  2. LINUX Environment • Stand alone LINUX OS (possibly with multi booting) • Client-Server - Client : telnet, ssh, putty, … • Using Virtual Machine (VMware) • Using cygwin

  3. LINUX Distribution • 리눅스 커널에 여러가지 응용프로그램을 추가하여 쉽게 설치할 수 있도록 만들어 놓은 것이 배포판이다. • 예: Ubuntu, Fedora, Redhat, openSUSE, … • 우분투 : 설치와 사용이 쉬워 개인용 데스크톱 및 노트북에서 가장 인기있는 LINUX 배포판 중 하나임. • 많은 종류의 배포판이 있으며 그 중 가장 유명한 것중 하나가 “레드햇” 사에서 배포하는 리눅스임 • Redhat 9 이후로 “Redhat”이라는 이름으로 더 이상 무료로 배포하지는 않지만, Fedora Core 프로젝트를 지원함으로써 실질적으로는 레드햇 리눅스의 연장선상에 페도라코어 리눅스가 존재하는 것으로 보아도 됨. • “Fedora Core Linux”와 “Redhat Enterpriser Linux”의 사용법이나 기능의 차이는 거의 없으며, 오히려 “Fedora Core”가 더 최신의 기능을 포함하고 있음

  4. Ubuntu • http://www.ubuntu.com/

  5. Fedora • http://fedoraproject.org/

  6. Cygwin Overview • Cygwin offers a UNIX like environment on top of MS-Windows. • You can use UNIX/LINUX shells, utilities & programs (gcc, vi, emacs, grep, …) under MS-Windows • UNIX programs (e.g. xv) 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.

  7. Cygwin Snapshot

  8. Cygwin Description • Cygwin consists of • a library that implements the POSIX system call API in terms of Win32 system calls (UNIX system call을 emulation해주는 layer가 추가되는 셈) • a GNU development tools (such as gcc and gdb) to allow software development • a large number of application programs equivalent to those on the Unix system

  9. Cygwin Description • Many UNIX programs ported to Cygwin • X Window, KDE, GNOME, Apache, and TeX. • allows MS Windows to emulate Unix servers • permits installing inetd, syslogd, sshd, Apache, and other daemons as standard Windows services,

  10. cygwin 특징 • 유닉스/리눅스 binary file을 직접 실행시킬 수 없고, 소스를 cygwin용으로 포팅해야 함 (리눅스용 소스를 큰 변경없이 포팅 가능한 경우 많음). • Cygwin에서 컴파일된 프로그램은 실행시 cygwin1.dll 필요함 • Virtual Machine을 사용하여 UNIX를 실행하는 것보다 빠르다

  11. Cygwin Utilities Command line tools: • Compiler (gcc, g77, g++, make) • Network tools (ssh, rsh, telnet, rsync) • Remote File Transfer : ftp, scp • Programming tools (splint, indent) • Version control system (cvs, rcs) • Text processing: TeX, groff, Ghostscript • File tools (diff / patch, head / tail / cut, od, grep, sed, awk) • Shell scripting (bash, tcsh, zsh) • Archive/Compression (tar, gzip, bzip,zip) • 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)} • Servers: Apache, OpenSSH, telnetd, … GUI based tools: • Xemacs • “xv” • Ghostscript

  12. 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 • Execution of complete OS • Advantage of system VM • Multiple OS environments can co-exist on the same machine in strong isolation from each other • VM can provide an instruction set architecture (ISA) that is somewhat different from that of the real machine • Disadvantage : inefficiency • 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)

  13. Virtual Machine Example 가상머신 상에서 구동된 여러 운영체제들

  14. VMware Workstation • Host OS • 현 PC에 설치되어 있는 운영체제 • Guest OS • VMware 내부에 설치되는 운영체제

  15. VMware Workstation • successful VM software made by VMware, Inc. • VMM (Virtual Machine Monitor) = Hypervisor • SW or HW that creates and runs virtual machine • 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 speaking, • VMware Workstation allows one physical machine to run multiple operating systems simultaneously

  16. LINUX under MS-Windows

  17. 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

  18. VMware 의 편리한 기능 • 똑같은 운영체제가 필요할 경우에, 복사해서 사용할 수 있다.  OS의 복사/붙여 넣기 또는 Vmware의 Clone 기능 • 현재 PC의 상태를 그대로 저장해 놓고, 다음에 현재의 상태로 구동시킬 수 있다.  Suspend 기능 • 하드디스크 같은 하드웨어를 내 맘대로 여러 개 장착하여 테스트 할 수 있다. • 특정 시점을 지정해 놓고, 여러 가지 실험적인 작업을 하고 문제가 발생시에 해당되는 특정시점으로 되돌릴 수 있다.  Snapshot 기능

  19. 가상 데스크톱 • Virtual Desktop Infrastructure (VDI) • run desktop operating systems and applications inside virtual machines that reside on servers in the data center • Users access the virtual desktops and applications from a desktop PC client or thin client using a remote display protocol and get almost the full features as if the applications were loaded on their local systems

  20. 가상 데스크톱 서비스 : KT ucloud biz 예: KT ucloud biz

  21. VMware Workstation • VMware Workstation Installation • http://www.vmware.com/ VMware Workstation download • http://www.vmware.com/support/serial_number.html -> serial number • 30 days trial version for free • Red Hat 9.0 download (three .iso files) • http://linux.softpedia.com/progDownload/Red-Hat-Linux-Download-40.html

  22. VMware Workstation Setup.exe

  23. Red Hat 9.0 • Red hat 9.0 Installation • Click “New Virtual Machine”

  24. Red Hat 9.0

  25. Red Hat 9.0 Select OS to install in Vmware

  26. Red Hat 9.0

  27. Red Hat 9.0 Disk Size Specification

  28. Red Hat 9.0

  29. Red Hat 9.0

  30. Red Hat 9.0

More Related