1. 程式人生 > 其它 >ubuntu系統安裝

ubuntu系統安裝

ubuntu官網

https://ubuntu.com/

ubuntu歷史版本

https://releases.ubuntu.com/

映象檔案
建立一個可啟動的 U 盤

https://rufus.ie/zh/

插上準備好的U盤,開啟rufus,準備桌面版本ubuntu
重啟電腦,快速按F12進入BIOS介面,選擇UEFI方式回車啟動。
如果你的主機支援RST功能,ubuntu需要你設定成AHCI或者禁用
系統進入ubuntu導航,開始檢測並校驗映象檔案
推薦使用English
我選擇 Erase disk and install ubuntu 方式安裝
keyboard layout 使用English US
選擇 Minimal installation 比較清爽
如果不方便可以先不連線網路
確認安裝碟符,開始安裝
點選地圖,選擇所在城市
設定電腦密碼和主機名稱
安裝完成,拔出U盤
開機後連線網路,Ctrl+Alt+T 開啟終端,更新軟體最新版本資訊
sudo apt update
如果失敗可能是資料來源網址連線不好,換一個數據源解決問題,推薦中科大
sudo nano /etc/apt/sources.list
//裡面的資訊全部替換成
//阿里
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
//中科大
deb https://mirrors.ustc.edu.cn/ubuntu/ focal main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ focal-security main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-security main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu/ focal-proposed main restricted universe multiverse
下載最新的版本軟體並安裝
sudo apt upgrade
安裝中文輸入法

安裝ubuntu server

準備server版本ubuntu

設定電腦上電自啟動

進入bios選擇啟動系統

推薦選擇English安裝

連線網路環境,這裡是選擇wifi連線

設定代理,這裡我沒有設定

設定映象地址

選擇安裝版本,這裡使用系統啟動盤的預裝系統

選擇Continue without updating

選擇系統安裝的碟符

繼續done

選擇Continue

設定使用者名稱和密碼

輸入口令,這裡我沒有輸入

設定SSH

這裡我什麼也沒有選

開始安裝

安裝完成,點選Reboot Now

如果出現下圖,拔掉U盤後按回車

登陸測試