Professional Documents
Culture Documents
Selinux is in enforcing if you want to make it disabled you can as per as your requirement. Firewall is
configured if you want to disabled you can
1) Configure Network
- IPv4 Address is 172.25.250.10
- Subnet Mask: 255.255.255.0
- Gateway:172.25.250.254
- Name server: 172.25.250.254
2) Configure Repository
- Needed packges are available on http://content.example.com/rhel8.0/x86_64/dvd/AppStream/ and
http://content.example.com/rhel8.0/x86_64/dvd/BaseOS/
3) Troubleshoot Selinux
- On servera investigate and fix the issue with the Apache HTTPD daemon, which is configured to
listen on port 85/TCP, but which fails to start. Adjust the firewall settings appropriately so that port
85/UCP is open for incoming connections.
4) User Management
- Add a group called Sample having gid 6060
- Add 3 Users named as SysAdmin, Admin, Admin2
- Sample should be supplymentary of all the users you just added except for Admin2
- The password of all 3 users should be set to Katherine
- Admin2 should not have access to interactive shell
- Verify the changes
5) Collabratively Directory
- Create a Directory named as /mysql/database
- Sample should be groupowner of /mysql/database
- The directory created inside /mysql/database should automatically get groupownership of Sample
- The user should have read,write and execute permission on it, Group should have Read,write and
execute permissions, others should not have any permissions.
7) cron job
Configure a cron-job for SysAdmin that runs
" At 03:16 PM, Tuesday and Friday and performs /usr/bin/echo "my-exam" >> /tmp/rhcsa-exam"
- Verify by checking logs
8) NTP Client
- The NTP server is "classroom.example.com"
- Verify the same
16) Create a script compare.sh to find the largest number out of three numbers, on execution it should
ask to enter numbers
2) Configure Network
- IPv4 Address is 172.25.250.11
- Subnet Mask: 255.255.255.0
- Gateway:172.25.250.254
- Name server: 172.25.250.254
- The host name should be node2.lab.example.com
3) Configure Repository
- Needed packges are available on http://content.example.com/rhel8.0/x86_64/dvd/AppStream/ and
http://content.example.com/rhel8.0/x86_64/dvd/BaseOS/
5) Configure VDO
- Create VDO volume with name vd01.
- Physical size of VDO device must be 5 GiB
- Set the logical size 10 times the size of Physical Block device (Assuming container storage)
- Mount VDO on /mnt/vdo And filesystem must be xfs
7) Create a LVM
- Assign volume group name server_volumne
- The size of one PE is 32M
- Create one logical volume of 20PE with name logical_volume
- FStype is xfs and mount it under /mnt/lvm, it should persist accross reboot.
9) Container
- Perform from Web user
- pull a httpd image from registry.redhat.io
- Use your rhel id and password for login
-perform port forwarding
-perform persistent mounting
- container must be managed using systemctl comamnds