Exam Name: | Red Hat Certified System Administrator - RHCSA (8.2) | ||
Exam Code: | EX200 Dumps | ||
Vendor: | RedHat | Certification: | RHCSA |
Questions: | 136 Q&A's | Shared By: | serena |
Part 1 (on Node1 Server)
Task 16 [Running Containers]
Configure your host journal to store all journal across reboot
Copy all journal files from /var/log/journal/ and put them in the /home/shangrila/container-logserver
Create and mount /home/shangrila/container-logserver as a persistent storage to the container as /var/log/ when container start
According the following requirements to create user, user group and the group members:
- A group named admin.
- A user named mary, and belong to admin as the secondary group.
- A user named alice, and belong to admin as the secondary group.
- A user named bobby, bobby’s login shell should be non-interactive. Bobby not belong to admin as the secondary group.
Mary, Alice, bobby users must be set "password" as the user's password.
Create a backup
Create a backup file named /root/backup.tar.bz2, contains the content of /usr/local, tar must use bzip2 to compress.