RHEL Installation & Firewall Flashcards
What is the program for installing RHEL?
anaconda
How do you generate the kickstart file
1) Use the form at access.redhat.com/labs/kickstartconfig
2) Install a RHEL and collect the anaconda-ks.cfg file in root home
How do you validate an anaconda file
ksvalidator filename.cfg
Install ksvalidator
dnf install pykickstart
How do you install virtualization on RHEL?
dnf group install “Virtualization Host”
How do you install cockit?
dnf install -y cockpit-machines
systemctl enable --now cockpit
What is the firewall solution on rhel 9?
firewalld
Determine default firewalld zone
firewall-cmd --get-default-zone
Display config of the current active zone
firewalld-cmd --list-all
Add http service to current zone
firewall-cmd –add-service http
Where are the standard stock zone files stored?
/usr/lib/firewalld/zones
Add http service to current zone permanently
firewall-cmd –add-service http –permanent
Write all the rules that are in memory to permanent
firewall-cmd --runtime-to-permanent
Display config of the firewall zone called block
firewall-cmd --list-all --zone block
Add a source to a zone
firewall-cmd --add-source 172.160.10.30 --zone block --permanent