기타

ubuntu 22.04 install

lumination 2024. 2. 22. 22:02

ubuntu 22.04 install

 

1. custom layout storage

- boot 1024mb

- swap 4096mb

- / all

 

2. network

$ cat /etc/netplan/00-installer-config.yaml
# This is the network config written by 'subiquity'
network:
  ethernets:
    enp0s3:
      dhcp4: true
    enp0s8:
      addresses:
      - 192.168.137.60/24
      nameservers:
        addresses: [8.8.8.8, 8.8.4.4]
    enp0s9:
      dhcp4: true
  version: 2

적용 netplan apply

- enp0s3: nat (dhcp)

- enp0s8: host network (static ip)

- enp0s9: nat network (dhcp)