/images/avatar.png

Rocky9 Base Setup

Install base packages and enable epel release sudo dnf -y install epel-release sudo dnf -y update sudo dnf -y install nfs-utils rsync Enable docker ce not podman sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo sudo dnf -y update sudo dnf install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin sudo systemctl enable --now docker

Rocky9 Auto Update

To do auto updates on Rocky9 you need to configure dnf-automatic. First install the package. sudo dnf install -y dnf-automatic Now edit the config file. sudo vi /etc/dnf/automatic.conf Set the options like the following to reboot the os as needed and apply the updates. upgrade_type = default apply_updates = yes reboot = when-needed Now turn on automatic updates via a timer in systemd sudo systemctl enable --now dnf-automatic.timer

Rocky9 CheckMK

In order to setup checkmk add sudo dnf install -y check-mk-agent-2.2.0p25-1.noarch.rpm Allow the communication to port 6556 via the firewall sudo firewall-cmd --zone=public --add-port=6556/tcp --permanent sudo firewall-cmd --reload