Exercise #1: Exploring Open-Source Operating Systems with Virtual Machines J. H. Wang Sep. 20, 2016.

Slides:



Advertisements
Similar presentations
COMPUTERS: TOOLS FOR AN INFORMATION AGE Chapter 3 Operating Systems.
Advertisements

Run a Virtual Machine. Virtualization Have you ever imitated someone else? That's because your mind is thinking/ imagining as that person Same to a Computer:
WINDOWS 7 AND UBUNTU INSTALLING LINUX WITHIN WINDOWS.
To run the program: To run the program: You need the OS: You need the OS:
Red Hat Installation. Installing Red Hat Linux is the process of copying operating system files from a CD, DVD, or USB flash drive to hard disk(s) on.
Space Science and Engineering Center University of Wisconsin-Madison Virtual Machines: A method for distributing DB processing software Liam Gumley.
Virtualization and Open source Software Mr. Lau Ka Lun – Lai King Catholic Secondary School Date: 9 th, 21 st, 22 nd March, 2011.
Linux Basics CS 302. Outline  What is Unix?  What is Linux?  Virtual Machine.
Tanenbaum 8.3 See references
Modifying Network Packet Buffering in Network Layer CS518 Final Presentation and Instruction Guide Li Zhang.
LINUX System : Lecture 3 Vmware, Cygwin, LINUX installation Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
N ETWORKED & D ISTRIBUTED COMPUTING S YSTEMS L AB Programming Assignments EE323 Computer Networks.
Hands-On Virtual Computing
CIS 191 – Lesson 2 System Administration. CIS 191 – Lesson 2 System Architecture Component Architecture –The OS provides the simple components from which.
Exercise #1: Exploring Open- Source Operating Systems with Virtual Machines J. H. Wang Mar. 9, 2010.
Linux in a Virtual Environment Nagarajan Prabakar School of Computing and Information Sciences Florida International University.
1 What is a Kernel The kernel of any operating system is the core of all the system’s software. The only thing more fundamental than the kernel is the.
University of Maryland Baltimore County UMBC Computer Science 691 Final Presentation Installation much like that of Linux Installation much like that.
Linux Mint 1 Introduction Linux Mint is a computer operating system based on the Linux distribution Ubuntu. Linux Mint is intended to be a modern, elegant.
Exercise #1: Exploring Open- Source Operating Systems with Virtual Machines J. H. Wang Sep. 25, 2015.
1 Copyright © 2015 Pexus LLC Patriot PS Personal Server Installing Patriot PS ISO Image on.
CSCI 330 UNIX and Network Programming Unit I Introduction.
Virtual Machines. A virtual machine takes the layered approach to its logical conclusion. It treats hardware and the operating system kernel as though.
Predrag Buncic (CERN/PH-SFT) Software Packaging: Can Virtualization help?
36 th LHCb Software Week Pere Mato/CERN.  Provide a complete, portable and easy to configure user environment for developing and running LHC data analysis.
Virtual Machines Module 2. Objectives Define virtual machine Define common terminology Identify advantages and disadvantages Determine what software is.
Course 03 Basic Concepts assist. eng. Jánó Rajmond, PhD
 Prepared by: Eng. Maryam Adel Abdel-Hady
The Future With Windows XP Microsoft announced that after April 16, 2014 it will not longer support Windows XP. No statement on continued inclusion of.
VIRTUAL MACHINE – VMWARE. VIRTUAL MACHINE (VM) What is a VM? – A virtual machine (VM) is a software implementation of a computing environment in which.
Virtualisation Exercise Installing VirtualBox Installing FreeBSD in a virtual machine Chris Wilson Joel Jaeggli AfNOG 2012.
Boot Diskettes, Bootable USB Keys and Live CDs Used when the computer can't start for some reason, as a diagnostic, repair and recovery tool. Boot diskettes.
Installing Windows 7 Lesson 2.
VirtualBox Introduction:
GNU and Linux.
CompTIA Server+ Certification (Exam SK0-004)
Operating System Kernel Compilation
Outline Installing Gem5 SPEC2006 for Gem5 Configuring Gem5.
RASPBERRY PI WORKSHOP.
GRUB 2 Dave Soergel.
Implementation of Embedded OS
Operating System & Application Software
CSC227: Operating Systems
Programming Tools Most of the programming assignments will require using the C language. We will use a current version of the GCC C compiler. What’s GCC?
OS Homework 1 February 22, 2017.
Prepared by: Eng. Maryam Adel Abdel-Hady
LINUX WINDOWS Vs..
Desktop Virtualization
Building a Virtual Infrastructure
BIF713 Managing Disk Space.
Operating Systems Overview
Exercise #1: Exploring Open-Source Operating Systems with Virtual Machines J. H. Wang Sep. 19, 2017.
Virtualization overview

CernVM Status Report Predrag Buncic (CERN/PH-SFT).
LINUX WINDOWS Vs..
Virtual Machines.
Hands-On Virtualization in the Classroom
5 SYSTEM SOFTWARE CHAPTER
Operating System Kernel Compilation
Chapter 4.
Exercise #1: Exploring Open-Source Operating Systems with Virtual Machines J. H. Wang Sep. 21, 2018.
5 SYSTEM SOFTWARE CHAPTER
Virtual Operating Systems
Using Virtual Machines
Different types of Linux installation
Understanding Linux and the BASH shell v
Operating System Kernel Compilation
Module 02 Operating Systems
Presentation transcript:

Exercise #1: Exploring Open-Source Operating Systems with Virtual Machines J. H. Wang Sep. 20, 2016

Objectives To get you familiar with some open-source operating systems like Linux To use virtualization tools such as VMware Player, or VirtualBox To explore the source code of Linux kernel

Exploring Linux Operating Systems The usual (and more difficult) way Download one of the Linux distributions as CDs or DVDs E.g. Redhat, Debain, Ubuntu, … Partition your hard disk and start installing the Linux distribution Configure your system parameters such as network, display, I/O devices, … Download the latest Linux kernel, compile it and replace the original kernel Since we will not focus on directly installing Linux from scratch, this is not what we will do…

The easier way (that will not depend on hard disk partitions and your OS platform) Download the virtual machine manager VMware Player or VirtualBox Download a virtual machine image pre-installed with OS and applications Boot the virtual machine image Download the latest Linux kernel, compile it and replace the original kernel

Other (indirect) ways Connecting to remote Linux hosts or workstations using telnet, ssh Installing UNIX-like environment such as cygwin http://www.cygwin.com/

VMware Player A popular free virtualization tool Easy to use You can run many different OS on various platforms We have other virtualization tools, as introduced in Sec. 1.12 Easy to use

Details Download VMware Player Download a virtual machine image http://www.vmware.com/products/player/ Latest version: Workstation 12 Player Download a virtual machine image http://www.vmware.com/appliances/ Boot the virtual machine within VMware Player

VirtualBox VirtualBox homepage: http://www.virtualbox.com/ Latest version: 5.1.6 You can also download the VirtualBox appliances or virtual machine images from the textbook author’s website: http://people.westminstercollege.edu/faculty/ggagne/osc/vm/index.html Debian 8.2 distribution, running kernel 3.1 (See Sec.1.12 for more details)

Obtaining the Latest Linux Kernel Source Code http://www.kernel.org/ The latest version: 4.7.4 Uncompress the downloaded file by: tar, gzip/gunzip or bzip2/bunzip2 tar xjf linux-4.7.4.tar.xz

A Tour of Linux Source Code Under /usr/src Maybe /usr/src/linux or /usr/src/linux-x.y.z Different modules drivers/ fs/ mm/ net/ … Procedures of Building a New Kernel (See Programming Project)

Further Reading Programming Project in Chap.2 Creating Linux kernel Modules