[安裝教學] 003 安裝 Windows 子系統 Linux 版(WSL 安裝)

飛飛 | 2021-06-14

本文手教手教大家在 Windows 安裝子系統 Linux 簡稱 WSL,並以 Ubuntu 為範例。

(閱讀全文...)

[安裝教學] 002 在 Virtualbox 安裝 Ubuntu

飛飛 | 2021-06-07

本文章手把手示範如何在虛擬機軟體 Virtualbox 安裝作業系統 Ubuntu。

若還沒有安裝,可參考文章:[安裝教學] 在 Windows 10 安裝虛擬機軟體 Virtualbox

Ubuntu

Ubuntu 作業系統是基於 Debian,有三個版本,包括圖形化介面、伺服器版(只能用指令)及用於物聯網設備的 Core 版本。

安裝教學

https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/blogger.jpg

  • 搜尋 Ubuntu iSO 檔案

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu001.jpg

  • 點選網站,進入下載頁面

    https://ubuntu.com/download/desktop

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu002.jpg

  • 點選 Accept all and visit site 接受

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu004.jpg

  • 點選 Dowload,進行下載

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu005.jpg

  • 開始下載

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu006.jpg

  • 等待下載

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu007.jpg

  • 下載完畢後,開啟 Virtual box,點選新增

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu008.jpg

  • 輸入名稱與儲存資料夾,選取類型 Linux 與版本 Ubuntu(64-bit)

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu009.jpg

  • 記憶體大小,輸入 2048 MB 也等於 2GB

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu010.jpg

  • 選取【立即建立虛擬硬碟】,點選【建立】

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu011.jpg

  • 選擇 VDI,點選下一步

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu012.jpg

  • 選擇動態分配,點選下一步

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu013.jpg

  • 選擇路徑,硬碟大小 20GB,點選建立

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu014.jpg

  • 成功建立後,點選兩下,就會開啟虛擬機

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu015.jpg

  • 掛載 ISO 點選資料夾

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu016.jpg

  • 點選加入

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu017.jpg

  • 選擇剛剛下載的 ISO 檔案

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu018.jpg

  • 點選選擇

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu019.jpg

  • 點選開始

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu020.jpg

  • 等待安裝過程

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu021.jpg

  • 進入下載精靈,這裡可以選擇繁體中文,示範以英文為範例,點選 Install Ubuntu

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu023.jpg

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu024.jpg

  • 點選預設的鍵盤樣式,點選 Continue

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu025.jpg

  • 更新選取預設,點選 Continue

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu026.jpg

  • 選擇安裝類型,因為是虛擬硬碟,因此可以直接抹除硬碟後進行安裝,點選 Continue

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu027.jpg

  • 確認抹除,點選 Continue

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu028.jpg

  • 選擇時區Tapei,點選 Continue

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu030.jpg

  • 輸入帳號密碼 請務必記得自己的帳號密碼

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu031.jpg

  • 等待安裝

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu032.jpg

  • 安裝完畢後重新開機

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu033.jpg

  • 點選使用者,並輸入密碼

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu035.jpg

  • 點選 Skip

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu036.jpg

  • 點選 Next

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu037.jpg

  • 點選 No 再點選 Next

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu039.jpg

  • 點選 Next

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu040.jpg

  • 點選 Done

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu041.jpg

  • 對著桌面點選 Open in Terminal

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu042.jpg

  • 開始輸入指令

    https://github.com/fei3363/blogger/raw/main/install-ubuntu-on-virtualbox/ubuntu043.jpg

插入 Guest Additions CD

Guest Additions 可以讓我們在操作虛擬機更加的方便,可以提供虛擬機以及本機共用剪貼簿共用資料夾拖放功能,並且也可以讓虛擬機的畫面隨著視窗大小調整,因此非常推薦使用。

  1. 安裝所需套件

    bash=
    sudo apt install gcc make perl

  2. 點選裝置插入 Guest Additions CD 映像...

  3. 點選 Run

  4. 輸入密碼,並點選 Authenticate

  5. 等待安裝完成,並按下Enter

  6. 關機並重新啟動虛擬機

  7. 安裝成功

  8. 開啟共用剪貼簿

    前面提到的功能都可以在裝置當中開啟
    點選裝置 > 共用剪貼簿 > 雙向

疑難排解 - VT-x

VirtualBox 的虛擬機需要開啟虛擬化技術 VT-x才可以使用
如果在開啟虛擬機時遇到錯誤 VT-x is disabled in the BIOS ... 這樣的錯誤訊息,請到電腦的 BIOS 當中找到 VT-x 的選項將它開啟。
每個電腦進入 BIOS 的方式有些微差異,一般來說可以嘗試在開機出現電腦 logo 時點擊 del 或是 F12 進入。

[安裝教學] 001 在 Windows 10 安裝虛擬機軟體 Virtualbox

飛飛 | 2021-06-07

本篇文章手把手教你在 Windows 10 安裝虛擬機軟體 Virtualbox,文章內包含大量的圖文解釋,讓你不會迷失在安裝的路途中,讓你輕鬆安裝虛擬機。

(閱讀全文...)