streda 2. februára 2022

rhcsa notes: 1-6

 rhcsa notes: 





1. change root password via grub


2. set repository


dnf config-manager --add-repo nazov_repo


3.ntp configure: (chronyd)


timedatectl set-timezone "Europe/Bratislava"


timedatectl set-ntp yes


dnf install chronyd


systemctl status chronyd 


vi /etc/chrony.conf


timedatectl


4. add secondary IP addresses


ipv4 : 10.0.0.5/24

ipv6: fd01::100/64


nmcli connection show 


nmcli connection modify System\ eth1 +ipv4.address 10.0.0.5/24


nmcli connection reload 


ifconfig



nmcli connection modify System\ eth1 +ipv6.method manual ipv6.addresses fd01::100/64



nmcli connection show System\ eth





5. enable packet forwarding on system 1


/etc/sysctl.conf


net.ipv4.ip_forward=1


sysctl -p


cat /proc/sys/net/ipv4/ip_forward



6. system should boot into the multiuser target and boot messages shoudl be present


a) systemctl set-default multi-user.target


b) vi /etc/default/grub


--> delete rhgb quiet 


---> 

grub2-mkconfig -o /boot/grub2/grub.cfg

Žiadne komentáre:

Zverejnenie komentára