ubuntu20.04 server 安装
1.网络配置
1.1网络管理工具 netplan
- 在 Ubuntu20.04 版本中使用 netplan 管理网络
- 在安装好的 Ubuntu20.04 中没有 networking 和 NetworkManage 服务
- netplan 配置文件:/etc/netplan/*.yaml ,文件名每个不一样
- netplan 说明文件: /usr/share/doc/netplan/example/ 目录下,在该目录下有各种样例文件,可以提供帮助
1.2修改网卡配置
-
编辑网络配置文件
root@it:~# vim /etc/netplan/00-installer-config.yaml # This is the network config written by ‘subiquity‘ network: ethernets: ens32: addresses: - 192.168.121.25/24 gateway4: 192.168.121.2 nameservers: addresses: - 8.8.8.8 ve

本文介绍Ubuntu20.04 Server版的安装步骤及后续配置过程,包括网络配置、root用户密码设置、SSH服务安装配置及更换软件源等关键操作。
最低0.47元/天 解锁文章
6445





