So the second challenge https://learn.kodekloud.com/user/courses/linux-challenges/module/b1104b85-a11a-47b3-a012-8b6a0ea815a8/lesson/a12d6774-3acc-4d78-9744-a7181c0eb361 is having an issue to request intenet in general. I went to /etc/resolv.conf and add the nameservers 8.8.8.8 8.8.4.4 and 1.1.1.1 separted each one by a new line in the file, and the container is unable to get internet properly. When I do sudo dnf update it only updates the first repo, but for the extra repo, the container just stay in waiting and waiting for a respond. I mostly sure this lab is buggy. Please if that’s the case fix it so I can train for my sys admin certification
It’s working. I just re-checked the solution I created for this almost 3 years ago, and it’s still working
However, dnf
is sloooow in this lab, even when the resolv.conf
is correct. You just have to wait…
[root@centos-host ~]# date ; yum install -y nginx firewalld ; date
Mon Sep 29 20:09:28 UTC 2025
CentOS Stream 9 - BaseOS 21 MB/s | 8.8 MB 00:00
CentOS Stream 9 - AppStream 833 kB/s | 25 MB 00:30
CentOS Stream 9 - Extras packages 68 kB/s | 20 kB 00:00
Extra Packages for Enterprise Linux 9 - x86_64 1.9 MB/s | 20 MB 00:10
Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - x86_64 240 B/s | 2.5 kB 00:10
Extra Packages for Enterprise Linux 9 - Next - x86_64 9.4 kB/s | 289 kB 00:30
Dependencies resolved.
==== CUT FOR BREVITY ====
Complete!
Mon Sep 29 20:11:46 UTC 2025
[root@centos-host ~]#
2m18s to install the 2 packages
1 Like
Thanks for the info @Alistair_KodeKloud . So it usually does take that 2 minutes to do the db package update and package installation ?