Try   HackMD

虛擬機架設教學

載點

Windows載這個Ubuntu 22.04 AMD iso
Mac載這個Ubuntu 22.04 ARM iso
VMware載點
裡面有Windows和Mac的 zip 檔裡面東西是一樣的 只是有壓縮過而已

Step.1 打開VT

VT(Virtualization Technology)虛擬化技術

mac 應該可以跳過這步驟
如果有提示需要開VT就用這個指令

sudo nvram boot-args=”kext-dev-mode=1

Advanced = 進階

  1. 進入BIOS介面
    • 進入設定,找到復原這個選項
    • 按下進階啟動這一個區塊的立即重新啟動
    • 出現藍色的介面後按下疑難排解
    • 進入進階選項,選擇UEFI韌體設定,按下重新啟動
  2. 開啟VT
    • 進到BIOS介面後,選擇右下角Advance Mode或者按下F7
    • 在上方的頁籤選擇Advanced
    • 找到CPU Configuration中央處理器設定(若沒有看到則跳過此步驟)
    • 找到Intel(VMX) Virtualization Technology虛擬化技術或者SVM Mode
    • 把選項從Disabled改為Enabled
    • 先按下F10,再按下Enter,就可以把VT打開了

Step.2 建立虛擬機

先至上方載點下載VMWare Workstation Pro 和 Ubuntu 22.04

安裝VMWare時,可能會需要重新開機,跟著上面的步驟進行即可

  • 打開VMWare 選擇Create a New 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 →
  • 到這一步時,選取剛剛下載的Ubuntu 22.04 映像檔(iso)
    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 →
  • Ubuntu啟動後,建議語言選擇預設的English即可
    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 →
  • 這裡設定的是你的使用者名稱、使用者密碼和主機名稱,我這樣設定的話,之後在terminal中顯示的就會是fearnot@ubuntu
    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 →
  • 跟著步驟設定完成後,重新啟動Ubuntu就完成了!
  • 這邊就一直按右上角的跳過就可以了
    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 →
  • 記得先按左邊的九宮格把Terminal拉出來釘選
    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 →