linux system time to get started quickly

timedatectl ---> management system time
set-time ---> set the current time

linux system time to get started quickly
status ---> displays the current time information
linux system time to get started quickly
set-timezone ---> set to the current time zone

linux system time to get started quickly

set-local-rtc 0 | 1 ---> Sets whether to use utc time
linux system time to get started quickly

list-timezone ---> View supports all time zones
linux system time to get started quickly

.


chronyd ---> Time Synchronization Service

Server:
Vim /etc/chrony.conf
22 is the allow 172.25.254.0/24 ---> allowing those native client to synchronize time
29 local stratum 10 ---> when the unit is not synchronized into any host, native as a time source
linux system time to get started quickly

linux system time to get started quickly

linux system time to get started quickly

Restart Time Synchronization Service
linux system time to get started quickly

Client:
vim /etc/chrony.conf
Server iBurst ## 172.25.254.200 172.25.254.131 host this machine immediately synchronized time
linux system time to get started quicklylinux system time to get started quickly
chronyc sources -v synchronization time
linux system time to get started quickly
^ * foundation200.ilt.example indicate success set the synchronization time

Guess you like

Origin blog.51cto.com/14190777/2422598