So here is the solution for the first task, which was setting up a base server.
Install two RAIL servers as a virtual machine using minimal installation pattern.
Use the names server1.example.com as well as server2.example.com and DHCP to get an
IP address from the local DHCP server, and configure hostname resolution for both.
In case you had any worries about the local DHCP server, any virtualization client has
a DHCP server internally, so this shouldn't be an issue.
Use default partitioning and do not register the servers with Red Hat.
Also, do not set a root password and create an administrative user, Anna, with a password
password on both of these servers.
Let me show you how to create one of these servers.
If you know how to do it for one, you also know how to do it for the other one.
All right, so after booting from the installation disk, select Install RAIL 10.
Then installation language obviously should be set to English.
And here we have different options from which you need to select.
As you've noticed, it's not really very complicated what you need to do.
Let's start by creating a user, and we need user Anna.
Add administrative privileges, you leave that selected, and the password is set to password.
Then in the software selection that is set to server with GUI by default, make that minimal
install.
Next, you need to go to automatic partitioning.
Don't change anything, just use the defaults.
And in network and hostname, you need to set the hostname, so server1.example.
And likewise for the other server.
And then you click Done, and then Begin Installation, and you wait until it is complete.
Same story for the other server.
So once completed, you click Reboot, and then you are going to log in.
Use the user that you just created, and there you go.
Here you are on the prompt of the minimal server installation.
So what do we do next?
Well, above all, do not register your server with Red Hat.
And next, set up hostname resolution.
First, we need to find the IP address, 137 last byte, so sudo vim etc hosts.
And there I can set up hostname resolution.
And oh boy, vim command not found.
Yes, my friends, this is a minimal installation.
So let's go for vi on etc host.
And add the line that you want for server1.example.com.
Always a good idea to also use a short name, and also do it for server2.example.com.
And this is something that you need to do on server2 as well.
So once you've done that, you are good with task number one.