在Linux系統中,Minimal安裝是一種最小化的安裝方式,它只包含最基本的系統工具和應用程序,適合那些想要一個輕量級、高度可定制的Linux系統的用戶。以下是基于Ubuntu的Minimal安裝的定制系統步驟:
sudo apt update
sudo apt upgrade
sudo apt install curl wget vim
sudo nano /etc/netplan/01-netcfg.yaml
network:
version: 2
renderer: networkd
ethernets:
enp0s3:
dhcp4: no
addresses: [192.168.1.100/24]
gateway4: 192.168.1.1
nameservers:
addresses: [8.8.8.8, 8.8.4.4]
sudo netplan apply
sudo apt install ubuntu-desktop
sudo apt install fcitx fcitx-sogoupinyin fcitx-config-gtk
im-config -n fcitx
sudo apt install ubuntu-desktop
sudo systemctl isolate graphical.target
sudo systemctl enable graphical.target
sudo reboot
sudo apt search 軟件包關鍵詞
請注意,以上步驟可能會隨著Ubuntu版本的更新而發生變化。建議查閱最新的官方文檔或教程以獲取最準確的信息。