Professional Documents
Culture Documents
Rhcsa Lab Test
Rhcsa Lab Test
Rhcsa Lab Test
Important Notes
• Collect the answers before Friday, May 20th 2022 at 13.00 WIB
• The answer is a screenshot that displays the results of the configuration that has been
done, either in the command or contents of the configuration file
• Each screenshot must display the date and time (WIB)
• File format using .docx or .pdf
• File naming format:
Name - Agency
Example:
Feryansa - PT Inovasi Informatika Indonesia.docx
Feryansa - PT Inovasi Informatika Indonesia.pdf
• Submit to the provided Google Form (https://bit.ly/39ggcdY)
Training and Certification
Configure NTP
In servera, configure the system so that it is an NTP client of utility.lab.test.com.
Locate Files
In servera, locate all the files owned by student and place a copy of them in the
/home/project/findfiles directory.
Find a String
In servera, find all lines in the file /etc/ssh/sshd_config that contain the string ssh.
Put a copy of all these lines in the original order in the file /home/project/sshlines.
/home/project/sshlines should contain no empty lines and all lines must be exact copies
of the original lines in /etc/ssh/sshd_config.
Training and Certification
Debug SELinux
Change the SELinux context type in the /home/project and everything in this directory to
httpd_sys_content_t persistently. (Must be done Create a Collaborative Directory,
Configure a User Account, Locate Files, and Find a String first)
Create an Archive
In servera, create a tar archive named /root/archive.bz2 which contains the content of
/home/project. The tar archive must be compressed using bzip2. (Must be done Create a
Collaborative Directory, Configure a User Account, Locate Files, Find a String, and
Debug SELinux first)
Configure Autofs
Run lab netstorage-review start at the workstation and configure an automounter
indirect map on servera using shares from serverb. Create an indirect map using files
named /etc/auto.master.d/shares.autofs for the master map and
/etc/auto.shares for the mapping file. Use the /remote directory as the main mount
point on servera. Reboot servera to determine if the autofs service starts automatically.
Training and Certification
Running Containers
Run lab lab containers-review start at the workstation. And on serverb, as
the podsvc user, create a detached MariaDB container named inventorydb. To query
registry.lab.example.com, use the admin account with redhat321 for the password.
Use the rhel8/mariadb-103 image from registry.lab.example.com, specifying the
tag with the lowest version number on that image. Map port 3306 in the container to port
13306 on the host. Mount the /home/podsvc/db_data directory on the host
as /var/lib/mysql/data in the container. Declare the following variable values:
Variable Value
MYSQL_USER operator1
MYSQL_PASSWORD redhat
MYSQL_DATABASE inventory
MYSQL_ROOT_PASSWORD redhat
Also configure systemd so that the inventorydb container starts automatically with the
server.
Note: All the configuration must be done first before running this task, because this task will
make the system disconnected from all system.