Initial server setup with Ubuntu20.04
Install on bare metal server.
i7-2600k, 16GB Memory, 128GB SSD, NIC x 3
Create a bootable USB installer using Rufus.{#header1}
Boot USB media and instalation.
Bridge interface.
If it is an LXC host, make it a bridge.
vi /etc/netplan/99-netplan.yaml
network:
ethernets:
enp1s0f0:
dhcp4: no
dhcp6: no
enp1s0f1:
dhcp4: no
dhcp6: no
enp3s0:
dhcp4: no
dhcp6: no
bridges:
br0:
interfaces: [enp1s0f0]
dhcp4: no
addresses: [192.168.8.43/24]
parameters:
stp: false
dhcp6: yes
br1:
interfaces: [enp1s0f1]
dhcp4: no
addresses: [192.168.9.43/24]
parameters:
stp: false
dhcp6: yes
br2:
interfaces: [enp3s0]
dhcp4: no
addresses: [192.168.23.43/24]
nameservers:
addresses: [192.168.23.47]
parameters:
stp: false
dhcp6: no
routes:
- to: default
via: 192.168.23.10
- to: 192.168.24.0/24
via: 192.168.23.3
version: 2
Create partition
pvdisplay
vgdisplay
lvcreate -L 5G -n vm ubuntu-vg
# format, mount
mkfs.xfs /dev/mapper/ubuntu--vg-vm
blkid
vi /etc/fstab
UUID="ac5bab6b-a2b5-b25b4af" /vm xfs defaults 0 0
mount -a