sudo apt-get install -y qemu-kvm libvert-daemon-system libvert-clients bridge-utils virt-manager
sudo hostnamectl set-hostname nuc00.materialsexmachina.com
change /etc/hosts
sudo apt-get install -y rng-tools
$sudo vi /etc/default/rng-tools
HRNGDEVICE=/dev/urandom
$ sudo systemctl enable rng-tools
$ sudo systemctl start rng-tools
Installing the server
sudo apt-get -y install freeipa-server
Kerberos realm: materialsexmachina.com
kerberos server hostname: nuc00.materialsexmachina.com
administrative server hostname: nuc00.materialsexmachina.com
sudo ipa-server-install
Rules for the firewall
sudo ufw enable
for i in 80 443 389 636 88 464; do sudo ufw allow proto tcp from any to any port $i; done
for i in 88 464 123; do sudo ufw allow proto udp from any to any port $i; done
sudo ufw reload
References:
https://computingforgeeks.com/install-and-configure-freeipa-server-on-ubuntu/
https://computingforgeeks.com/how-to-configure-freeipa-client-on-ubuntu-centos/