Configure rsyslog service on serverb to log all messages it receives that have the priority level of
debug or higher to the file /var/log/grading-debug Correct Ans-1.sudo vim
/etc/rysylog.d/grading-debug.conf
2. enter in *.debug /var/grading-debug
3. save the file and sudo systemctl restart rsyslog.service
Install the zsh package on serverb Correct Ans-sudo yum install zsh
Enable the default module stream for module pythons and install all packages from that stream
on serverb Correct Ans-sudo yum module install python36
set the timezone of serverb to Asia/Kolkata Correct Ans-sudo timedatectl set-timezone
Asia/Kolkata
Determine the Ethernet interface name and the connection profile name it uses Correct Ans-
nmcli dev status
Create a new connection profile named static for the available Ethernet interface and assign it
an IPv4 Address, Netmask, Gateway, and DNS Server Correct Ans-1. sudo nmvli connection
add con-name static type ethernet ifname enX ipv4.addresses '172.25.250./24' ipv4.gateway
'172.25.250.254' ipv4.dns '172.25.250.254' ipv4.method manual
, 2. sudo nmcli connection up static
set the host name to server-review4.lab4.example.com Correct Ans-sudo hostnamectl set-
hostname server-review4.lab4.example.com
Set client-review4 as the canonical host name for IPv4 Address 172.25.250.10 Correct Ans-1.
vim /etc/hosts
2. add client-review4 as the name for 172.25.250.10 in the file
Modify the connection static to configure another IPv4 Address 172.25.250.211 with the
netmask 255.255.255.0 on the same interface. Do not remove the existing IPv4
Addresses Correct Ans-sudo nmcli connection modify static +ipv4.addresses
'172.25.250.211/24'
On serverb mount the idle block device containing the XFS file system on the /review5-disk
directory Correct Ans-1. lsblk -fs (determines vdb1 is fs)
2. sudo mkdir /review5-disk
3. sudo mount /dev/vdb1 /review5-disk
Find the file called review5-path and redirect all errors of the find command to
/dev/null Correct Ans-find / -iname review5-path 2>/dev/null