
Backup Current Repository Configuration:
First, make a backup of your current repository configuration files.
cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
Edit the Repository Configuration:
Open the CentOS-Base.repo file in a text editor. (vi or nano)
nano /etc/yum.repos.d/CentOS-Base.repo
Update the Base Repository URLs:
Replace the existing base repository URLs with the URLs pointing to the CentOS Vault. The updated configuration should look something like this:
[base]
name=CentOS-$releasever - Base
baseurl=http://vault.centos.org/7.9.2009/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[updates]
name=CentOS-$releasever - Updates
baseurl=http://vault.centos.org/7.9.2009/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
[extras]
name=CentOS-$releasever - Extras
baseurl=http://vault.centos.org/7.9.2009/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Save the Changes:
Save the changes and exit the text editor (Ctrl+X, Y, Enter for nano).
Clean YUM Cache:
Clean the YUM cache to ensure it uses the updated repository configuration.
yum clean all
yum makecache
Update the System:
Now you can update your system using the Vault repositories.
yum update
This should allow you to continue using yum with the archived CentOS 7 repositories.
No one can afford to ignore Linux. The acceptance of Linux as a robust and dependable Operating System is growing day by day. Big Corporations, Small Business Houses, Govt. Departments, Colleges and Universities are moving to Linux as their choice platform.
This Course Covers basics of Linux Networking. The focus is to make your Linux networking concept very strong. The course will start with how to setup Linux networking Lab consisting of 3 system. How to assign static IP addresses to systems and test connectivity between system. how to properly configure hosts file when no DNS is available. Then one Windows system will be added to understand cross platform network.
How to access Linux systems from Linux/Windows. How to use telnet, ssh and putty. What is passwordless authentication. How to configure and use passwordless authentication. What is Two Factor Authentication (2FA). How to implement and use 2FA.
How to configure and use DHCP server.
How to configure and use NFS server.
How to configure and use VSFTPD server.
How to configure and use Samba Server
How to configure Linux system as a Router.
The topics are
How to enable communication between different Linux systems.
How to do remote management using telnet, ssh and putty.
How to configure and use Passwordless Authentication.
How to configure and use Two Factor Authentication (2FA).
How to enable communication between Linux and Windows systems.
How to configure and use DHCP (Dynamic Host Configuration Protocol) Server.
How to configure and use NFS (Network File System) Server.
How to configure and use VSFTPD (Very Secure File Transfer Protocol Daemon) Server.
How to configure and use Samba Server.
How to configure Linux system as a Router. How to test router functionality.