Part 1 (on Node1 Server)
Task 15 [Running Containers]
Create a container named logserver with the image rhel8/rsyslog found from the registry registry.domain15.example.com:5000
The container should run as the root less user shangrila. use redhat as password [sudo user]
Configure the container with systemd services as the shangrila user using the service name, “container-logserver” so that it can be persistent across reboot.
Use admin as the username and admin123 as the credentials for the image registry.
Create a 2G swap partition which take effect automatically at boot-start, and it should not affect the original swap partition.
Search files.
Find out files owned by jack, and copy them to directory /root/findresults
Download the document from ftp://instructor.example.com/pub/testfile, find all lines containing [abcde] and redirect to /MNT/answer document, then rearrange the order according the original content.
Create a user alex with a userid of 3400. The password for this user should be redhat.
Successfully resolve to server1.example.com where your DNS server is 172.24.254.254.
Part 2 (on Node2 Server)
Task 2 [Installing and Updating Software Packages]
Configure your system to use this location as a default repository:
http://utility.domain15.example.com/BaseOS
http://utility.domain15.example.com/AppStream
Also configure your GPG key to use this location
http://utility.domain15.example.com/RPM-GPG-KEY-redhat-release
Resize the logical volume vo and its filesystem to 290 MB. Make sure that the filesystem contents remain intact.
Note: Partitions are seldom exactly the same size requested, so a size within the range of 260 MB to 320 MiB is acceptable.
Create the following users, groups, and group memberships:
A group named adminuser.
A user natasha who belongs to adminuser as a secondary group A user harry who also belongs to adminuser as a secondary group.
A user sarah who does not have access to an interactive shell on the system, and who is not a member of adminuser, natasha, harry, and sarah should all have the password of redhat.
/data Directory is shared from the server1.example.com server. Mount the shared directory that:
a. when user try to access, automatically should mount
b. when user doesn't use mounted directory should unmount automatically after 50 seconds.
c. shared directory should mount on /mnt/data on your machine.
Add users: user2, user3.
The Additional group of the two users: user2, user3 is the admin group Password: redhat
Part 2 (on Node2 Server)
Task 3 [Managing Logical Volumes]
Create a new volume group in the name of datavg and physical volume extent is 16 MB
Create a new logical volume in the name of datalv with the size of 250 extents and file system must xfs
Then the logical volume should be mounted automatically mounted under /data at system boot time
Copy /etc/fstab document to /var/TMP directory. According the following requirements to configure the permission of this document.