When I started Ubuntu Server 20.x on Raspberry Pi 3, various settings were required, so I summarized it as a memo.
$ sudo hostnamectl set-hostname <HOSTNAME>
/etc/netplan/*.yaml is processed in file name order, and duplicate setting items are overwritten by the file to be processed later. So, create it with a file name that will be processed last
$ sudo vi /etc/netplan/99-manual-config.yaml
Reflect settings
$ sudo netplan apply
$ sudo vi /etc/systemd/resolved.conf
Specify the IP address of the name server in the DNS =
line
When specifying multiple servers, separate them with a space.
Reflect settings
$ sudo systemctl restart systemd-resolved.service
Check the setting status
$ resolvectl status
$ sudo timedatectl set-timezone Asia/Tokyo
$ sudo vi /etc/systemd/timesyncd.conf
Specify the NTP server on the NTP =
line
When specifying multiple servers, separate them with a space.
Reflect settings
$ sudo systemctl restart systemd-timesyncd
$ sudo apt -y update
$ sudo apt -y upgrade
$ sudo apt -y install language-pack-ja
$ sudo update-locale LANG=ja_JP.UTF-8