天天看點

Ubuntu-server-18.04和Ubuntu-desktop20.04安裝

一、Ubunt 鏡像檔案下載下傳

  • 清華鏡像可以下載下傳到不含live是server鏡像檔案。
  • 清華鏡像:https://mirrors.tuna.tsinghua.edu.cn/ubuntu-cdimage/ubuntu/releases/
  • 阿裡鏡像:http://mirrors.aliyun.com/ubuntu-releases/

二、安裝Ubuntu18.04.5

2.1配置虛拟機

  • 建立虛拟機
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 選擇自定義
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 選擇虛拟機硬體相容性為預設。
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 安裝客戶機作業系統選擇稍後安裝作業系統。
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 選擇客戶機作業系統為Linux,版本為Ubuntu 64 位
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 為虛拟機命名,并且選擇安裝位置。
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 為處理器配置為2個處理器,2個核心數量
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 配置記憶體為2GB,即為2048MB
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 網絡類型、選擇I/O控制器類型預設即可
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 選擇磁盤類型為SCSI
    Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 選擇磁盤為建立新虛拟機磁盤
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 指定磁盤容量大小為200GB,并且将虛拟 磁盤存儲為單個檔案
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 指定磁盤檔案預設即可
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 點選完成,完成虛拟機的建立
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝

2.2 為虛拟機添加映像檔案

  • 點選CD/DVD進入虛拟機設定
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 點選使用ISO映像檔案
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 點選預覽選擇需要的映像檔案後點選打開。
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 檢視是否正确,正确點選确定。
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝

2.3 配置Ubuntu

  • 點選開啟此虛拟機
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 選擇English回車
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 選擇Install Ubuntu Server回車進行安裝
    Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 已經選擇English回車繼續。
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 選擇Hong kong回車
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 檢測鍵盤選擇NO回車
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 鍵盤布局預設為English(US)回車,後一句預設回車。
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 配置Hostname,命名完成後按ALT到Continue回車。
  • 配置一個使用者,配置完成後使用ALT切換到Continue回車。
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 配置密碼完成後使用ALT到Contune回車後重新輸入密碼
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 進入分區選擇Manual按回車,自己手動分區
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 選擇到SCSI33回車,進入後選擇YES
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 完成後SCSI33下多出pri/log選擇到後回車進入。
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 進入分區:

分區規劃

名稱 大小
/ 100G
/boot 1G
/DATA 50G
SWAP 4G
  • 劃分/分區
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 大小設定為100GB
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 選擇Primary
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 選擇Beginning
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • Use as:選擇Ext4 預設即可然後到Done setting up the Partition回車即可。
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 其他分區類似 相同部分不在贅述。
  • 注意在進行/boot分區的時候預設是/home需要選擇到 後手動更改。
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 在為/DATA分區時需要手動輸入選擇到Mount point 後選擇Enter manually。
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 在進行SWAP分區的時候需要在 Use as回車進入上選擇swap area。
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 完成分區後選擇Finish partitioning and write changes to disk回車
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 選擇Yes
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 設定代理 一般不需要回車
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 選擇是否自動更新。
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 選擇需要的軟體,必須選擇OpenSSH server使用空格進行選擇。
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 安裝GRUB預設為Yes即可
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 安裝成功重新開機
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 完成安裝,做快照備份即可。

三、安裝Ubuntu 桌面版

3.1建立虛拟機

  • 和上面相同,不在贅述

3.2 添加映像檔案

  • 和上面相同,不在贅述
  • 安裝為20.04
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝

3.3 配置Ubuntu

  • 開啟虛拟機
  • 選擇語言為English,點選Install Ubuntu
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 選擇鍵盤布局English—English(US),點選Continue。
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 保持預設
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 選擇Something eles
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 分盤設定點選New Partition Table,下一界面選擇Continue
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 輕按兩下free space進行分盤
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 分區規劃
名稱 大小
/ 100G
/boot 1G
/DATA 50G
SWAP 4G
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 分區情況
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 選擇地區
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 設定使用者,提示短密碼
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 開始安裝
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 重新開機
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝
  • 進行簡單的配置後完成。做快照。
Ubuntu-server-18.04和Ubuntu-desktop20.04安裝

繼續閱讀