How to deploy, configure, and maintain systems in linux

Here are the 50 practical scenarios on how to deploy, configure, and maintain systems in linux that can help you prepare for the RHSA (Red Hat Certified System Administrator) exam:

System Installation and Deployment:

1. Install a minimal Red Hat Enterprise Linux system.

2. Deploy a system with a specific keyboard layout and language.

3. Perform a network installation of RHEL.

4. Set up a system with a custom partition layout.

5. Configure a system to use a specific time server.

6. Install the system with specific package groups (e.g., Server with GUI, Minimal Install).

User and Group Management:

7. Create a new user account with a home directory.

8. Set password policies for user accounts.

9. Modify user account properties, such as shell and group membership.

10. Create a group and add users to it.

11. Implement password aging for user accounts.

12. Lock and unlock user accounts.

Authentication and Authorization:

13. Configure SSH to allow key-based authentication.

14. Set up user-based access control using sudo.

15. Implement access control based on user or group with PAM.

16. Configure a system to use LDAP for user authentication.

System Boot Configuration:

17. Change the default target (runlevel) of the system.

18. Set up automatic login for a specific user.

19. Configure a custom systemd service to start at boot.

20. Enable or disable a service from starting at boot.

21. Change the system’s hostname.

Package Management:

22. Install, update, and remove packages using “yum” or “dnf.”

23. Search for packages containing specific files.

24. List installed packages.

25. Create and manage a local repository.

26. Resolve package dependencies.

Software Updates and Patch Management:

27. Configure the system to check for updates automatically.

28. Install security updates only.

29. Exclude specific packages from being updated.

30. Roll back a package to a previous version.

31. Create a yum/dnf repository configuration file.

Network Configuration:

32. Configure a static IP address and DNS settings.

33. Set up a system as a DHCP client.

34. Create and configure network bridges.

35. Add and remove network routes.

36. Check and configure network interfaces using “nmcli” or “ifconfig.”

Firewall and Security:

37. Create a custom firewall rule using “firewalld.”

38. Allow incoming traffic on a specific port.

39. Deny incoming traffic from specific IP addresses.

40. Set up SELinux to enforce policies.

41. Check and modify SELinux file contexts.

42. Enable and configure auditd for system auditing.

Filesystem Management:

43. Create and mount a new filesystem.

44. Extend an existing filesystem.

45. Resize an LVM logical volume and filesystem.

46. Implement disk quotas on a filesystem.

47. Encrypt a filesystem using LUKS.

48. Set up and configure NFS shares.

49. Configure automounting of remote NFS shares.

50. Mount an iSCSI target on the system.

Note :

These scenarios cover a broad range of topics related to deploying, configuring, and maintaining Linux systems, which are essential skills for the RHSA exam and real-world system administration tasks. Practice these tasks on a Red Hat Enterprise Linux system to become proficient in managing and maintaining Linux servers.