How to synchronize time with ntp Server in linux:
https://msslinux.blogspot.com/2019/03/sync-with-ntp-server-linux.html
ntpdate ntp-server // ntp-server -name or IP of NTP Server
AS example:
The most common method to sync system time over a network in Linux desktops or servers is by executing the ntpdate command which can set your system time from an NTP time server. In this case, the ntpd daemon must be stopped on the machine where the ntpdate command is issued.
Note:
In most Linux systems, by default the ntpdate command is not installed . To install it, execute the following commands.
https://msslinux.blogspot.com/2019/03/sync-with-ntp-server-linux.html
ntpdate ntp-server // ntp-server -name or IP of NTP Server
AS example:
sudo ntpdate 1.ro.pool.ntp.org
The Network Time Protocol (NTP) is a protocol used to synchronize computer system clock automatically over a networks. The machine can have the system clock use Coordinated Universal Time (UTC) rather than local time.You can check the NTP server status by following command:sudo ntpdate -qu 1.ro.pool.ntp.org
The most common method to sync system time over a network in Linux desktops or servers is by executing the ntpdate command which can set your system time from an NTP time server. In this case, the ntpd daemon must be stopped on the machine where the ntpdate command is issued.
Note:
In most Linux systems, by default the ntpdate command is not installed . To install it, execute the following commands.
$ sudo apt-get install ntpdate [On Debian/Ubuntu] $ sudo yum install ntpdate [On CentOS/RHEL] $ sudo dnf install ntpdate [On Fedora 22+]