Welcome. After installing your Red Hat Enterprise Linux operating system, you will need to do some initial configurations. For example, to install new applications and approved packages, we'll need to configure your Yum repositories. In our case, we have extracted the rhel-8.1-ppc64le installation package, and we have mounted it over the network here on an NFS server. So let's go into that. On this FTP server, we have AppStream and BaseOS within that extracted package. Within BaseOS, for example, we have a packages directory, and there are all the approved packages for ppc64le. So you typically need some of these applications installed to do certain administrative tasks. Similarly, we have another directory called AppStream. Within that we have packages, and we must have a few other additional packages available here. Now, the idea is to configure our Yum repository so that we can get packages from the source. In my case, let's go to etc/yum.repos.d, and there I've configured two new files called rhel81-baseos and rhel81-appstream. Let me show you the contents. Here, I have used the base URL variable and I've pointed it to the location that I just showed you, and it is enabled. We're not doing any checking for now because it's an internal training only system. Here is the location of the AppStream directory that I just showed you. So this should be enough for us to do the yum repolist command and to verify that these are available to be used. As you can see here, we have rhel81-appstream and baseos available. Hopefully we can use that to install a few things. One of the next things that you would like to do is to install something called VNC service on this particular machine so that you can get into the graphical user interface of the system. So we have a new communications protocol called Wayland, which has been enabled by default on RHEL 8.1 system. So the first thing that I want to do is to disable that. Let's go into etc/gdm/custom.conf. You just have to uncomment this line, which I've just done. Now, let's try to install the TigerVNC server. We could do that using the newer DNF package installer. So DNF stands for Dandified Yum, it's an advanced version of Yum. We could do that or simply do yum install, and we could do tigervnc-server. It says, "Okay, these are all the dependencies that need to be installed, do you want to do that?" Yes. It's installing all the dependencies and so on and so forth before it installs our VNC server. Looks like it's complete. As you can see here, TigerVNC server is installed. Now there is another package called tigervnc-server-module. Let's see if that's also available. Looks like yes. Let's install that. Now, I'm logged in as the root user, as you can see here. Let's try to set a VNC password for the root user to login to the GUI of the system. Let me say no to the view only password. Looks like it's set. The next thing to do is to configure this VNC service. Let's create a new one called vncserver@.service. Now, I have a sample file like this versus a unit block, and then we have the service block. I've just made sure that the user is root and it belongs to the group root, and nothing special. I've got other default configuration for the VNC server here. Let's save and exit. Now, a couple of other things. Let's do this, setenforce as 0. Let's do sed-i, and we want to do s, g, and we want to put it under etc/selinux/config a few security related stuff. Now we can just do the systemctl daemon-reload command to ensure that the new service is available to use. We can now do the systemctl start vncserver@:1. It appeared that we had an extra space after unit, very likely. Let's verify that we don't have that. Now, we're able to start this particular service. Now, let's view its status just to make sure that it's up and running. It looks like it's active and running. To ensure that the service will be available on server reboots, we need to enable the service as well. Now, it looks like this particular server is up and running and also enabled. Next, we will verify that this server is actually running using the netstat command and let's do the minus the tnlp parameters. Here, we should see all our TCP servers running. The moment you see something like 5901, that should tell you that that's our XVNC service running here. That's because VNC typically uses 5900 plus N as its port number. The plus N in this case is one. That means we'll be connecting to display number 1 after port 5900, so that's port 5901. The other thing to note is sometimes firewalls should be enabled on your service, so firewall shouldn't be blocking this particular port 5901 on TCP. Basically, sometimes we could do. The command would be firewall command minus, minus permanent, minus, minus, add, minus port equal to, let's say, 5901 and TCP. We're adding a new rule here. This time it was quicker, it ran, and all you have to do next is to reload firewall. We run into some issue here. Let's see if we can fix it quickly. Systems CTL and we restart dbus and now we should be able to reloads firewalld as well. That would be the better way of doing it. We still have VNC listening on 5901. Let's go here and let's try to create a new connection. This time we've connected to port 5901 asking for the password. It was just a bit slow depending on the network connection you might have. It looks like we're in. Let's close that session and let's try to go back into our etc/gdm. Let's comment this line out. Now, let's try to restart our servers. Let's try again. It looks like after enabling Wayland, it looks a bit better. Let's click "Next" and go through the initial setup. Click "Next" again, and there we have it. This is how you install your VNC server and login to your machine. Finally, to fix the quality of that system, I just right clicked here, went to Display Settings and I just picked the resolution to be the same as a resolution from the client machine that you're connecting from. In this case, I picked 1920 by 1080 and it looks like the quality has significantly improved. This concludes our video on configuring yum repositories and also installing VNC on your Rails server. Thank you.