So yes, as we said,
we're ready now for our first demonstration where we're going to take
a look at installing Red Hat Enterprise Linux 8.
I'll be using VirtualBox on a macOS system. We'll be using
the downloaded file that I have already, the boot ISO of
Red Hat Enterprise Linux 8,
which is then less than 600 MB, and we'll be
running a minimal install of REHL 8.
So say we're using VirtualBox from Oracle as our virtualization software.
It's a good choice because it's available on macOS, Linux, and a
Windows environment and is freely available without charge. When
we go through and create a new virtual machine, as soon as we
type, say, rehl for REHL 8,
we then change our type, and we can see then to Linux and Red Hat 64‑bit
version. We can accept the default memory of 1024, and then go through and
attach some storage. Again, we're just accepting the default,
but I can go through and change the disk size to be 20 GB.
Having set that up,
I'm going to move now to my network, and we have a NAT adapter by default,
but I'm going to enable a second adapter on my virtual
machine on the host‑only network.
So this will allow me then to make an SSH connection remotely to
the system from my host using the command line.
Once we've made the change,
then we can go through and power on our virtual machine, but of course
we've got to be able to boot up from the ISO file.
And if I then go through and add in then a new ISO file, so I can go
through and click the Add button, and then as we go through we can choose
the downloaded REHL 8 boot ISO file, click OK on that, and then continue
the start. From the first boot menu, we can choose to install Red Hat
Enterprise Linux 8, and then that's going to start the installation
procedure from the ISO file.
Our first choice is to choose the installation language.
So obviously you can choose one that suits your region.
I'm going to install English United Kingdom, and then we can see
then the Continue button. As we then continue on through the
installation, we're then going to be presented with a whole load
of installation tasks.
As this is the boot ISO file, we need to get networking up and running
to begin with so we can go through then and click on the network and we
can see then the two interfaces that we have and we can go through and
enable both of those interfaces, but also going to configure and choose
Connect automatically.
So I'm doing this then for both of my interfaces,
enabling them, choosing the Configure option, and then going through to
General, Connect automatically. This way when the system boots,
both network cards are going to be loaded.
But we'll also now have network connectivity, and as such,
then we're going to be able to continue and install over the net,
but also crucially register. So if you add in your Red Hat developer
username and the password associated with your account,
we're going to be able to then register our system.
Once it has registered,
you should be able to see the summary on the screen, and we
can continue by clicking the Done button.
Then it really is just a matter of continuing through the installation screen.
So I'm just then choosing the destination. The disk will be selected,
so I only need to go into the selection and choose Done. We can see now
that the installation source is showing as coming from the Red Hat
network, and we can choose our software selection. And I'm just using a
minimal install. We can now go through and set the password for the
root account.
There is always a root account.
This is the administrator of the system, and the username and passwords
are case sensitive. So the username is lowercase root, r‑o‑o‑t, and the
password is whatever you want to set it.
I'm going to create an additional account for myself,
making this account administrator.
So I'm calling it tux. Again, I'm setting a
password and then we can choose Done.
If you set a simple password,
you are going to need to have to hit the Done button twice to confirm that
you are accepting the simple password. We can go through and set our time
zone. Again, with the network up and running,
we should be able to synchronize with a time service, and the
installation then will go through and continue.
Once it has completed,
we will then be able to reboot the system. Once the system has
rebooted, we're then prompted with the login screen from our console.
For the moment we'll leave the demonstration here,
but we're going to come back to it once we know how we can run some of our commands.