TIPS & TRICKS
To search the contents of the man pages
# man -k searchterm |
Repository task examples
Create a repository 1
| Add new repositories :
| - http://classroom.example.com/rhel8.0/x86_64/dvd/AppStream
| - http://classroom.example.com/rhel8.0/x86_64/dvd/BaseOS
Do it in console (not remote), if there is no ip or hostname assigned to take remote connectivity.
You can do that:
# dnf config-manager --add-repo http://classroom.example.com/rhel8.0/x86_64/dvd/AppStream |
And have this files created (If that doesn’t work, you can write it manualy like below).
Note: You might encounter gpgcheck check failures when you add a new repo, so skip gpg checks in that case append to the new repo file the following.
gpgcheck=0 |
# cat /etc/yum.repos.d/AppStream.repo |
# cat /etc/yum.repos.d/BaseOS.repo |
Lists the repositories:
# yum list |
If needed:
# dnf config-manager --enable rht-updates |
Create a repository 2
| Install a FTP server, and request to anonymous download from /var/ftp/pub catalog.
| (it needs you to configure yum direct to the already existing file server.)
# vim /etc/yum.repos.d/local.repo |
# yum makecache |
Documentations
Internet
Git
ChatGPT