- 使用安装系统时填写的普通登录用户的内容
-
cat /proc/version Linux version 5.4.0-90-generic (buildd@lgw01-amd64-054) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021
-
cat /etc/issue Ubuntu 20.04.3 LTS n l
-
修改配置文件
-
vim /etc/ssh/sshd_config
-
-
修改配置文件 (此配置文件为yaml文件,使用yaml格式)
-
vim /etc/netplan/00-installer-config.yaml
-
# This is the network config written by 'subiquity' network: ethernets: ens33: addresses: - 192.168.5.101/24 gateway4: 192.168.5.1 nameservers: addresses: [114.114.114.114] search: [] version: 2 -
(图片中IP地址注意需写入子网掩码“/24”)
-
-
netplan apply
-
ping baidu.com



