AlmaLinux
Restrict a Package to a Fixed Version
sudo yum install python3-dnf-plugin-versionlock
sudo yum versionlock gcc-*List all locks
sudo yum versionlock listClear locks
sudo yum versionlock clearRemove a lock
sudo yum versionlock delete gcc-*Enable NTP Sync
Install systemd-timesyncd
sudo dnf install systemd-timesyncd
sudo timedatectl set-ntp trueAdd your NTP server
/etc/systemd/timesyncd.conf
[Time]
NTP=time.cloudflare.comEnable and start the service
sudo systemctl enable systemd-timesyncd
sudo systemctl start systemd-timesyncdTo verify if the time sync is enabled
sudo timedatectl timesync-statusTo verify if the time is in sync
sudo timedatectlChange Hostname
Change hostname between restarts
sudo hostnamectl set-hostname [HOST]Change the hostname, before the restart
sudo hostnamectl --transient set-hostname [HOST]Change the hostname on the hosts file
sudo vim /etc/hosts
Rodrigo de Avila