How to Install NTP Time Servers on AlmaLinux 9 VPS


This article provides a guide for how to install NTP time servers on AlmaLinux 9 VPS servers.

How to Install NTP Time Servers on AlmaLinux 9 VPS

Pre-requisites:

To install NTP time servers on AlmaLinux 9 VPS, the following conditions must be met:

What are NTP Time Servers?

NTP stands for Network Time Protocol and is used for clock synchronization across multiple computers.

Steps to Install NTP Time Servers on AlmaLinux VPS

To install NTP time servers on AlmaLinux 9 VPS, you can use chrony, which is the default NTP client and server on AlmaLinux.

Here are the steps to follow:

  1. Login using SSH terminal to your AlmaLinux VPS:
  2. Install chrony with the command:
    sudo dnf install chrony
  3. Enable chrony to start automatically at boot with the command:
    sudo systemctl enable --now chronyd
  4. Configure chrony as an NTP server by editing the file /etc/chrony.conf and adding the line allow <network> for each network that you want to serve. For example, allow 192.168.1.0/24 will allow the 192.168.1.0/24 network to sync with your NTP server.
  5. Restart chrony with the command:
    sudo systemctl restart chronyd
  6. If you have firewalld enabled, you need to allow the port 123 for NTP with the command:
    sudo firewall-cmd --permanent --add-service=ntp && sudo firewall-cmd --reload

The NTP time servers are now successfully installed on your AlmaLinux 9 VPS.

  • almalinux 9, chrony, ntp, ntp server, time server, server clock, clock
  • 2 Utenti hanno trovato utile questa risposta
Hai trovato utile questa risposta?

Related Articles

What Server Virtualization Are Your Hypervisors?

All VPS hypervisors use KVM virtualization technology. Order here: KVM VPS servers

Video: How to Check Whether the VPS Status is Online or Offline in Virtualizor

This video tutorial provides Step-by-Step instructions for how to check whether the VPS status is...

Video: How to Check VPS RAM, IP, Disk Capacity and the Virtualization Details in Virtualizor

This video tutorial provides Step-by-Step instructions for how to check VPS RAM, IP, disk...

Video: How to Change the Password of Your Virtualizor Account

This video tutorial provides Step-by-Step instructions for how to change the password of your...

Video: How to Access Your VPS via VNC in Virtualizor

This video tutorial provides Step-by-Step instructions for how to access your VPS via VNC in...