Setup
- to see the information of operating system
cat /etc/os-release
- to see the information about kernel and architecture
hostnamectl
-
network 教學
-
add configuration to the fille
sudo nano /etc/netplan/50-cloud-init.yaml
-
原檔案
network : ethernets: eth0: dhcp4: true optional: true version: 2
- 修改後 (層輯要分好)
network : ethernets: eth0: dhcp4: true optional: true version: 2 wifis: wlan0: optional: true access-points: "your_ssid": password: "your password" dhcp4: true
- ctrl + O , ctrl+X 退出
-