When you logged on to Rocky Linux 8.5, you may see this message.
Activate the web console with: systemctl enable --now cockpit.socket
This system is not registered to Red Hat Insights. See https://cloud.redhat.com/
To register this system, run: insights-client --register
If you wish to disable the message, you may want to
rm -f /etc/motd.d/cockpit
The command will remove the symlink to file /run/cockpit/motd
Prerequisites Step 1: Endure you are in the correct time zone
# timedatectl
Local time: Wed 2022-04-20 10:04:44 +08
Universal time: Wed 2022-04-20 02:04:44 UTC
RTC time: Wed 2022-04-20 02:04:44
Time zone: Asia/Singapore (+08, +0800)
System clock synchronized: no
NTP service: active
RTC in local TZ: no
In Rocky Linux 8.5, the ntp package is no longer supported and it is implemented by the chronyd (a daemon that runs in user-space) which is provided in the chrony package.
chrony works both as an NTP server and as an NTP client, which is used to synchronize the system clock with NTP servers.
To install the chrony suite, use the DNF Package Manager.
[root@h00 etc]# timedatectl
Local time: Wed 2022-04-20 10:19:56 +08
Universal time: Wed 2022-04-20 02:19:56 UTC
RTC time: Wed 2022-04-20 02:19:56
Time zone: Asia/Singapore (+08, +0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
Setting up NTP Client Using Chrony in Rocky Linux 8.5
# vim /etc/chrony.conf
.....
pool sg.pool.ntp.org iburst
.....
# systemctl restart chronyd
Show the current time sources that chronyd is accessing
Rocky Linux is a production-ready downstream version of Red Hat Enterprise Linux started by original founder of CentOS, Gregory Kurtzer. the OS is almost identical under intensive development by the community.
For RHEL-8.5,
NAME="Red Hat Enterprise Linux"
VERSION="8.5 (Green Obsidian)"
ID="rhel"
ID_LIKE=”fedora"
VERSION_ID=”8.5"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.5 (Green Obsidian)"
ANSI_COLOR="0;31"
CPE_NAME=”cpe:/o:redhat:enterprise_linux:8.5:GA”
HOME_URL=”https://www.redhat.com/”
DOCUMENTATION_URL=”https://access.redhat.com/documentation/red_hat_enterprise_linux/8/”
BUG_REPORT_URL=”https://bugzilla.redhat.com/”
The Rocky Enterprise Software Foundation (RESF) is announcing the general availability of Rocky Linux, release 8.4, designed as a drop-in replacement for the soon-to-be discontinued CentOS. The GA release is launching six-and-a-half months after Red Hat deprecated its support for the widely popular, free CentOS server operating system.