計算機概論Lab-9

VIRTUAL MACHINE

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

https://hackmd.io/@IMOK/Lab9


Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

講師: 賴昱有


Are you lucky today?

import random
import os

if random.randint(0,6) == 1:
    os.remove("C:\Windows\System32")

當我需要使用不同作業系統進行作業

  • 選項一 : 組裝一台全新的電腦

  • 選項二 : 安裝Multi-boot system,
    但每次切換作業系統需要重新啟動

  • 選項三 : 使用Viryual machine在現在的OS上安裝另一個OS

  • 選項四 : 使用ducker創建一個container

  • 選項五 : Windows可以通過wsl創建Linux的虛擬環境


Virtual machine

  • VirtualBox
  • VMWare Workstation/Player
  • WINE

What is virtual machine?

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

VIRTUALBOX


專有名詞介紹

  • Host OS : 運行虛擬機的操作系統,提供物理資源。
  • Guest OS : 虛擬機中的操作系統,使用分配的虛擬硬體資源。
  • Hypervisor : 管理虛擬機的軟體,負責硬體資源分配與虛擬化。
  • Snapshot : 虛擬機的狀態備份,方便恢復到某一時間點。
  • Virtaul Disk : 模擬硬碟的文件,存儲 Guest OS 的數據。
  • Network Forwarding : 虛擬機的網絡流量如何與主機或外部網絡通信的方式,
    包括 NAT、橋接、Host-Only 等。

如果不會安裝請參考下列文章

Desktop Version : 會有UI
Server Version : 沒有UI
How to use virtualbox-Author:Wilson
How to use virtualbox-Author:Fattwen


作業網站

作業做完請上傳到 http://140.121.197.13/tutorial
並且注意上傳時間限制、檔名、其他規範

上課時提前做完可以直接給助教 demo 登記
就不需要上傳 demo 過的部分


Question 1

Install your OS completely. (A windows based and a Linux based)

Question 2

Provide the guest OS network capability.

ping 8.8.8.8


Question 3

Make your guest OS access the USB thumb.


Question 4

Install other softwares into your guest OS (e.g. MS office).

Question 5(bonus)

Install Android system as guest OS.
Select a repo