by Arvin Liu
Foresight camp
Virtual Machine
About me
not important.


Details
Before Lecture...
Please download...
Ubuntu(64-bit).iso
www.csie.ntu.edu.tw/~b05902127/ubuntu-amd64.iso
VM-demo.ova
www.csie.ntu.edu.tw/~b05902127/VM-demo.ova
VM-demo.img
www.csie.ntu.edu.tw/~b05902127/VM-demo.img
Git_Tutorial.pptx
www.csie.ntu.edu.tw/~b05902127/Git_Tutorial.pptx
Why VM?
0. fashion
有個"Virtual"聽起來就是潮。
1. 一台電腦,多重享受。
看起來也很潮。

2.沙盒環境
3.模擬小型網路環境
LAN-Local Area Network

4.複數系統,管理方便。
(NASA lecture by hsinmu)

What VM?
4(or 2) popular VM

Xen/VirtualBox/VMware/Hyper-V
It is said that...
Stability :
VirtualBox > VMware > Hyper-v
Efficiency :
Hyper-v > VMware > VirtualBox
VirtualBox v.s. VMware

Where is Hyper-v ?


VirtualBox/VMware?
Add new VM
VirtualBox






VMware







Demo Time
Practice :
install ubuntu.
Support us!

-台大資工b05之切質數蛋糕師傅-
filename extension
.iso
An ISO file, often called an ISO image, is a single file that's a perfect representation of an entire CD, DVD, or BD


Load .ISO image

Should I know .iso?

.ova / .ovf
An OVA(Open Virtual Appliance) package, which is a tar archive file with the OVF directory inside.
OVF (Open Virtualization Format), which is a standard format used to package and distribute software that is run in virtual machines.
.img
The .img filename extension is used by disk image files, which contain raw dumps of a magnetic/optical/floppy disc.

Have you ever seen floppy?
import / export
IMPORT - VirtualBox


WARNING


不是這個MAC。
MAC Address

Windows : ipconfig
Linux : ip link show

MAC address collision


IMPORT - VMware

VirtualBox Settings

System

All in all


>
All in all

存放裝置

IDE
.iso file
SATA
建立虛擬硬碟(.vdi/.vmdx)
軟碟(Floppy)
.img file
VMware Settings
一張一張的插入。

Memory / Processor




Network Adapter

boot sequence

Normal method

VirtualBox (normal)
VirtualBox (lazy)

Review
-
boot seq.
-
import/export .ova
-
import .iso / .img
-
reset MAC address
Practice

一定是我開啟的方式有錯。
一定是我開啟的方式有錯。
description:
Given an ova and img file,
plz start the VM correctly.
(import an ova -> import an img.)
Do you find the answer?

Solution - VirtualBox
V-ram is too small.

move it to green zone.
import img

FIN

Solution - Vmware
Import img

FIN

MISC
(miscellaneous)
misc 1 : Alias

Alias
temporary alias
alias <??>=<command>
permanant alias
edit your ~/.bashrc
reload: . ~/.bashrc
Interesting Problem:
alias mkdir=ls
misc 2 :
Bash on Windows X

misc 3 :
scp through VM


Q&A

END
by Arvin Liu Foresight camp Virtual Machine
Foresight camp
By Arvin Liu
Foresight camp
- 1,182