
Set up a master system for linux networking by configuring hostname, assigning a static 172.24.0.1 address, installing essential services (httpd, ftp, telnet-server, nfs), and adjusting SELinux and firewall settings.
Prepare c10 system by setting its hostname, verifying with hostname and dnsdomainname, and verifying SELinux and firewall are disabled; then install nfs-utils and tools and set a static ip.
Configure the c20 system by changing its hostname to c20.example.com, installing nfs-utils and packages with yum, and setting a static IP 172.24.0.20. Then verify connectivity by pinging 172.24.0.1 and 172.24.0.10.
Configure a Windows 10 host in the Linux lab by setting static IP 172.24.0.30 with subnet 255.255.0.0, joining a workgroup, and enabling telnet client.
Enable the telnet server, connect to the master system, and log in as different users to study remote management with telnet, noting clear text passwords and SSH as the alternative.
Disable password authentication by editing /etc/ssh/sshd_config, restarting sshd, and enforcing public/private key authentication, while understanding the effect if keys are missing and fallbacks to password authentication.
Explore how a dhcp server allocates dynamic ip addresses with lease times and distributes gateway and dns settings. Learn to install, configure, and test dhcp clients in a lab.
Configure a dhcp server by editing /etc/dhcp/dhcpd.conf, define range, subnet mask, gateway, dns servers, and domain, then start the server.
Stop dhcpd, disable it permanently, assign static addresses to all systems, and restart the network to restore the lab to its original state.
Learn to implement an NFS server on a master system, share /project with c10 and c20 via /etc/exports, enable rw access, and start the NFS server with systemctl.
Explore the NFS server export file syntax, defining shared directories, access rules, and options like rw, ro, async, sync, wdelay, hide, and root_squash, with client examples on c10 and c20.
Create 20, 50, and 100 MB files in /var/ftp/pub using dd with /dev/zero, then start and enable vsftpd, and test access from multiple clients.
Configure an ftp banner and per-directory message in an open source ftp service by editing the configuration, enabling dirmessage, restarting the service, and managing access limits.
Learn to limit download connections by configuring max_clients and max_per_ip, restart services, verify with ftp across systems, and remove restrictions when needed.
Configure ftp to use a custom anonymous directory by creating /soft and setting anon_root to /soft. Restart to apply; logs are in /var/log/xferlog and can be customized.
Practice stopping and disabling vsftpd, powering off systems, and configuring ftp server types—anonymous and local—with publish directories, upload capability, and access restrictions, including chroot jail.
Explore Samba server basics for cross-platform file sharing between Linux and Windows, configure smb.conf, align the workgroup, and install Samba packages for practical access.
Configure Samba by inspecting /etc/samba/smb.conf and backing it up to smb.conf.bak. Create a Windows share folder named test with read/write access and verify connectivity via ipconfig and ping.
Verify linux users nanu and aanya, add them as samba users, then create /project with restricted access for aanya and set up /public for guest access, configuring samba accordingly.
Configure samba by editing the global section to set workgroup, allow 127 and 172.24, share /project as writeable and browseable for aanya, then testparm and start smb and nmb.
Learn to access and mount Windows shared folders from a Linux system using smbclient and CIFS, including listing shares, authenticating with testuser, and permanently mounting via fstab.
Learn to access a Samba public folder from Windows, troubleshoot guest access blocked by security policies, enable insecure guest logons with gpedit, stop Samba services, and restore defaults.
Configure linux as a router by adding a bridged second network interface, assigning 172.24.0.1 and 192.168.0.1, enabling ip forwarding via sysctl, and verifying with ip a s.
Configure Windows and Linux lab systems with proper IP addresses, subnet masks, and gateways. Verify routing using ipconfig, ip addr, and ip route, and restart network services with ifcfg-ens33 edits.
Verify router functionality by pinging 172.24.0.10 from Windows 10. Trace the path with traceroute and tracepath, then switch Linux routing from 1 to 0 with sysctl -p.
Restore the linux networking lab to its original state by removing the ifcfg-ens38 file, dropping the extra adapter, setting ipv4_forward to 0, and resetting gateways.
Learn to install CentOS 7 on a VMware virtual machine, perform post installation settings, disable selinux and firewalld, disable NetworkManager, and review automatic partitioning.
Master Linux software package management with yum and rpm on CentOS 7, including check-update, install, update, remove, search, list, repolist and group operations like security tools.
Learn to manage Linux software with rpm commands, including querying all packages, counting installations, viewing package info, installing, updating, refreshing, erasing, and locating telnet-server, while comparing rpm options with yum.
Install Windows 10 in a VMware virtual machine, configure network settings and install required features, then complete regional, language, user, and security preferences.
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.